public class BIOTagger extends AnnotationTagger
Constructor and Description |
---|
BIOTagger(com.davidbracewell.apollo.ml.sequence.SequenceFeaturizer<Annotation> featurizer,
AnnotationType annotationType,
com.davidbracewell.apollo.ml.sequence.SequenceLabeler labeler)
Instantiates a new Bio tagger.
|
Modifier and Type | Method and Description |
---|---|
void |
tag(Annotation sentence)
Tag labeling result.
|
read, write
public BIOTagger(com.davidbracewell.apollo.ml.sequence.SequenceFeaturizer<Annotation> featurizer, AnnotationType annotationType, com.davidbracewell.apollo.ml.sequence.SequenceLabeler labeler)
featurizer
- the featurizerannotationType
- the annotation typelabeler
- the labelerpublic void tag(Annotation sentence)
tag
in class AnnotationTagger
sentence
- the sentenceCopyright © 2016. All rights reserved.