Package org.languagetool.rules.de
Class SpellingData
java.lang.Object
org.languagetool.rules.de.SpellingData
Old to new spelling data and similar formats loaded from CSV.
- Since:
- 4.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCoherencyMap(String filePath, boolean sentStartMode) com.hankcs.algorithm.AhoCorasickDoubleArrayTrie<String> com.hankcs.algorithm.AhoCorasickDoubleArrayTrie<String> getTrie()private static voidsanityChecks(String filePath, String line, String oldSpelling, String newSpelling, Map<String, String> coherencyMap)
-
Field Details
-
trie
-
sentenceStartTrie
-
-
Constructor Details
-
SpellingData
SpellingData(String filePath)
-
-
Method Details
-
getCoherencyMap
-
sanityChecks
-
getTrie
-
getSentenceStartTrie
-