|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.tagger.maxent.ReadDataTagged
public class ReadDataTagged
Reads tagged data from a file and creates a dictionary. The tagged data has to be whitespace-separated items, with the word and tag split off by a delimiter character, which is found as the last instance of the delimiter character in the item.
Constructor Summary | |
---|---|
protected |
ReadDataTagged(TaggerConfig config,
MaxentTagger maxentTagger,
PairsHolder pairs)
|
Method Summary | |
---|---|
int |
getSize()
Returns the number of tokens in the data read, which is the number of words plus one end sentence token per sentence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ReadDataTagged(TaggerConfig config, MaxentTagger maxentTagger, PairsHolder pairs) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public int getSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |