edu.stanford.nlp.tagger.maxent
Class Extractors
java.lang.Object
edu.stanford.nlp.tagger.maxent.Extractors
- All Implemented Interfaces:
- java.io.Serializable
public class Extractors
- extends java.lang.Object
- implements java.io.Serializable
Maintains a set of feature extractors and applies them.
- Author:
- Kristina Toutanova
- See Also:
- Serialized Form
Method Summary |
int |
getSize()
|
static void |
main(java.lang.String[] args)
Prints out the pair of Extractors objects found in the
file that is the first and only argument. |
protected void |
setGlobalHolder(MaxentTagger tagger)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
main
public static void main(java.lang.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