E - public class ApplyPatterns<E extends Pattern> extends Object implements Callable<Pair<TwoDimensionalCounter<CandidatePhrase,E>,CollectionValuedMap<E,Triple<String,Integer,Integer>>>>
| Constructor and Description |
|---|
ApplyPatterns(Map<String,DataInstance> sents,
List<String> sentids,
Map<TokenSequencePattern,E> patterns,
String label,
boolean removeStopWordsFromSelectedPhrases,
boolean removePhrasesWithStopWords,
ConstantsAndVariables cv) |
| Modifier and Type | Method and Description |
|---|---|
Pair<TwoDimensionalCounter<CandidatePhrase,E>,CollectionValuedMap<E,Triple<String,Integer,Integer>>> |
call() |
public ApplyPatterns(Map<String,DataInstance> sents, List<String> sentids, Map<TokenSequencePattern,E> patterns, String label, boolean removeStopWordsFromSelectedPhrases, boolean removePhrasesWithStopWords, ConstantsAndVariables cv)
public Pair<TwoDimensionalCounter<CandidatePhrase,E>,CollectionValuedMap<E,Triple<String,Integer,Integer>>> call() throws Exception
call in interface Callable<Pair<TwoDimensionalCounter<CandidatePhrase,E extends Pattern>,CollectionValuedMap<E extends Pattern,Triple<String,Integer,Integer>>>>Exception