Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface GrammarChecker.Rule
One check over a text.
Methods
public abstract void check(String text, List<int[]> words, List<ProofIssue> out) | Adds the problems this rule finds in a text. |
Method details
check
public abstract void check(String text, List<int[]> words, List<ProofIssue> out)Adds the problems this rule finds in a text.
Parameters
textString- the text, typically a paragraph
wordsList<int[]>- its word ranges, from
SpellChecker.words outList<ProofIssue>- where issues go