|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.dcoref.MentionExtractor
edu.stanford.nlp.dcoref.ACEMentionExtractor
public class ACEMentionExtractor
Extracts <COREF> mentions from a file annotated in ACE format (ACE2004, ACE2005).
| Field Summary | |
|---|---|
protected int |
fileIndex
|
protected java.lang.String[] |
files
|
| Fields inherited from class edu.stanford.nlp.dcoref.MentionExtractor |
|---|
currentDocumentID, dictionaries, headFinder, maxID, mentionFinder, semantics, stanfordProcessor, VERBOSE |
| Constructor Summary | |
|---|---|
ACEMentionExtractor(Dictionaries dict,
java.util.Properties props,
Semantics semantics)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class edu.stanford.nlp.dcoref.MentionExtractor |
|---|
arrange, arrange, arrange, findExactMatch, initializeUtterance, loadStanfordProcessor, mergeLabels, setMentionFinder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int fileIndex
protected java.lang.String[] files
| Constructor Detail |
|---|
public ACEMentionExtractor(Dictionaries dict,
java.util.Properties props,
Semantics semantics)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void resetDocs()
MentionExtractor
resetDocs in class MentionExtractor
public Document nextDoc()
throws java.lang.Exception
MentionExtractor
nextDoc in class MentionExtractorjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||