opennlp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aliaksandr Autayeu <aliaksa...@autayeu.com>
Subject Re: [jira] [Commented] (OPENNLP-402) CLI tools and formats refactored
Date Mon, 05 Dec 2011 21:22:50 GMT
The refactoring moved language parameters into factories - it can be better
used there, for example for filtering some multilingual datasets, or to
allow language-specific things. So it became a part of data format
parameters in stream factories. In some cases it is necessary, it others it
might not be. It is always needed for training. It might be needed for some
datasets for evaluation as well. Since the formats now work uniformly, in
some cases it became necessary, because the same factory produces a stream
for testing and for training and thus requires the language
parameter. Factories are not aware of the way the stream will be used.
Please, advise if you know a better solution.

Aliaksandr

On Mon, Dec 5, 2011 at 4:48 AM, James Kosin <james.kosin@gmail.com> wrote:

> Hmm....
> Any reason why the evaluator needs a -lang parameter as being mandatory
> now?
>
> James
>
> On 12/1/2011 3:30 PM, Aliaksandr Autayeu (Commented) (JIRA) wrote:
> >     [
> https://issues.apache.org/jira/browse/OPENNLP-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161118#comment-13161118]
> >
> > Aliaksandr Autayeu commented on OPENNLP-402:
> > --------------------------------------------
> >
> > OK, I'll make another proposal for the class hierarchy in CLI package,
> taking into account current discussion. I'll see other tickets as well.
> >
> >> CLI tools and formats refactored
> >> --------------------------------
> >>
> >>                 Key: OPENNLP-402
> >>                 URL: https://issues.apache.org/jira/browse/OPENNLP-402
> >>             Project: OpenNLP
> >>          Issue Type: Improvement
> >>          Components: Command Line Interface, Formats
> >>    Affects Versions: tools-1.5.3-incubating
> >>            Reporter: Aliaksandr Autayeu
> >>            Assignee: Aliaksandr Autayeu
> >>              Labels: patch
> >>         Attachments: 0016-CLI-tools-and-formats-refactored.patch,
> 0017-added-direct-format-support-to-CLI-tools-and-formats.patch,
> open-nlp-cli-package.png
> >>
> >>
> >> Proposed patch refactors CLI tools and simplifies the code by
> introducing hierarchy and removing a lot of code duplication. It also
> introduces better error and help messages, including help for formats and
> listing available formats in various tools, which are now able to work with
> formats directly. This, in turn, eliminates the need to keep converted
> files on disk.
> > --
> > This message is automatically generated by JIRA.
> > If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> > For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> >
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message