@Override
  public boolean isValidWord(CharSequence word) {
    return getWordFrequency(word) > 0;
  }
@Test
  public void testGetWordWithCurlyQuote() throws Exception {
    mDictionaryUnderTest.loadDictionary();

    assertTrue(mDictionaryUnderTest.isValidWord("don't"));
    assertFalse(mDictionaryUnderTest.isValidWord("don’t"));

    assertArrayEquals(new String[] {"don't"}, getWordsFor(mDictionaryUnderTest, "don"));

    assertArrayEquals(new String[] {"don't"}, getWordsFor(mDictionaryUnderTest, "don'"));
    // the suggestion should be the one from the dictionary
    assertArrayEquals(new String[] {"don't"}, getWordsFor(mDictionaryUnderTest, "don’"));

    // does not report typed word
    assertArrayEquals(new String[] {}, getWordsFor(mDictionaryUnderTest, "don't"));
    // since the word is not exactly as in the dictionary, we do suggest it
    assertArrayEquals(new String[] {"don't"}, getWordsFor(mDictionaryUnderTest, "don’t"));
  }