HomeSort by relevance Sort by last modified time
    Searched refs:bigrams (Results 1 - 9 of 9) sorted by null

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
PtNodeInfo.java 37 final ArrayList<PendingAttribute> bigrams) {
45 mBigrams = bigrams;
AbstractDictDecoder.java 46 final TreeMap<Integer, ArrayList<PendingAttribute>> bigrams)
51 BinaryDictIOUtils.readUnigramsAndBigramsBinary(this, words, frequencies, bigrams);
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);
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,
108 mBigrams = bigrams;
114 public PtNode(final int[] chars, final ArrayList<WeightedString> bigrams,
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;
    [all...]
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)
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
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<>(); local
126 bigrams.add(ngram.mTargetWord);
129 return bigrams;
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
Info.java 92 final ArrayList<WeightedString> bigrams = ptNode.getBigrams(); local
93 if (null == bigrams || bigrams.isEmpty()) {
94 System.out.println(" No bigrams");
96 for (final WeightedString bigram : bigrams) {
CombinedInputOutput.java 102 ArrayList<WeightedString> bigrams = new ArrayList<>(); local
111 for (WeightedString s : bigrams) {
116 if (!bigrams.isEmpty()) bigrams = new ArrayList<>();
196 bigrams.add(new WeightedString(secondWordOfBigram, bigramProbabilityInfo));
205 for (WeightedString s : bigrams) {
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryTests.java 648 final HashSet<Pair<String, String>> bigrams = new HashSet<>(); local
703 final HashMap<String, HashSet<String>> bigrams = new HashMap<>(); local
787 final HashMap<String, HashSet<String>> bigrams = new HashMap<>(); local
    [all...]

Completed in 192 milliseconds