edu.stanford.nlp.process
Class FeatureLabelTokenFactory

java.lang.Object
  extended by edu.stanford.nlp.process.FeatureLabelTokenFactory
All Implemented Interfaces:
LexedTokenFactory

public class FeatureLabelTokenFactory
extends Object
implements LexedTokenFactory

Author:
Marie-Catherine de Marneffe

Constructor Summary
FeatureLabelTokenFactory()
           
 
Method Summary
 Object makeToken(String str, int begin, int length)
          Constructs a token (of arbitrary type) from a String and its position in the underlying text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureLabelTokenFactory

public FeatureLabelTokenFactory()
Method Detail

makeToken

public Object makeToken(String str,
                        int begin,
                        int length)
Description copied from interface: LexedTokenFactory
Constructs a token (of arbitrary type) from a String and its position in the underlying text.

Specified by:
makeToken in interface LexedTokenFactory
Parameters:
str - The String extracted by the lexer.
begin - The offset in the document of the first character in this string.
length - The number of characters the string takes up in the document.


Stanford NLP Group