Dear members,

I am trying to setup the OpenNLP NameFinder in a project with
part-of-speech tag feature. I extended my feature class from
FeatureGeneratorAdapter<http://opennlp.apache.org/documentation/1.5.2-incubating/apidocs/opennlp-tools/opennlp/tools/util/featuregen/FeatureGeneratorAdapter.html>
class,
and overrode following method. Unfortunately this method taking just raw
tokens in parameter. The problem is that how to pass POS tag information in
to this method?

public void createFeatures(List features, String[] tokens, int index,
String[] previousOutcomes)

-- 

_______________________________

With regards
Zoljargal Munkhjargal
Research Assistant and PhD Student
Information and Communication Technology (ICT)-Doctoral School
Department of Computer Science and Information Engineering.
University of Trento, Italy

Reply via email to