Class KeywordLinter

java.lang.Object
edu.fscj.pseudo.lintRoller.KeywordLinter

class KeywordLinter extends Object
  • Field Details

    • spellChecker

      private static org.apache.lucene.search.spell.SpellChecker spellChecker
    • keywords

      private static ArrayList<String> keywords
  • Constructor Details

    • KeywordLinter

      KeywordLinter()
  • Method Details

    • scanForMisspelledKeywords

      public static void scanForMisspelledKeywords(ArrayList<Line> lines)
    • createHiddenIndexDirectory

      private static void createHiddenIndexDirectory(Path path)
    • checkMisspelling

      private static String checkMisspelling(String word)
    • isPossibleKeyword

      private static Boolean isPossibleKeyword(String word, String prevWord)
    • isKeyword

      private static Boolean isKeyword(String word)
    • hasClosingQuote

      private static boolean hasClosingQuote(String word)
    • hasDoubleQuotes

      private static boolean hasDoubleQuotes(String word)