net.sf.extjwnl.dictionary.morph
Class TokenizerOperation
java.lang.Object
net.sf.extjwnl.dictionary.morph.AbstractOperation
net.sf.extjwnl.dictionary.morph.AbstractDelegatingOperation
net.sf.extjwnl.dictionary.morph.TokenizerOperation
- All Implemented Interfaces:
- Operation, Owned
public class TokenizerOperation
- extends AbstractDelegatingOperation
Tokenizer operation.
- Author:
- Aliaksandr Autayeu , John Didion
Field Summary |
static String |
DELIMITERS
Parameter list that determines the delimiters this
operation will use to concatenate tokens. |
static String |
PHRASE_OPERATIONS
Parameter that determines the operations this operation
will perform on the phrases. |
static 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 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 String PHRASE_OPERATIONS
- Parameter that determines the operations this operation
will perform on the phrases.
- See Also:
- Constant Field Values
DELIMITERS
public static final String DELIMITERS
- Parameter list that determines the delimiters this
operation will use to concatenate tokens.
- See Also:
- Constant Field Values
TokenizerOperation
public TokenizerOperation(Dictionary dictionary,
Map<String,Param> params)
throws JWNLException
- Throws:
JWNLException
getKeys
protected String[] getKeys()
- Specified by:
getKeys
in class AbstractDelegatingOperation
execute
public boolean execute(POS pos,
String lemma,
BaseFormSet forms)
throws JWNLException
- Description copied from interface:
Operation
- Executes the operation.
- Parameters:
pos
- part of speechlemma
- lemmaforms
- 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
- JWNLException
Copyright © 2011. All Rights Reserved.