net.sf.dict4j.entity
Class Strategy
java.lang.Object
net.sf.dict4j.entity.Strategy
public class Strategy
- extends java.lang.Object
Represents dict strategy
Field Summary |
static java.lang.String |
DEFAULT_STRATEGY
If the strategy is specified using a period (decimal code 46, "."), then the word will be matched
using a server-dependent default strategy, which should be the best strategy available for
interactive spell checking. |
Constructor Summary |
Strategy(java.lang.String name)
|
Strategy(java.lang.String name,
java.lang.String description)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DEFAULT_STRATEGY
public static final java.lang.String DEFAULT_STRATEGY
- If the strategy is specified using a period (decimal code 46, "."), then the word will be matched
using a server-dependent default strategy, which should be the best strategy available for
interactive spell checking. This is usually a derivative of the Levenshtein algorithm [PZ85].
- See Also:
- Constant Field Values
Strategy
public Strategy(java.lang.String name)
Strategy
public Strategy(java.lang.String name,
java.lang.String description)
getDescription
public java.lang.String getDescription()
getName
public java.lang.String getName()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object