You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List customWords = new ArrayList<>();
customWords.add("加油啊");
DictionaryFactory.getDictionary().clear();
DictionaryFactory.getDictionary().addAll(customWords);
List customWords = new ArrayList<>();
customWords.add("加油啊");
DictionaryFactory.getDictionary().clear();
DictionaryFactory.getDictionary().addAll(customWords);
addAll method can just be used once after clear method!
无法使用add方法,
throw new RuntimeException("not yet support, please use addAll method!");
The text was updated successfully, but these errors were encountered: