public abstract class BooleanFeature
extends edu.umass.cs.mallet.base.pipe.Pipe
| Constructor and Description |
|---|
BooleanFeature(String featureName) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
matches(String word)
Returns if specified word is matched condition.
|
edu.umass.cs.mallet.base.types.Instance |
pipe(edu.umass.cs.mallet.base.types.Instance carrier) |
getDataAlphabet, getInstanceId, getParent, getParentRoot, getTargetAlphabet, isDataAlphabetSet, isTargetProcessing, pipe, readResolve, resolveDataAlphabet, resolveTargetAlphabet, setDataAlphabet, setParent, setTargetAlphabet, setTargetProcessingpublic BooleanFeature(String featureName)
public edu.umass.cs.mallet.base.types.Instance pipe(edu.umass.cs.mallet.base.types.Instance carrier)
pipe in class edu.umass.cs.mallet.base.pipe.Pipepublic abstract boolean matches(String word)
word - Copyright © 2016 New York University. All rights reserved.