Package org.languagetool.rules
Class CompoundRuleData
java.lang.Object
org.languagetool.rules.CompoundRuleData
Data about words that are compounds and should thus not be written
as separate words.
- Since:
- 3.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCompoundRuleData(String path) CompoundRuleData(String... paths) CompoundRuleData(LineExpander expander, String... paths) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidloadCompoundFile(String path) private Stringprivate voidvalidateLine(String path, String line)
-
Field Details
-
incorrectCompounds
-
joinedSuggestion
-
joinedLowerCaseSuggestion
-
dashSuggestion
-
expander
-
-
Constructor Details
-
CompoundRuleData
-
CompoundRuleData
-
CompoundRuleData
-
-
Method Details
-
getIncorrectCompounds
-
getJoinedSuggestion
-
getDashSuggestion
-
getJoinedLowerCaseSuggestion
-
loadCompoundFile
- Throws:
IOException
-
validateLine
-
removeLastCharacter
-