Searched defs:bigrams (Results 1 - 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | AbstractDictDecoder.java | 46 final TreeMap<Integer, ArrayList<PendingAttribute>> bigrams) 51 BinaryDictIOUtils.readUnigramsAndBigramsBinary(this, words, frequencies, bigrams); 44 readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, final TreeMap<Integer, Integer> frequencies, final TreeMap<Integer, ArrayList<PendingAttribute>> bigrams) argument
|
H A D | PtNodeInfo.java | 37 final ArrayList<PendingAttribute> bigrams) { 45 mBigrams = bigrams; 34 PtNodeInfo(final int originalAddress, final int endAddress, final int flags, final int[] characters, final ProbabilityInfo probabilityInfo, final int childrenAddress, final ArrayList<WeightedString> shortcutTargets, final ArrayList<PendingAttribute> bigrams) argument
|
H A D | DictDecoder.java | 79 * Reads unigrams and bigrams from the binary file. 84 * @param bigrams the map to store the address as a key and the list of address as a value. 91 final TreeMap<Integer, ArrayList<PendingAttribute>> bigrams) 89 readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, final TreeMap<Integer, Integer> frequencies, final TreeMap<Integer, ArrayList<PendingAttribute>> bigrams) argument
|
H A D | BinaryDictIOUtils.java | 80 final Map<Integer, ArrayList<PendingAttribute>> bigrams) { 119 bigrams.put(ptNodeInfo.mOriginalAddress, ptNodeInfo.mBigrams); 138 * Reads unigrams and bigrams from the binary file. 144 * @param bigrams the map to store the address as a key and the list of address as a value. 150 final Map<Integer, ArrayList<PendingAttribute>> bigrams) throws IOException, 155 frequencies, bigrams); 77 readUnigramsAndBigramsBinaryInner(final DictDecoder dictDecoder, final int bodyOffset, final Map<Integer, String> words, final Map<Integer, Integer> frequencies, final Map<Integer, ArrayList<PendingAttribute>> bigrams) argument 148 readUnigramsAndBigramsBinary(final DictDecoder dictDecoder, final Map<Integer, String> words, final Map<Integer, Integer> frequencies, final Map<Integer, ArrayList<PendingAttribute>> bigrams) argument
|
H A D | FusionDictionary.java | 69 * PtNode is a group of characters, with probability information, shortcut targets, bigrams, 79 * shortcuts and/or bigrams, but a non-terminal may not. Moreover, children, if present, 102 public PtNode(final int[] chars, final ArrayList<WeightedString> bigrams, argument 108 mBigrams = bigrams; 114 public PtNode(final int[] chars, final ArrayList<WeightedString> bigrams, argument 119 mBigrams = bigrams; 183 * Returns null if the word is not in the bigrams list. 205 final ArrayList<WeightedString> bigrams, 208 if (bigrams != null) { 210 mBigrams = bigrams; 204 update(final ProbabilityInfo probabilityInfo, final ArrayList<WeightedString> bigrams, final boolean isNotAWord, final boolean isPossiblyOffensive) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | WordProperty.java | 52 @Nullable final ArrayList<WeightedString> bigrams, 56 if (null == bigrams) { 61 for (final WeightedString bigramTarget : bigrams) { 68 mHasNgrams = bigrams != null && !bigrams.isEmpty(); 123 final ArrayList<WeightedString> bigrams = new ArrayList<>(); 126 bigrams.add(ngram.mTargetWord); 129 return bigrams; 51 WordProperty(final String word, final ProbabilityInfo probabilityInfo, @Nullable final ArrayList<WeightedString> bigrams, final boolean isNotAWord, final boolean isPossiblyOffensive) argument
|
Completed in 1875 milliseconds