public class CoNLLMentionExtractor extends MentionExtractor
currentDocumentID, dictionaries, maxID, mentionFinder, semantics, singletonPredictor, stanfordProcessor, VERBOSE| Constructor and Description |
|---|
CoNLLMentionExtractor(Dictionaries dict,
Properties props,
Semantics semantics) |
CoNLLMentionExtractor(Dictionaries dict,
Properties props,
Semantics semantics,
LogisticClassifier<String,String> singletonModel) |
| Modifier and Type | Method and Description |
|---|---|
List<List<Mention>> |
extractGoldMentions(CoNLL2011DocumentReader.Document conllDoc) |
static List<List<Mention>> |
makeCopy(List<List<Mention>> mentions) |
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, setMentionFinderpublic CoNLLMentionExtractor(Dictionaries dict, Properties props, Semantics semantics) throws Exception
Exceptionpublic CoNLLMentionExtractor(Dictionaries dict, Properties props, Semantics semantics, LogisticClassifier<String,String> singletonModel) throws Exception
Exceptionpublic void resetDocs()
MentionExtractorresetDocs in class MentionExtractorpublic Document nextDoc() throws Exception
MentionExtractornextDoc in class MentionExtractorExceptionpublic List<List<Mention>> extractGoldMentions(CoNLL2011DocumentReader.Document conllDoc)