public interface SequenceFeatureExtractor<K>
SparseFeatureExtractorHelper to calculate real vectors to use in a
classifier.| Modifier and Type | Method and Description |
|---|---|
List<String> |
computeFeatures(List<K> words,
int prevLabel,
int position)
Compute a feature for the given sequence (the complete list words).
|
List<String> computeFeatures(List<K> words, int prevLabel, int position)
words - all words in that sequence.prevLabel - the previous label.position - the current position.Copyright © 2016. All rights reserved.