public class MalletFeatureFactory<IN extends CoreLabel> extends FeatureFactory<IN>
cliqueC, cliqueCnC, cliqueCp2C, cliqueCp3C, cliqueCp4C, cliqueCp5C, cliqueCpC, cliqueCpCnC, cliqueCpCp2C, cliqueCpCp2Cp3C, cliqueCpCp2Cp3Cp4C, cliqueCpCp2Cp3Cp4Cp5C, flags, knownCliques
|Constructor and Description|
|Modifier and Type||Method and Description|
This method returns a
addAllInterningAndSuffixing, eachClique, getCliques, getCliques, getWord, init
public java.util.Collection<java.lang.String> getCliqueFeatures(PaddedList<IN> info, int position, Clique clique)
Collectionof the features calculated for the word at the specified position in info (the list of words) for the specified
Clique. It should return the actual String features, NOT wrapped in any other object, as the wrapping will be done automatically. Because it takes a
PaddedListyou don't need to worry about indices which are outside of the list.
FeatureFactory<IN extends CoreLabel>
info- A PaddedList of the feature-value pairs
position- The current position to extract features at
clique- The particular clique for which to extract features. It should be a member of the knownCliques list.
Collectionof the features calculated for the word at the specified position in info.
Stanford NLP Group