Package com.gengoai.hermes.en
Class ENPOSValidator
- java.lang.Object
-
- com.gengoai.hermes.en.ENPOSValidator
-
- All Implemented Interfaces:
SequenceValidator
,Serializable
public class ENPOSValidator extends Object implements SequenceValidator
English language sequence labeling validator for part-of-speech tags.- Author:
- David B. Bracewell
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.gengoai.apollo.ml.model.sequence.SequenceValidator
ALWAYS_TRUE
-
-
Constructor Summary
Constructors Constructor Description ENPOSValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(String label, String previousLabel, Observation instance)
-
-
-
Method Detail
-
isValid
public boolean isValid(String label, String previousLabel, Observation instance)
- Specified by:
isValid
in interfaceSequenceValidator
-
-