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

  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
NGramList.java 74 protected TreeMap ngrams; field in class:NGramList
89 ngrams = new TreeMap();
100 return (NGram) ngrams.get(mappedKey);
119 ngrams.put(mappedKey, new NGram(key));
127 return ngrams.values();
132 return ngrams.keySet();
Checker.java 21 private NGramList ngrams; field in class:Checker
43 ngrams = list;
44 ngrams.setMapper(dataFile);
59 NGramList.NGram ngram = ngrams.get(key);
132 ngrams.setMapper(file);
StatisticsTool.java 55 private NGramList ngrams; field in class:StatisticsTool
136 ngrams.put(key);
160 System.out.println(inputFile.getFilename() + ": " + ngrams.getUniqueNGrams() + "/" + ngrams.getTotalNGrams());
162 ArrayList array = new ArrayList(ngrams.values());
168 int totalNGrams = ngrams.getTotalNGrams();
217 output.print(" private static int[] ngrams = {");
280 ngrams = new NGramList(this);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
word_property.h 37 const std::vector<NgramProperty> &ngrams)
39 mNgrams(ngrams) {}
  /external/skia/tools/lua/
ngrams.lua 5 -- $ out/Debug/lua_pictures -q -r $SKP_DIR -l tools/lua/ngrams.lua > /tmp/lua-output
26 local ngrams = {}
31 ngrams[currentFile] = {}
38 table.insert(ngrams[currentFile], {t.verb})
40 local idx = #ngrams[currentFile] - i
42 table.insert(ngrams[currentFile][idx], t.verb)
50 for file, ngramsInFile in pairs(ngrams) do
ngrams_aggregate.lua 1 -- Aggregate the output from ngrams.lua.
  /external/skqp/tools/lua/
ngrams.lua 5 -- $ out/Debug/lua_pictures -q -r $SKP_DIR -l tools/lua/ngrams.lua > /tmp/lua-output
26 local ngrams = {}
31 ngrams[currentFile] = {}
38 table.insert(ngrams[currentFile], {t.verb})
40 local idx = #ngrams[currentFile] - i
42 table.insert(ngrams[currentFile][idx], t.verb)
50 for file, ngramsInFile in pairs(ngrams) do
ngrams_aggregate.lua 1 -- Aggregate the output from ngrams.lua.
  /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/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;
  /external/icu/icu4c/source/i18n/
csrsbcs.h 79 virtual int32_t match_sbcs(InputText *det, const int32_t ngrams[], const uint8_t charMap[]) const;
270 int32_t match_sbcs(InputText *det, const int32_t ngrams[], const uint8_t charMap[]) const;
csrsbcs.cpp 254 int32_t CharsetRecog_sbcs::match_sbcs(InputText *det, const int32_t ngrams[], const uint8_t byteMap[]) const
256 NGramParser parser(ngrams, byteMap);
708 const int32_t ngrams[64]; member in struct:NGramsPlusLang
897 const int32_t *ngrams = ngrams_8859_1[i].ngrams; local
924 const int32_t *ngrams = ngrams_8859_2[i].ngrams; local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CharsetRecog_sbcs.java 270 int match(CharsetDetector det, int[] ngrams, byte[] byteMap)
272 return match (det, ngrams, byteMap, (byte)0x20);
275 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
277 NGramParser parser = new NGramParser(ngrams, byteMap);
281 int matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar){
282 NGramParser_IBM420 parser = new NGramParser_IBM420(ngrams, byteMap);
594 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_5_ru
661 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_6_ar
728 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_7_el
796 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_8_I_he
826 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_8_he
895 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_9_tr
919 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_windows_1251
983 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_windows_1256
1047 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_KOI8_R
1144 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM424_he_rtl
1164 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM424_he_ltr
1212 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM420_ar_rtl
1234 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 269 int match(CharsetDetector det, int[] ngrams, byte[] byteMap)
271 return match (det, ngrams, byteMap, (byte)0x20);
274 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
276 NGramParser parser = new NGramParser(ngrams, byteMap);
280 int matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar){
281 NGramParser_IBM420 parser = new NGramParser_IBM420(ngrams, byteMap);
593 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_5_ru
660 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_6_ar
727 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_7_el
795 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_8_I_he
825 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_8_he
894 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_8859_9_tr
918 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_windows_1251
982 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_windows_1256
1046 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_KOI8_R
1143 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM424_he_rtl
1163 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM424_he_ltr
1211 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM420_ar_rtl
1233 private static int[] ngrams = { field in class:CharsetRecog_sbcs.CharsetRecog_IBM420_ar_ltr
    [all...]
  /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/backward/v402/
ver4_patricia_trie_policy.cpp 563 std::vector<NgramProperty> ngrams; local
592 ngrams.emplace_back(
620 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);
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /prebuilts/misc/common/robolectric/3.1.1/lib/
icu4j-53.1.jar 
  /prebuilts/misc/common/robolectric/3.4.2/lib/
icu4j-53.1.jar 
  /prebuilts/misc/common/robolectric/3.5.1/lib/
icu4j-53.1.jar 
  /prebuilts/misc/common/robolectric/3.6.1/lib/
icu4j-53.1.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 623 milliseconds