Note that the constructors create a language checker that uses the built-in Java rules only. Other rules (e.g. from XML) need to be added explicitly or activated using {@link #activateDefaultPatternRules()}.
You will probably want to use the sub class {@link MultiThreadedJLanguageTool} for best performance.
Thread-safety: this class is not thread safe. Create one instance per thread, but create the language only once (e.g. {@code new English()}) and use it for all instances of JLanguageTool.
@see MultiThreadedJLanguageTool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|