Home | History | Annotate | Download | only in textclassifier

Lines Matching refs:hints

113     @interface Hints {}
404 private EntityConfig(boolean useHints, Collection<String> hints,
406 mHints = hints == null
408 : Collections.unmodifiableCollection(new ArraySet<>(hints));
419 * @param hints Hints for the TextClassifier to determine what types of entities to find.
421 public static EntityConfig createWithHints(@Nullable Collection<String> hints) {
422 return new EntityConfig(/* useHints */ true, hints,
428 public static EntityConfig create(@Nullable Collection<String> hints) {
429 return createWithHints(hints);
435 * @param hints Hints for the TextClassifier to determine what types of entities to find
442 public static EntityConfig create(@Nullable Collection<String> hints,
445 return new EntityConfig(/* useHints */ true, hints,
457 return new EntityConfig(/* useHints */ false, /* hints */ null,
486 * Retrieves the list of hints.
488 * @return An unmodifiable collection of the hints.