edu.stanford.nlp.tagger.maxent
Class ExtractorFramesRare
java.lang.Object
edu.stanford.nlp.tagger.maxent.ExtractorFramesRare
public class ExtractorFramesRare
- extends Object
Provides arrays of ExtractorFrames for rare words. This file
also defines all the rare word extractors as non-public classes.
This file is used simply as a resource to initialize extractors stored
in Extractors class instances.
- Author:
- Kristina Toutanova, Christopher Manning
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getExtractorFramesRare
public static Extractor[] getExtractorFramesRare(String identifier)
- Get an array of rare word feature Extractor identified by a name.
Note: Names used here must also be known in getExtractorFrames, so we
can appropriately add error messages. So if you add a keyword here,
add it there as one to be ignored, too. (In the next iteration, this
class and ExtractorFrames should probably just be combined).
- Parameters:
identifier
- Describes a set of extractors for rare word features
- Returns:
- A set of extractors for rare word features
ctbPreFeatures
public static Extractor[] ctbPreFeatures(int n)
ctbSufFeatures
public static Extractor[] ctbSufFeatures(int n)
asbcPreFeatures
public static Extractor[] asbcPreFeatures(int n)
asbcSufFeatures
public static Extractor[] asbcSufFeatures(int n)
asbcUnkFeatures
public static Extractor[] asbcUnkFeatures(int n)
ctbUnkDictFeatures
public static Extractor[] ctbUnkDictFeatures(int n)
Stanford NLP Group