Package io.outofprintmagazine.nlp.utils
Class WiktionaryUtils
- java.lang.Object
-
- io.outofprintmagazine.nlp.utils.WiktionaryUtils
-
public class WiktionaryUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
WiktionaryUtils.PageHandler
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToWordCache(List<String> tokens)
boolean
checkWordCache(String token)
static WiktionaryUtils
getInstance(IParameterStore parameterStore)
String
getWordCache(String token)
void
pruneWordCache()
-
-
-
Method Detail
-
getInstance
public static WiktionaryUtils getInstance(IParameterStore parameterStore) throws IOException
- Throws:
IOException
-
checkWordCache
public boolean checkWordCache(String token)
-
pruneWordCache
public void pruneWordCache()
-
-