edu.stanford.nlp.tagger.maxent
Class Extractors
java.lang.Object
edu.stanford.nlp.tagger.maxent.Extractors
- All Implemented Interfaces:
- Serializable
public class Extractors
- extends Object
- implements Serializable
Maintains a set of feature extractors and applies them.
- Author:
- Kristina Toutanova
- See Also:
- Serialized Form
Extractors
public Extractors(Extractor[] extrs)
- Set the extractors from an array.
- Parameters:
extrs
- The array of extractors. It is copied in this init.
getSize
public int getSize()
setGlobalHolder
protected void setGlobalHolder(MaxentTagger tagger)
toString
public String toString()
- Overrides:
toString
in class Object
main
public static void main(String[] args)
- Prints out the pair of
Extractors
objects found in the
file that is the first and only argument.
- Parameters:
args
- Filename of extractors file (standardly written with
.ex extension)
Stanford NLP Group