Home
last modified time | relevance | path

Searched refs:bigrams (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableDictionary.java310 LinkedList<NextWord> bigrams = firstWord.mNGrams;
312 if (bigrams == null || bigrams.size() == 0) {
315 for (NextWord nw : bigrams) {
325 return bigrams.remove(bigramNode);
341 LinkedList<NextWord> bigrams = firstWord.mNGrams;
342 if (bigrams == null || bigrams.size() == 0) {
345 for (NextWord nw : bigrams) {
529 LinkedList<NextWord> bigrams = firstWord.mNGrams;
530 if (bigrams == null || bigrams.size() == 0) {
532 bigrams = firstWord.mNGrams;
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DCharGroupInfo.java40 final ArrayList<PendingAttribute> bigrams) { in CharGroupInfo() argument
48 mBigrams = bigrams; in CharGroupInfo()
DFusionDictionary.java109 final ArrayList<WeightedString> bigrams, final int frequency) { in CharGroup() argument
113 mBigrams = bigrams; in CharGroup()
118 final ArrayList<WeightedString> bigrams, final int frequency, final Node children) { in CharGroup() argument
122 mBigrams = bigrams; in CharGroup()
201 ArrayList<WeightedString> bigrams) { in update() argument
221 if (bigrams != null) { in update()
223 mBigrams = bigrams; in update()
225 final int size = bigrams.size(); in update()
227 final WeightedString bigram = bigrams.get(i); in update()
DWord.java39 final ArrayList<WeightedString> bigrams) { in Word() argument
43 mBigrams = bigrams; in Word()
DBinaryDictInputOutput.java1155 ArrayList<PendingAttribute> bigrams = null; in readCharGroup() local
1157 bigrams = new ArrayList<PendingAttribute>(); in readCharGroup()
1181 bigrams.add(new PendingAttribute(bigramFlags & FLAG_ATTRIBUTE_FREQUENCY, in readCharGroup()
1187 childrenAddress, shortcutTargets, bigrams); in readCharGroup()
1288 ArrayList<WeightedString> bigrams = null; in readNode() local
1290 bigrams = new ArrayList<WeightedString>(); in readNode()
1293 bigrams.add(new WeightedString(word, bigram.mFrequency)); in readNode()
1305 new CharGroup(info.mCharacters, shortcutTargets, bigrams, info.mFrequency, in readNode()
1309 new CharGroup(info.mCharacters, shortcutTargets, bigrams, info.mFrequency)); in readNode()
/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/makedict/
DXmlDictInputOutput.java249 final InputStream shortcuts, final InputStream bigrams) in readDictionaryXml() argument
255 if (null != bigrams) parser.parse(bigrams, bigramHandler); in readDictionaryXml()
DDictionaryMaker.java254 final FileInputStream bigrams = null == bigramXmlFilename ? null : in readXmlFile() local
256 return XmlDictInputOutput.readDictionaryXml(unigrams, shortcuts, bigrams); in readXmlFile()