private static class Evaluation.Model
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Evaluation.Element,java.util.List<Evaluation.Attribute>> |
elementMatcher |
private java.lang.String |
modelName |
Constructor and Description |
---|
Evaluation.Model(java.io.File patternProperties) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
ClusteredScoreMap<java.lang.String> |
match(Evaluation.Element element,
java.lang.CharSequence content)
match elementContents for a specific elementName
|
java.lang.String |
toString() |
private final java.lang.String modelName
private final java.util.Map<Evaluation.Element,java.util.List<Evaluation.Attribute>> elementMatcher
public Evaluation.Model(java.io.File patternProperties) throws java.io.IOException
java.io.IOException
public java.lang.String getName()
public ClusteredScoreMap<java.lang.String> match(Evaluation.Element element, java.lang.CharSequence content)
element
- - the name of the element as Element enum typecontent
- - the content of the elementpublic java.lang.String toString()
toString
in class java.lang.Object