Searched refs:fDict (Results 1 – 6 of 6) sorted by relevance
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
D | LSTMBreakEngine.java | 94 fDict = new HashMap<String, Integer>(numIndex + 1); in LSTMData() 97 fDict.put(embedding, idx++); in LSTMData() 131 public Map<String, Integer> fDict; field in LSTMBreakEngine.LSTMData 151 this.fDict = dict; in Vectorizer() 156 Integer res = fDict.get(token); in getIndex() 157 return (res == null) ? fDict.size() : res; in getIndex() 159 private Map<String, Integer> fDict; field in LSTMBreakEngine.Vectorizer 219 return new CodePointsVectorizer(data.fDict); in makeVectorizer() 221 return new GraphemeClusterVectorizer(data.fDict); in makeVectorizer()
|
/third_party/node/deps/icu-small/source/common/ |
D | lstmbe.cpp | 362 UHashtable* fDict; member 380 : fDict(nullptr), fType(UNKNOWN), fName(nullptr), in LSTMData() 409 fDict = uhash_open(uhash_hashUChars, uhash_compareUChars, nullptr, &status); in LSTMData() 423 uhash_putiAllowZero(fDict, (void*)str, idx, &status); in LSTMData() 468 uhash_close(fDict); in ~LSTMData() 474 Vectorizer(UHashtable* dict) : fDict(dict) {} in Vectorizer() 482 int32_t ret = uhash_getiAndFound(fDict, (const void*)str, &found); in stringToIndex() 484 ret = fDict->count; in stringToIndex() 498 UHashtable* fDict; member in Vectorizer 754 return new CodePointsVectorizer(data->fDict); in createVectorizer() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | lstmbe.cpp | 362 UHashtable* fDict; member 380 : fDict(nullptr), fType(UNKNOWN), fName(nullptr), in LSTMData() 409 fDict = uhash_open(uhash_hashUChars, uhash_compareUChars, nullptr, &status); in LSTMData() 423 uhash_putiAllowZero(fDict, (void*)str, idx, &status); in LSTMData() 468 uhash_close(fDict); in ~LSTMData() 474 Vectorizer(UHashtable* dict) : fDict(dict) {} in Vectorizer() 482 int32_t ret = uhash_getiAndFound(fDict, (const void*)str, &found); in stringToIndex() 484 ret = fDict->count; in stringToIndex() 498 UHashtable* fDict; member in Vectorizer 754 return new CodePointsVectorizer(data->fDict); in createVectorizer() [all …]
|
/third_party/skia/src/pathops/ |
D | SkPathOpsDebug.h | 311 SkTDArray<CoinDictEntry> fDict; member
|
D | SkPathOpsDebug.cpp | 232 int count = dict.fDict.count(); in add() 234 this->add(dict.fDict[index]); in add() 239 int count = fDict.count(); in add() 241 CoinDictEntry* entry = &fDict[index]; in add() 250 *fDict.append() = key; in add()
|
/third_party/skia/tests/ |
D | PathOpsDebug.cpp | 346 int count = fDict.count(); in dump() 348 const auto& entry = fDict[index]; in dump()
|