org.apache.uima.examples.tagger.trainAndTest
Class GrobMappingTueba

java.lang.Object
  extended by org.apache.uima.examples.tagger.trainAndTest.GrobMappingTueba
All Implemented Interfaces:
MappingInterface

public class GrobMappingTueba
extends java.lang.Object
implements MappingInterface


Constructor Summary
GrobMappingTueba()
           
 
Method Summary
 java.util.List<Token> map_tags(java.util.List<Token> tokens)
          Defines mapping for List<Token> E.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrobMappingTueba

public GrobMappingTueba()
Method Detail

map_tags

public java.util.List<Token> map_tags(java.util.List<Token> tokens)
Defines mapping for List<Token> E.g. if we need to map tags, given a list of Tokens, we need to map the pos field of every Token to a different pos.

Specified by:
map_tags in interface MappingInterface


Copyright © 2011. All Rights Reserved.