public class ACEMentionExtractor extends MentionExtractor
<COREF> mentions from a file annotated in ACE format (ACE2004, ACE2005).| Modifier and Type | Field and Description |
|---|---|
protected int |
fileIndex |
protected String[] |
files |
currentDocumentID, dictionaries, maxID, mentionFinder, semantics, singletonPredictor, stanfordProcessor, VERBOSE| Constructor and Description |
|---|
ACEMentionExtractor(Dictionaries dict,
Properties props,
Semantics semantics) |
ACEMentionExtractor(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, setMentionFinderprotected int fileIndex
protected String[] files
public ACEMentionExtractor(Dictionaries dict, Properties props, Semantics semantics) throws Exception
Exceptionpublic ACEMentionExtractor(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 MentionExtractorException