public class MUCMentionExtractor extends MentionExtractor
currentDocumentID, dictionaries, maxID, mentionFinder, semantics, singletonPredictor, stanfordProcessor, VERBOSE
Constructor and Description |
---|
MUCMentionExtractor(Dictionaries dict,
Properties props,
Semantics semantics) |
MUCMentionExtractor(Dictionaries dict,
Properties props,
Semantics semantics,
LogisticClassifier<String,String> singletonModel) |
Modifier and Type | Method and Description |
---|---|
Document |
nextDoc()
Extracts the info relevant for coref from the next document in the corpus
|
void |
resetDocs()
Reset so that we start at the beginning of the document collection
|
arrange, arrange, arrange, findExactMatch, getHeadIndex, initializeUtterance, loadStanfordProcessor, mergeLabels, setMentionFinder
public MUCMentionExtractor(Dictionaries dict, Properties props, Semantics semantics) throws Exception
Exception
public MUCMentionExtractor(Dictionaries dict, Properties props, Semantics semantics, LogisticClassifier<String,String> singletonModel) throws Exception
Exception
public void resetDocs()
MentionExtractor
resetDocs
in class MentionExtractor
public Document nextDoc() throws Exception
MentionExtractor
nextDoc
in class MentionExtractor
Exception