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

  /external/skia/tools/lua/
ngrams_aggregate.lua 9 for ngram, count in pairs(counts) do
10 table.insert(countArray, {count, ngram})
ngrams.lua 52 local ngram = table.concat(ngramsInFile[i], " ")
53 if counts[ngram] == nil then
54 counts[ngram] = 1
56 counts[ngram] = counts[ngram] + 1
62 for ngram, count in pairs(counts) do
63 io.write("if counts['", ngram, "'] == nil then counts['", ngram, "'] = ", count, " else counts['", ngram, "'] = counts['", ngram, "'] + ", count, " end\n"
    [all...]
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
NGramList.java 27 public static final class NGram implements Comparable
32 public NGram(String theValue, int theRefCount)
38 public NGram(String theValue)
43 public NGram(NGram other)
66 NGram ng = (NGram) o;
96 public NGram get(Object mappedKey)
98 return (NGram) ngrams.get(mappedKey);
101 public NGram get(String key
111 NGram ngram = get(mappedKey); local
    [all...]
Checker.java 57 NGramList.NGram ngram = ngrams.get(key); local
61 if (ngram != null) {
63 //ngram.incrementRefCount();
StatisticsTool.java 169 NGramList.NGram ngram = (NGramList.NGram) it.next(); local
170 String value = ngram.getValue();
171 int refCount = ngram.getRefCount();
218 Integer ngram = (Integer) it.next(); local
224 output.print("0x" + Utility.hex(ngram.intValue(), 6) + ", ");
  /external/harfbuzz_ng/test/shaping/
hb_test_tools.py 226 gens = tuple (Ngram.generator (n) for n in ns)
234 for ngram in gen (test.unicodes):
235 if ngram not in allgrams:
236 allgrams[ngram] = Stats ()
237 allgrams[ngram].add (test)
240 for ngram, stats in allgrams.iteritems ():
242 importantgrams[ngram] = stats
246 for ngram, stats in allgrams.iteritems ():
247 print ("zscore: %9f failed: %6d passed: %6d ngram: <%s>" % (stats.zscore (allstats), stats.failed.count, stats.passed.count, ','.join ("U+%04X" % u for u in ngram)))
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
WordProperty.java 124 for (final NgramProperty ngram : mNgrams) {
125 if (ngram.mNgramContext.getPrevWordCount() == 1) {
126 bigrams.add(ngram.mTargetWord);
  /external/icu/icu4c/source/i18n/
csrsbcs.h 22 int32_t ngram; member in class:NGramParser
csrsbcs.cpp 23 : ngram(0), byteIndex(0)
90 ngram = ((ngram << 8) + b) & N_GRAM_MASK;
91 lookup(ngram);
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CharsetRecog_sbcs.java 29 private int ngram = 0; field in class:CharsetRecog_sbcs.NGramParser
44 ngram = 0;
103 ngram = ((ngram << 8) + (b & 0xFF)) & N_GRAM_MASK;
104 lookup(ngram);
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CharsetRecog_sbcs.java 28 private int ngram = 0; field in class:CharsetRecog_sbcs.NGramParser
43 ngram = 0;
102 ngram = ((ngram << 8) + (b & 0xFF)) & N_GRAM_MASK;
103 lookup(ngram);
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /external/libgdx/backends/gdx-backend-moe/libs/
intel-moe-core.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 409 milliseconds