sanju2010 / ttc-project

Automatically exported from code.google.com/p/ttc-project
0 stars 0 forks source link

Feature names are ignored in uima-filter #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
uima-filter accepts configuration parameter `Feature` whose values can be colon 
separated <type name>:<feature name>.

But actually <feature name> is ignored and instead the value of 
`annotation.coverdText()` is always used.

The reason is that  we forgot to set a value to `this.feat` after splitting 
`this.feature` by colon.

As a result, all the `xxxLemmaFilter` which filter out SingleWordTermAnnotation 
are not working currently.

The additional code is below, to be inserted after l.64 in 
`uima/sandbox/filter/engines/Filter.java`

`this.feat = this.type.getFeatureByBaseName(feat)`

Original issue reported on code.google.com by utatanen...@gmail.com on 7 Nov 2013 at 2:45