Package edu.fscj.pseudo.lintRoller
Class KeywordLinter
java.lang.Object
edu.fscj.pseudo.lintRoller.KeywordLinter
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.lucene.search.spell.SpellChecker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static String
checkMisspelling
(String word) private static void
private static boolean
hasClosingQuote
(String word) private static boolean
hasDoubleQuotes
(String word) private static Boolean
private static Boolean
isPossibleKeyword
(String word, String prevWord) static void
scanForMisspelledKeywords
(ArrayList<Line> lines)
-
Field Details
-
spellChecker
private static org.apache.lucene.search.spell.SpellChecker spellChecker -
keywords
-
-
Constructor Details
-
KeywordLinter
KeywordLinter()
-
-
Method Details
-
scanForMisspelledKeywords
-
createHiddenIndexDirectory
-
checkMisspelling
-
isPossibleKeyword
-
isKeyword
-
hasClosingQuote
-
hasDoubleQuotes
-