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 classWiktionaryUtils.PageHandler
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToWordCache(List<String> tokens)booleancheckWordCache(String token)static WiktionaryUtilsgetInstance(IParameterStore parameterStore)StringgetWordCache(String token)voidpruneWordCache()
-
-
-
Method Detail
-
getInstance
public static WiktionaryUtils getInstance(IParameterStore parameterStore) throws IOException
- Throws:
IOException
-
checkWordCache
public boolean checkWordCache(String token)
-
pruneWordCache
public void pruneWordCache()
-
-