Home | History | Annotate | Download | only in textclassifier

Lines Matching defs:locale

31 import java.util.Locale;
225 String.format(Locale.US, "%2d: %s/%s/%s, range=%d,%d - smart_range=%d,%d (%s/%s)",
233 public static BreakIterator getTokenIterator(@NonNull Locale locale) {
234 return BreakIterator.getWordInstance(Preconditions.checkNotNull(locale));
242 List<Locale> locales) {
247 for (Locale locale : locales) {
248 localesJoiner.add(locale.toLanguageTag());
250 final String modelName = String.format(Locale.US, "%s_v%d", localesJoiner.toString(),
264 return String.format(Locale.US, "%s|%s|%d", classifierId, modelName, hash);