org.apache.uima.examples.tagger.trainAndTest
Interface MappingInterface
- All Known Implementing Classes:
- GrobMappingTueba, TagMappingBrown
public interface MappingInterface
Defines mapping for a tagset. For example, one may wish to map a more detailed tagset to a less
distinctive one (i.e. tell a program to tag all verbs as just VERB
instead of
differentiating between verb infinitive
, verb imperative
, etc ... Receives a
List of Tokens
to transform and returns a List of Tokens
with mapped parts of
speech
map_tags
java.util.List<Token> map_tags(java.util.List<Token> tokens)
Copyright © 2011. All Rights Reserved.