code: protected boolean ignoreWord(String word) throws IOException {
      if (!considerIgnoreWords) {
        return false;
      }
      if (word.endsWith(".") && !wordsToBeIgnored.contains(word)) {
        return isIgnoredNoCase(word.substring(0, word.length()-1));  // e.g. word at end of sentence
      }
      return isIgnoredNoCase(word);
    }
docs: Returns true iff the word should be ignored by the spell checker.
  If possible, use {@link #ignoreToken(AnalyzedTokenReadings[], int)} instead.