|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.examples.tagger.trainAndTest.TagMappingBrown
public class TagMappingBrown
| Constructor Summary | |
|---|---|
TagMappingBrown()
|
|
| Method Summary | |
|---|---|
java.util.List |
map_tags(java.util.List 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 |
|---|
public TagMappingBrown()
| Method Detail |
|---|
public java.util.List map_tags(java.util.List tokens)
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.
Basically the mapping performed in this class is just a case of simple "normalization",
we just discard compound tags of the Brown corpus here.
map_tags in interface MappingInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||