Searched refs:ngram (Results 1 – 12 of 12) sorted by relevance
/external/skqp/tools/lua/ |
D | 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['",…
|
D | ngrams_aggregate.lua | 9 for ngram, count in pairs(counts) do 10 table.insert(countArray, {count, ngram})
|
/external/skia/tools/lua/ |
D | 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['",…
|
D | ngrams_aggregate.lua | 9 for ngram, count in pairs(counts) do 10 table.insert(countArray, {count, ngram})
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
D | NGramList.java | 113 NGram ngram = get(mappedKey); in put() local 117 if (ngram == null) { in put() 121 ngram.incrementRefCount(); in put()
|
D | StatisticsTool.java | 171 NGramList.NGram ngram = (NGramList.NGram) it.next(); in dumpNGrams() local 172 String value = ngram.getValue(); in dumpNGrams() 173 int refCount = ngram.getRefCount(); in dumpNGrams() 220 Integer ngram = (Integer) it.next(); in writeStatistics() local 226 output.print("0x" + Utility.hex(ngram.intValue(), 6) + ", "); in writeStatistics()
|
D | Checker.java | 59 NGramList.NGram ngram = ngrams.get(key); in handleNGram() local 63 if (ngram != null) { in handleNGram()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetRecog_sbcs.java | 31 private int ngram = 0; field in CharsetRecog_sbcs.NGramParser 46 ngram = 0; in NGramParser() 105 ngram = ((ngram << 8) + (b & 0xFF)) & N_GRAM_MASK; in addByte() 106 lookup(ngram); in addByte()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CharsetRecog_sbcs.java | 32 private int ngram = 0; field in CharsetRecog_sbcs.NGramParser 47 ngram = 0; in NGramParser() 106 ngram = ((ngram << 8) + (b & 0xFF)) & N_GRAM_MASK; in addByte() 107 lookup(ngram); in addByte()
|
/external/icu/icu4c/source/i18n/ |
D | csrsbcs.cpp | 24 : ngram(0), byteIndex(0) in NGramParser() 91 ngram = ((ngram << 8) + b) & N_GRAM_MASK; in addByte() 92 lookup(ngram); in addByte()
|
D | csrsbcs.h | 24 int32_t ngram;
|
/external/icu/icu4c/source/data/unit/ |
D | ga.txt | 738 many{"{0} ngram"}
|