E - Type of tokens in the tagging.public interface ChainCrfFeatureExtractor<E>
ChainCrfFeatureExtractor interface specifies a method
for conditional random fields to extract the necessary node and
edge features for estimation and tagging.| Modifier and Type | Method and Description |
|---|---|
ChainCrfFeatures<E> |
extract(List<E> tokens,
List<String> tags)
Return the chain CRF features for the specified list of input
tokens and specified list of possible tags.
|
ChainCrfFeatures<E> extract(List<E> tokens, List<String> tags)
When called from LingPipe's CRF class, the list of tags is guaranteed to be unique.
tokens - List of token objects.tags - List of possible output tags.Copyright © 2019 Alias-i, Inc.. All rights reserved.