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:
- Operation, Createable
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. |
Method Summary |
boolean |
execute(POS pos,
java.lang.String lemma,
BaseFormSet forms)
Execute the operation. |
Methods inherited from class java.lang.Object |
equals, 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)
execute
public boolean execute(POS pos,
java.lang.String lemma,
BaseFormSet forms)
throws JWNLException
- Description copied from interface:
Operation
- Execute the operation.
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