net.didion.jwnl.dictionary.morph
Class TokenizerOperation
java.lang.Object
net.didion.jwnl.dictionary.morph.AbstractDelegatingOperation
net.didion.jwnl.dictionary.morph.TokenizerOperation
- All Implemented Interfaces:
- Createable, Operation
- public class TokenizerOperation
- extends AbstractDelegatingOperation
|
Field Summary |
static java.lang.String |
DELIMITERS
Parameter list that determines the delimiters this
operation will use to concatanate tokens. |
static java.lang.String |
PHRASE_OPERATIONS
Parameter that determines the operations this operation
will perform on the phrases. |
static java.lang.String |
TOKEN_OPERATIONS
Parameter that determines the operations this operation
will perform on the tokens. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN_OPERATIONS
public static final java.lang.String TOKEN_OPERATIONS
- Parameter that determines the operations this operation
will perform on the tokens.
- See Also:
- Constant Field Values
PHRASE_OPERATIONS
public static final java.lang.String PHRASE_OPERATIONS
- Parameter that determines the operations this operation
will perform on the phrases.
- See Also:
- Constant Field Values
DELIMITERS
public static final java.lang.String DELIMITERS
- Parameter list that determines the delimiters this
operation will use to concatanate tokens.
- See Also:
- Constant Field Values
TokenizerOperation
public TokenizerOperation()
TokenizerOperation
public TokenizerOperation(java.lang.String[] delimiters)
getInstance
protected AbstractDelegatingOperation getInstance(java.util.Map params)
throws JWNLException
- Specified by:
getInstance in class AbstractDelegatingOperation
- Throws:
JWNLException
getKeys
protected java.lang.String[] getKeys()
- Specified by:
getKeys in class AbstractDelegatingOperation
execute
public boolean execute(POS pos,
java.lang.String lemma,
BaseFormSet forms)
throws JWNLException
- Description copied from interface:
Operation
- Execute the operation.
- Parameters:
pos - lemma - forms - BaseFormSet to which all discovered base forms should
be added.
- Returns:
- true if at least one base form was discovered by the operation and
added to baseForms.
- Throws:
JWNLException
JWNL homepage.