OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:unigrams
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
UserHistoryDictIOUtils.java
139
final TreeMap<Integer, String>
unigrams
= CollectionUtils.newTreeMap();
local
143
dictDecoder.readUnigramsAndBigramsBinary(
unigrams
, frequencies, bigrams);
151
addWordsFromWordMap(
unigrams
, frequencies, bigrams, dict);
155
* Adds all
unigrams
and bigrams in maps to OnAddWordListener.
158
static void addWordsFromWordMap(final TreeMap<Integer, String>
unigrams
,
162
for (Entry<Integer, String> entry :
unigrams
.entrySet()) {
169
final String word2 =
unigrams
.get(attr.mAddress);
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DictionaryMaker.java
127
+ "[-s <
unigrams
.xml> [-b <bigrams.xml>] [-c <shortcuts_and_whitelist.xml>] "
315
final FileInputStream
unigrams
= new FileInputStream(new File(unigramXmlFilename));
local
320
return XmlDictInputOutput.readDictionaryXml(
unigrams
, shortcuts, bigrams);
XmlDictInputOutput.java
300
* @param
unigrams
the file to read the data from.
305
public static FusionDictionary readDictionaryXml(final InputStream
unigrams
,
320
parser.parse(
unigrams
, unigramHandler);
Completed in 951 milliseconds