All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
applyPats(Counter<Integer> patterns,
String label,
TwoDimensionalCounter<Pair<String,String>,Integer> wordsandLemmaPatExtracted,
CollectionValuedMap<Integer,Triple<String,Integer,Integer>> matchedTokensByPat) |
Counter<String> |
chooseTopWords(Counter<String> newdt,
TwoDimensionalCounter<String,Integer> terms,
Counter<String> useThresholdNumPatternsForTheseWords,
Set<String> ignoreWords,
double thresholdWordExtract) |
protected Map<Integer,Map<String,List<CoreLabel>>> |
getSentences(Map<Integer,Set<String>> sentids) |
Counter<String> |
learnNewPhrases(String label,
PatternsForEachToken patternsForEachToken,
Counter<Integer> patternsLearnedThisIter,
Counter<Integer> allSelectedPatterns,
CollectionValuedMap<Integer,Triple<String,Integer,Integer>> tokensMatchedPatterns,
Counter<String> scoreForAllWordsThisIteration,
TwoDimensionalCounter<String,Integer> terms,
TwoDimensionalCounter<String,Integer> wordsPatExtracted,
TwoDimensionalCounter<Integer,String> patternsAndWords4Label,
String identifier,
Set<String> ignoreWords) |
static <E,F> void |
removeKeys(TwoDimensionalCounter<E,F> counter,
Collection<E> removeKeysCollection) |