|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
E - Type of tokens in the tagging.public interface ChainCrfFeatureExtractor<E>
The ChainCrfFeatureExtractor interface specifies a method
for conditional random fields to extract the necessary node and
edge features for estimation and tagging.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||