我正在加载一个包含近80,000个单词的文件。它将被用作主拼写检查字典。这些词的顺序已经被随机化了。还有另一个文件,我正在加载拼写错误的单词,我必须检查。它还提供拼写错误的单词的建议。 public void spellCheckDocument(ArrayList<String> dictionary){
long startCheck = System.currentTimeMil
现状: 对于not yet implemented feature to add a user dictionary of words to Languagetool一种变通方法,我想出了这个代码片段: JLanguageTool langTool = new JLanguageTool(lang);
langTool.activateDefaultPatternRules();
List<R