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