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 |
ExtractorFramesRare
public ExtractorFramesRare()
getExtractorFramesRare
public static Extractor[] getExtractorFramesRare(String identifier,
TaggerConfig config)
- Get an array of Extractor identified by a name.
- Parameters:
identifier
- Describes a set of extractors for rare word features
- Returns:
- A set of extractors for rare word features
addSighanChineseFeatures
public static Extractor[] addSighanChineseFeatures(Extractor[] extIn,
boolean useChineseDict)
- Adds features for 2005 SIGHAN tagger.
addCTBPreFeatures
public static Extractor[] addCTBPreFeatures(Extractor[] extIn,
int n)
addCTBSufFeatures
public static Extractor[] addCTBSufFeatures(Extractor[] extIn,
int n)
addASBCPreFeatures
public static Extractor[] addASBCPreFeatures(Extractor[] extIn,
int n)
addASBCsufFeatures
public static Extractor[] addASBCsufFeatures(Extractor[] extIn,
int n)
addASBCUnkFeatures
public static Extractor[] addASBCUnkFeatures(Extractor[] extIn,
int n)
addCTBUnkDictFeatures
public static Extractor[] addCTBUnkDictFeatures(Extractor[] extIn,
int n)
Stanford NLP Group