Koji Sekiguchi created OPENNLP-1219:
---------------------------------------

             Summary: change instance variable featureGenerators to protected 
in DefaultNameContextGenerator
                 Key: OPENNLP-1219
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1219
             Project: OpenNLP
          Issue Type: Improvement
    Affects Versions: 1.9.0
            Reporter: Koji Sekiguchi


TokenNameFinderTrainer allows users to customize TokenNameFinderFactory via 
-factory option. As I want to override 
DefaultNameContextGenerator.getContext(), I made the sub-class of 
TokenNameFinderFactory and created an instance of the sub-class of 
DefaultNameContextGenerator in the constructor of my TokenNameFinderFactory. 
However, I couldn't implement getContext() method of my 
DefaultNameContextGenerator because I couldn't access private member 
featureGenerators.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to