Lines Matching refs:word
72 * previous word.
89 * Checks if the given word has to be treated as a valid word. Please note that some
91 * @param word the word to search for. The search should be case-insensitive.
92 * @return true if the word is valid, false otherwise
94 public boolean isValidWord(final String word) {
95 return isInDictionary(word);
99 * Checks if the given word is in the dictionary regardless of it being valid or not.
101 abstract public boolean isInDictionary(final String word);
103 public int getFrequency(final String word) {
107 public int getMaxFrequencyOfExactMatches(final String word) {
112 * Compares the contents of the character array with the typed word and returns true if they
114 * @param word the array of characters that make up the word
116 * @param typedWord the word to compare with
119 protected boolean same(final char[] word, final int length, final String typedWord) {
124 if (word[i] != typedWord.charAt(i)) {
146 * Whether we think this suggestion should trigger an auto-commit. prevWord is the word
177 public boolean isInDictionary(String word) {