public class ApplyDepPatterns<E extends Pattern> extends Object implements Callable<Pair<TwoDimensionalCounter<CandidatePhrase,E>,CollectionValuedMap<E,Triple<String,Integer,Integer>>>>
| Constructor and Description |
|---|
ApplyDepPatterns(Map<String,DataInstance> sents,
List<String> sentids,
Map<SemgrexPattern,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 ApplyDepPatterns(Map<String,DataInstance> sents, List<String> sentids, Map<SemgrexPattern,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