Example usage for Java edu.stanford.nlp.process CoreLabelTokenFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
CoreLabelTokenFactory(boolean addIndices) Constructor that allows one to choose if index annotation indicating begin/end position will be included in the label. | |
CoreLabelTokenFactory() Constructor for a new token factory which will add in the word, the "current" annotation, and the begin/end position annotations. |
CoreLabel | makeToken(String tokenText, int begin, int length) Constructs a CoreLabel as a String with a corresponding BEGIN and END position. |