Skip to main content

resolve_coreferences

Function resolve_coreferences 

Source
pub fn resolve_coreferences(
    source: &str,
    mentions: &[CorefMention],
) -> Result<Vec<CorefChain>, CorefError>
Expand description

Cold adapter: validate, allocate scratch, resolve, materialize chains.

Errors are never converted into an empty success. Empty mentions is a documented no-detection mode and returns zero chains.