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