public class NoopSpellingStandardizer extends AbstractSpellingStandardizer implements SpellingStandardizer
alternateSpellingsWordClasses, defaultSpellingsByWordClassFileName, lexicon, logger, mappedSpellings, spellingsByWordClass, standardSpellingSet| Constructor and Description |
|---|
NoopSpellingStandardizer()
Create noop spelling standardizer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
loadAlternativeSpellings(java.io.Reader reader,
java.lang.String delimChars)
Loads alternative spellings from a reader.
|
java.lang.String[] |
standardizeSpelling(java.lang.String spelling)
Returns standard spellings given a spelling.
|
java.lang.String |
standardizeSpelling(java.lang.String spelling,
java.lang.String wordClass)
Returns a standard spelling given a standard or alternate spelling.
|
java.lang.String |
toString()
Return standardizer description.
|
addCachedSpelling, addMappedSpelling, addStandardSpelling, addStandardSpellings, fixCapitalization, getLexicon, getLogger, getMappedSpellings, getNumberOfAlternateSpellings, getNumberOfAlternateSpellingsByWordClass, getNumberOfStandardSpellings, getStandardSpellings, loadAlternativeSpellings, loadAlternativeSpellings, loadAlternativeSpellingsByWordClass, loadStandardSpellings, loadStandardSpellings, loadStandardSpellings, preprocessSpelling, setLexicon, setLogger, setMappedSpellings, setStandardSpellingscloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddMappedSpelling, addStandardSpelling, addStandardSpellings, fixCapitalization, getMappedSpellings, getNumberOfAlternateSpellings, getNumberOfAlternateSpellingsByWordClass, getNumberOfStandardSpellings, getStandardSpellings, loadAlternativeSpellings, loadAlternativeSpellings, loadAlternativeSpellingsByWordClass, loadStandardSpellings, loadStandardSpellings, loadStandardSpellings, preprocessSpelling, setMappedSpellings, setStandardSpellingspublic NoopSpellingStandardizer()
public void loadAlternativeSpellings(java.io.Reader reader,
java.lang.String delimChars)
throws java.io.IOException
loadAlternativeSpellings in interface SpellingStandardizerloadAlternativeSpellings in class AbstractSpellingStandardizerreader - The reader.delimChars - Delimiter characters separating spelling pairs.
Unused in this standardizer.
java.io.IOExceptionpublic java.lang.String[] standardizeSpelling(java.lang.String spelling)
standardizeSpelling in interface SpellingStandardizerstandardizeSpelling in class AbstractSpellingStandardizerspelling - The spelling.public java.lang.String standardizeSpelling(java.lang.String spelling,
java.lang.String wordClass)
standardizeSpelling in interface SpellingStandardizerstandardizeSpelling in class AbstractSpellingStandardizerspelling - The spelling.wordClass - The word class.public java.lang.String toString()
toString in class java.lang.Object