[ https://issues.apache.org/jira/browse/OPENNLP-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koji Sekiguchi reassigned OPENNLP-1219: --------------------------------------- Assignee: Koji Sekiguchi > change private 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 > Assignee: Koji Sekiguchi > Priority: Minor > > 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)