[ https://issues.apache.org/jira/browse/OPENNLP-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Wiesner updated OPENNLP-1495: ------------------------------------ Description: Several classes in the _opennlp.tools.ml_ package which inherit from _AbstractModelWriter_ suffer from code duplication, e.g. {_}PerceptronModelWriter{_}, {_}GISModelWriter{_}, and _NaiveBayesModelWriter_ Aims: * Code duplication should & can be cleared from that part of the code base. * Moreover, some of the the related tests classes can be (a) simplified, (b) improved for reduced execution time and (c) better readability. was: Several classes in the _opennlp.tools.ml_ package which inherit from _AbstractModelWriter_ suffer from code duplication, e.g. {_}PerceptronModelWriter{_}, {_}GISModelWriter{_}, and _NaiveBayesModelWriter_ Aims: * Code duplication should & can be cleared from that part of the code base. * Moreover, some of the the related tests classes can be (a) simplified, (b) improved for reduced execution time and (c) better readability. > Reduce code duplication in opennlp.tools.ml package > --------------------------------------------------- > > Key: OPENNLP-1495 > URL: https://issues.apache.org/jira/browse/OPENNLP-1495 > Project: OpenNLP > Issue Type: Improvement > Components: Build, Packaging and Test, Machine Learning > Affects Versions: 2.2.0 > Reporter: Martin Wiesner > Assignee: Martin Wiesner > Priority: Minor > Fix For: 2.2.1 > > > Several classes in the _opennlp.tools.ml_ package which inherit from > _AbstractModelWriter_ suffer from code duplication, e.g. > {_}PerceptronModelWriter{_}, {_}GISModelWriter{_}, and _NaiveBayesModelWriter_ > Aims: > * Code duplication should & can be cleared from that part of the code base. > * Moreover, some of the the related tests classes can be (a) simplified, (b) > improved for reduced execution time and (c) better readability. -- This message was sent by Atlassian Jira (v8.20.10#820010)