Searched refs:categoryId (Results 1 – 5 of 5) sorted by relevance
110 public String getFieldClassificationAlgorithmForCategory(@NonNull String categoryId) { in getFieldClassificationAlgorithmForCategory() argument111 Preconditions.checkNotNull(categoryId); in getFieldClassificationAlgorithmForCategory()112 if (mCategoryAlgorithms == null || !mCategoryAlgorithms.containsKey(categoryId)) { in getFieldClassificationAlgorithmForCategory()115 return mCategoryAlgorithms.get(categoryId); in getFieldClassificationAlgorithmForCategory()239 public Builder(@NonNull String id, @NonNull String value, @NonNull String categoryId) { in Builder() argument241 checkNotEmpty("categoryId", categoryId); in Builder()250 addMapping(value, categoryId); in Builder()296 public Builder setFieldClassificationAlgorithmForCategory(@NonNull String categoryId, in setFieldClassificationAlgorithmForCategory() argument299 Preconditions.checkNotNull(categoryId); in setFieldClassificationAlgorithmForCategory()306 mCategoryAlgorithms.put(categoryId, name); in setFieldClassificationAlgorithmForCategory()[all …]
105 public String getFieldClassificationAlgorithmForCategory(@NonNull String categoryId) { in getFieldClassificationAlgorithmForCategory() argument106 Preconditions.checkNotNull(categoryId); in getFieldClassificationAlgorithmForCategory()108 if (categoryAlgorithms == null || !categoryAlgorithms.containsKey(categoryId)) { in getFieldClassificationAlgorithmForCategory()111 return categoryAlgorithms.get(categoryId); in getFieldClassificationAlgorithmForCategory()
115 public Match(String categoryId, float score) { in Match() argument116 mCategoryId = Preconditions.checkNotNull(categoryId); in Match()
43 String getFieldClassificationAlgorithmForCategory(String categoryId); in getFieldClassificationAlgorithmForCategory() argument
1569 final String categoryId = categoryIds[j]; in logFieldClassificationScore()1575 final Float currentScore = scoresByField.get(categoryId); in logFieldClassificationScore()1587 scoresByField.put(categoryId, score); in logFieldClassificationScore()