public abstract class ArgumentStep extends AbstractStep
featureSet, learningProblems, models, NEGATIVE, POSITIVE| Constructor and Description |
|---|
ArgumentStep(FeatureSet fs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInstance(Predicate pred,
Word arg) |
Integer |
classifyInstance(Predicate pred,
Word arg) |
protected Collection<Integer> |
collectIndices(Predicate pred,
Word arg,
String POSPrefix,
Collection<Integer> indices) |
protected abstract Integer |
getLabel(Predicate pred,
Word arg) |
protected String |
getPOSPrefix(String pos) |
done, extractInstances, getModelFileName, parse, prepareLearning, readModels, train, writeModelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprepareLearningpublic ArgumentStep(FeatureSet fs)
protected Collection<Integer> collectIndices(Predicate pred, Word arg, String POSPrefix, Collection<Integer> indices)
Copyright © 2016. All rights reserved.