Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/util/
DGrammarInfo.java35 public enum GrammaticalFeature { enum in GrammarInfo
47 GrammaticalFeature(String shortName, String symbol, String defaultValue) { in GrammaticalFeature() method in GrammarInfo.GrammaticalFeature
65 static final Map<String, GrammaticalFeature> shortNameToEnum =
66 ImmutableMap.copyOf(Arrays.asList(GrammaticalFeature.values())
70 public static GrammaticalFeature fromName(String name) { in fromName()
71 GrammaticalFeature result = shortNameToEnum.get(name); in fromName()
78 …private Map<GrammaticalTarget, Map<GrammaticalFeature, Map<GrammaticalScope,Set<String>>>> targetT…
81 …public void add(GrammaticalTarget target, GrammaticalFeature feature, GrammaticalScope usage, Stri… in add()
82 …Map<GrammaticalFeature, Map<GrammaticalScope,Set<String>>> featureToUsageToValues = targetToFeatur… in add()
103 …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;
408 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in addPaths()
427 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in addPaths()
428 …on<String> rawGenders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in addPaths()
446 … final String defaultGender = GrammaticalFeature.grammaticalGender.getDefault(rawGenders); in setGrammarAttributes()
447 final String defaultCase = GrammaticalFeature.grammaticalCase.getDefault(rawCases); in setGrammarAttributes()
DUnitConverter.java24 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
979 … Values per = gd.get(GrammaticalFeature.grammaticalGender, CompoundUnitStructure.per); in getGender()
993 … Values times = gd.get(GrammaticalFeature.grammaticalGender, CompoundUnitStructure.times); in getGender()
DCLDRFile.java41 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
105 …c final ImmutableSet<String> casesNominativeOnly = ImmutableSet.of(GrammaticalFeature.grammaticalC…
680 if (GrammaticalFeature.pathHasFeature(xpath) != null) { in getFallbackPath()
3460 …ction<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG…
3461 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC…
/external/cldr/tools/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()
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartGrammaticalForms.java27 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
254 …ction<String> genders = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in writeSubcharts()
259 …tion<String> rawCases = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalC… in writeSubcharts()
261 rawCases = ImmutableSet.of(GrammaticalFeature.grammaticalCase.getDefault(null)); in writeSubcharts()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCLDRFile.java34 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
184 if (GrammaticalFeature.pathHasFeature(path) != null || path.endsWith("/gender")) { in testExtraPaths()
DTestUnits.java49 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
1827 …Collection<String> genderInfo = gi.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalGe… in TestGender()
1933 …: grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalCase, GrammaticalScope.… in TestFileFallbackNames()
2030 …Collection<String> rawCases = gi.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalCase… in TestDerivedCase()
2089 …on<String> genderInfo = grammarInfo.get(GrammaticalTarget.nominal, GrammaticalFeature.grammaticalG… in TestGenderOfCompounds()
DTestSupplementalInfo.java37 import org.unicode.cldr.util.GrammarInfo.GrammaticalFeature;
1927 for (GrammaticalFeature feature : GrammaticalFeature.values()) { in TestGrammarInfo()