public class FeatureExtractor
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FeatureExtractor.FeatureExtractorInterface |
static class |
FeatureExtractor.PositionFeaturePairs |
| Modifier and Type | Field and Description |
|---|---|
boolean |
dumpMode |
boolean |
isTrainingTime |
static java.util.logging.Logger |
log |
| Constructor and Description |
|---|
FeatureExtractor(Model model,
boolean isTrainingTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeFeatures(Sentence linguisticSentence,
ModelSentence modelSentence)
Does feature extraction on one sentence.
|
public boolean isTrainingTime
public boolean dumpMode
public static java.util.logging.Logger log
public FeatureExtractor(Model model, boolean isTrainingTime) throws java.io.IOException
java.io.IOExceptionpublic void computeFeatures(Sentence linguisticSentence, ModelSentence modelSentence)