public abstract class ScorePatterns<E> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Set<CandidatePhrase> |
allCandidatePhrases |
protected String |
label |
protected TwoDimensionalCounter<E,CandidatePhrase> |
negPatternsandWords4Label |
protected TwoDimensionalCounter<E,CandidatePhrase> |
patternsandWords4Label |
protected GetPatternsFromDataMultiClass.PatternScoring |
patternScoring |
protected Properties |
props |
protected TwoDimensionalCounter<E,CandidatePhrase> |
unLabeledPatternsandWords4Label |
| Constructor and Description |
|---|
ScorePatterns(ConstantsAndVariables constVars,
GetPatternsFromDataMultiClass.PatternScoring patternScoring,
String label,
Set<CandidatePhrase> allCandidatePhrases,
TwoDimensionalCounter<E,CandidatePhrase> patternsandWords4Label,
TwoDimensionalCounter<E,CandidatePhrase> negPatternsandWords4Label,
TwoDimensionalCounter<E,CandidatePhrase> unLabeledPatternsandWords4Label,
Properties props) |
| Modifier and Type | Method and Description |
|---|---|
abstract Counter<E> |
score() |
abstract void |
setUp(Properties props) |
protected GetPatternsFromDataMultiClass.PatternScoring patternScoring
protected Properties props
protected TwoDimensionalCounter<E,CandidatePhrase> patternsandWords4Label
protected TwoDimensionalCounter<E,CandidatePhrase> negPatternsandWords4Label
protected TwoDimensionalCounter<E,CandidatePhrase> unLabeledPatternsandWords4Label
protected String label
protected Set<CandidatePhrase> allCandidatePhrases
public ScorePatterns(ConstantsAndVariables constVars, GetPatternsFromDataMultiClass.PatternScoring patternScoring, String label, Set<CandidatePhrase> allCandidatePhrases, TwoDimensionalCounter<E,CandidatePhrase> patternsandWords4Label, TwoDimensionalCounter<E,CandidatePhrase> negPatternsandWords4Label, TwoDimensionalCounter<E,CandidatePhrase> unLabeledPatternsandWords4Label, Properties props)
public abstract Counter<E> score() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic abstract void setUp(Properties props)