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