See: Description
Class | Description |
---|---|
Analysis |
A result from morphological analysis.
|
ByteArray |
String mapping helper for internal use only.
|
Dictionary |
Represents a morphological dictionary.
|
GrammarError |
A grammar error is associated with a segment of text in a paragraph.
|
Sentence |
Represents a sentence in natural language text.
|
SizeT | |
SizeTByReference | |
Token |
Represents a token in tokenized natural language text.
|
Voikko |
Represents an instance of Voikko.
|
Enum | Description |
---|---|
SentenceStartType |
Sentence start types
|
SuggestionStrategy |
Strategies for generating suggestions for incorrectly spelled words.
|
TokenType |
Token types
|
Exception | Description |
---|---|
VoikkoException |
Exception thrown when a requested operation cannot be performed
for some reason.
|
import org.puimula.libvoikko.Voikko; public class VoikkoEsimerkki { public static void main(String[] args) { Voikko voikko = new Voikko("fi"); System.out.println("Onko kissa oikein? " + voikko.spell("kissa")); System.out.println("Onko kisssa oikein? " + voikko.spell("kisssa")); System.out.println(); System.out.println("Korjausehdotukset sanalle kisssa:"); for (String suggestion : voikko.suggest("kisssa")) { System.out.println(suggestion); } System.out.println(); } }
Copyright © 2016 Voikko developers. All rights reserved.