public class DetachSuffixesOperation extends AbstractDelegatingOperation
where suffix is the {suffix} to convert from, and {stemmed suffix} is the suffix to convert to.
Modifier and Type | Field and Description |
---|---|
static String |
OPERATIONS |
Constructor and Description |
---|
DetachSuffixesOperation() |
DetachSuffixesOperation(Map suffixMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(POS pos,
String derivation,
BaseFormSet forms)
Execute the operation.
|
Map |
getSuffixMap() |
void |
setSuffixMap(Map suffixMap) |
addDelegate, create
public static final String OPERATIONS
public DetachSuffixesOperation()
public DetachSuffixesOperation(Map suffixMap)
public Map getSuffixMap()
public void setSuffixMap(Map suffixMap)
public boolean execute(POS pos, String derivation, BaseFormSet forms) throws JWNLException
Operation
forms
- BaseFormSet to which all discovered base forms should
be added.JWNLException