Package org.languagetool.rules.ga
Class DativePluralsData
java.lang.Object
org.languagetool.rules.ga.DativePluralsData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildSimpleReplacements(Set<DativePluralsEntry> datives) getModernisations(Set<DativePluralsEntry> datives) Makes a map of modernisations (i.e., if there is a more modern dative plural).private static Set<DativePluralsEntry> Load words.
-
Field Details
-
datives
-
modernisations
-
simpleReplacements
-
-
Constructor Details
-
DativePluralsData
DativePluralsData()
-
-
Method Details
-
getModernisations
-
getSimpleReplacements
-
loadWords
Load words. -
buildSimpleReplacements
-
getModernisations
Makes a map of modernisations (i.e., if there is a more modern dative plural). This is only relevant to Munster Irish. Additionally generates mutated forms- Parameters:
datives- data, as loaded from dative-plurals.txt- Returns:
- a map of replacements
-