public static class GetPatternsFromDataMultiClass.LabelWithSeedWords extends Object implements Callable<Map<String,DataInstance>>
| Constructor and Description |
|---|
LabelWithSeedWords(Collection<CandidatePhrase> seedwords,
Map<String,DataInstance> sents,
List<String> keyset,
Class labelclass,
String label,
boolean fuzzyMatch,
int minLen4FuzzyForPattern,
String backgroundSymbol,
Set<String> doNotLabelDictWords,
java.util.function.Function<CoreLabel,String> stringTransformation,
boolean writeMatchedTokensIdsForEachPhrase,
boolean overwriteExistingLabels,
PatternFactory.PatternType type) |
public LabelWithSeedWords(Collection<CandidatePhrase> seedwords, Map<String,DataInstance> sents, List<String> keyset, Class labelclass, String label, boolean fuzzyMatch, int minLen4FuzzyForPattern, String backgroundSymbol, Set<String> doNotLabelDictWords, java.util.function.Function<CoreLabel,String> stringTransformation, boolean writeMatchedTokensIdsForEachPhrase, boolean overwriteExistingLabels, PatternFactory.PatternType type)
public Map<String,DataInstance> call() throws Exception