HomeSort by relevance Sort by last modified time
    Searched defs:ngrams (Results 1 - 15 of 15) sorted by null

  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
NGramList.java 72 protected TreeMap ngrams; field in class:NGramList
87 ngrams = new TreeMap();
98 return (NGram) ngrams.get(mappedKey);
117 ngrams.put(mappedKey, new NGram(key));
125 return ngrams.values();
130 return ngrams.keySet();
Checker.java 19 private NGramList ngrams; field in class:Checker
41 ngrams = list;
42 ngrams.setMapper(dataFile);
57 NGramList.NGram ngram = ngrams.get(key);
130 ngrams.setMapper(file);
StatisticsTool.java 53 private NGramList ngrams; field in class:StatisticsTool
134 ngrams.put(key);
158 System.out.println(inputFile.getFilename() + ": " + ngrams.getUniqueNGrams() + "/" + ngrams.getTotalNGrams());
160 ArrayList array = new ArrayList(ngrams.values());
166 int totalNGrams = ngrams.getTotalNGrams();
215 output.print(" private static int[] ngrams = {");
278 ngrams = new NGramList(this);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
WordProperty.java 89 final ArrayList<NgramProperty> ngrams = new ArrayList<>(); local
112 ngrams.add(new NgramProperty(ngramTarget, ngramContext));
114 mNgrams = ngrams.isEmpty() ? null : ngrams;
  /packages/inputmethods/LatinIME/native/jni/src/utils/
jni_data_utils.cpp 37 const std::vector<NgramProperty> &ngrams = wordProperty.getNgramProperties(); local
39 !ngrams.empty(), unigramProperty.hasShortcuts(),
53 // Output ngrams.
55 for (const auto &ngramProperty : ngrams) {
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
patricia_trie_policy.cpp 437 std::vector<NgramProperty> ngrams; local
451 ngrams.emplace_back(
481 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_patricia_trie_policy.cpp 514 std::vector<NgramProperty> ngrams; local
539 ngrams.emplace_back(ngramContext,
569 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CharsetRecog_sbcs.java 266 int match(CharsetDetector det, int[] ngrams, byte[] byteMap)
268 return match (det, ngrams, byteMap, (byte)0x20);
271 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
273 NGramParser parser = new NGramParser(ngrams, byteMap);
277 int matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar){
278 NGramParser_IBM420 parser = new NGramParser_IBM420(ngrams, byteMap);
585 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_5_ru
649 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_6_ar
713 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_7_el
778 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_8_I_he
805 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_8_he
871 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_9_tr
893 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_windows_1251
954 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_windows_1256
1015 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_KOI8_R
1107 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM424_he_rtl
1125 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM424_he_ltr
1171 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM420_ar_rtl
1191 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM420_ar_ltr
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CharsetRecog_sbcs.java 265 int match(CharsetDetector det, int[] ngrams, byte[] byteMap)
267 return match (det, ngrams, byteMap, (byte)0x20);
270 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
272 NGramParser parser = new NGramParser(ngrams, byteMap);
276 int matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar){
277 NGramParser_IBM420 parser = new NGramParser_IBM420(ngrams, byteMap);
584 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_5_ru
648 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_6_ar
712 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_7_el
777 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_8_I_he
804 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_8_he
870 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_9_tr
892 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_windows_1251
953 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_windows_1256
1014 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_KOI8_R
1106 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM424_he_rtl
1124 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM424_he_ltr
1170 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM420_ar_rtl
1190 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM420_ar_ltr
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_policy.cpp 563 std::vector<NgramProperty> ngrams; local
592 ngrams.emplace_back(
620 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams);
  /external/icu/icu4c/source/i18n/
csrsbcs.cpp 253 int32_t CharsetRecog_sbcs::match_sbcs(InputText *det, const int32_t ngrams[], const uint8_t byteMap[]) const
255 NGramParser parser(ngrams, byteMap);
707 const int32_t ngrams[64]; member in struct:NGramsPlusLang
896 const int32_t *ngrams = ngrams_8859_1[i].ngrams; local
923 const int32_t *ngrams = ngrams_8859_2[i].ngrams; local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/
icu4j-53.1.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar 

Completed in 312 milliseconds