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.
|
protected AbstractDelegatingOperation |
getInstance(Map params) |
protected String[] |
getKeys() |
Map |
getSuffixMap() |
void |
setSuffixMap(Map suffixMap) |
addDelegate, create, delegate, hasDelegatepublic static final String OPERATIONS
public DetachSuffixesOperation()
public DetachSuffixesOperation(Map suffixMap)
protected AbstractDelegatingOperation getInstance(Map params) throws JWNLException
getInstance in class AbstractDelegatingOperationJWNLExceptionprotected String[] getKeys()
getKeys in class AbstractDelegatingOperationpublic Map getSuffixMap()
public void setSuffixMap(Map suffixMap)
public boolean execute(POS pos, String derivation, BaseFormSet forms) throws JWNLException
Operationforms - BaseFormSet to which all discovered base forms should
be added.JWNLExceptionCopyright © 2019. All rights reserved.