Home
last modified time | relevance | path

Searched refs:GrammaticalFeature (Results 1 – 17 of 17) sorted by relevance

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DGrammarInfo.java67 public enum GrammaticalFeature { enum in GrammarInfo
80GrammaticalFeature(String shortName, String symbol, String defaultValue, Comparator<String> compar… in GrammaticalFeature() method in GrammarInfo.GrammaticalFeature
106 static final Map<String, GrammaticalFeature> shortNameToEnum =
107 ImmutableMap.copyOf(Arrays.asList(GrammaticalFeature.values())
111 public static GrammaticalFeature fromName(String name) { in fromName()
112 GrammaticalFeature result = shortNameToEnum.get(name); in fromName()
122 …private Map<GrammaticalTarget, Map<GrammaticalFeature, Map<GrammaticalScope,Set<String>>>> targetT…
127 …public void add(GrammaticalTarget target, GrammaticalFeature feature, GrammaticalScope usage, Stri… in add()
128 …Map<GrammaticalFeature, Map<GrammaticalScope,Set<String>>> featureToUsageToValues = targetToFeatur… in add()
151 …public void add(GrammaticalTarget target, GrammaticalFeature feature, GrammaticalScope usage, Coll… in add()
[all …]
DUnitPathType.java7 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
16 GrammarInfo.GrammaticalFeature.grammaticalNumber,
17 GrammarInfo.GrammaticalFeature.grammaticalCase),
44 GrammarInfo.GrammaticalFeature.grammaticalNumber,
45 GrammarInfo.GrammaticalFeature.grammaticalCase,
46 GrammarInfo.GrammaticalFeature.grammaticalGender),
59 public final Set<GrammaticalFeature> features;
63 …private UnitPathType(String sampleType, Set<GrammarInfo.GrammaticalFeature> features, ImmutableMul… in UnitPathType()
DGrammarDerivation.java7 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
37 private Map<GrammaticalFeature, Map<CompoundUnitStructure, Values>> data = new TreeMap<>();
40 GrammaticalFeature feature = GrammaticalFeature.fromName(featureStr); in add()
49 public Values get(GrammaticalFeature feature, CompoundUnitStructure structure) { in get()
DLogicalGrouping.java12 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
414 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in addPaths()
433 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in addPaths()
434 …on<String> rawGenders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in addPaths()
450 … final String defaultGender = GrammaticalFeature.grammaticalGender.getDefault(rawGenders); in setGrammarAttributes()
451 final String defaultCase = GrammaticalFeature.grammaticalCase.getDefault(rawCases); in setGrammarAttributes()
DCLDRFile.java39 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
102 …c final ImmutableSet<String> casesNominativeOnly = ImmutableSet.of(GrammaticalFeature.grammaticalC…
516 if (GrammaticalFeature.pathHasFeature(xpath) != null) { in getFallbackPath()
2908 …ction<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG…
2909 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC…
DUnitConverter.java27 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
1070 … Values per = gd.get(GrammaticalFeature.grammaticalGender, CompoundUnitStructure.per); in getGender()
1084 … Values times = gd.get(GrammaticalFeature.grammaticalGender, CompoundUnitStructure.times); in getGender()
DSupplementalDataInfo.java41 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
4666 …lesWithFeatures (GrammaticalTarget target, GrammaticalScope scope, GrammaticalFeature... features)…
4670 for (GrammaticalFeature feature : features) {
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DListGrammarInfo.java10 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
44 …ction<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in main()
45 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in main()
DListGrammarData.java22 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
148 …ction<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in main()
170 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in main()
DChartGrammaticalForms.java32 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
156 for (GrammaticalFeature feature : GrammaticalFeature.values()) { in getFormattedGrammarInfo()
209 …public void addRow(TablePrinter tablePrinter, String locale, String id, GrammaticalFeature feature… in addRow()
366 …ction<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in writeSubcharts()
371 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in writeSubcharts()
373 rawCases = ImmutableSet.of(GrammaticalFeature.grammaticalCase.getDefault(null)); in writeSubcharts()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestExampleGenerator.java26 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
982 …g> grammaticalValues2 = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in checkInflectedUnitExamples()
1053 …ing grammaticalValues : grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in checkMinimalPairExamples()
1056 …ing grammaticalValues : grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in checkMinimalPairExamples()
1092 …ion<String> unitCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in TestListMinimalPairExamples()
1093 …ring> generalCasesRaw = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in TestListMinimalPairExamples()
1100 …n<String> unitGenders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in TestListMinimalPairExamples()
1101 …tring> generalGenders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in TestListMinimalPairExamples()
DTestCLDRFile.java35 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
196 if (GrammaticalFeature.pathHasFeature(path) != null || path.endsWith("/gender")) { in testExtraPaths()
DTestUnits.java50 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
1927 …Collection<String> genderInfo = gi.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalGe… in TestGender()
2049 …: grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalCase, GrammaticalScope.… in TestFileFallbackNames()
2149 …Collection<String> rawCases = gi.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalCase… in TestDerivedCase()
2212 …on<String> genderInfo = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in TestGenderOfCompounds()
DTestSupplementalInfo.java38 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
1923 for (GrammaticalFeature feature : GrammaticalFeature.values()) { in TestGrammarInfo()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DCheckUnits.java11 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
38 …arInfo == null ? null : grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in setCldrFileToCheck()
DBestMinimalPairSamples.java14 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
137 …ion<String> unitCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in loadCaches()
DExampleGenerator.java34 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
837 …n<String> unitGenders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in getOtherGender()
847 …ion<String> unitCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in getOtherCase()
908 gCase = GrammaticalFeature.grammaticalCase.getDefault(null); in handleFormatUnit()
912 …unitCaseInfo = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalCase, Gram… in handleFormatUnit()