[ 
https://issues.apache.org/jira/browse/OPENNLP-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156677#comment-13156677
 ] 

Joern Kottmann commented on OPENNLP-402:
----------------------------------------

The iteration and cutoff parameter will be removed. They are only there for 
backward compatibility.

The notion of -param value does most often not rely on a certain parameter 
oder, and I believe having this is highly confusing to a user.

Should we implement the solution where to format is added to the tool name?
I think that has a couple of advantages
1. I only get help for parameters I need, and I can still see the help message 
while typing my command. That is not possible when the help message is a few 
screens long.
2. Parameter order does not matter
3. It works as it did before, default will be opennlp format

What do you think?

===
In general, implicit format choice removes the need of 1 extra argument. And 
although I like it and thought of it, the problem is that sometimes it is not 
possible to rename the files - they are on the CD-ROM, or read-only network 
share, or in the database which has a JDBC URL. 
===

I don't get your point here. Why do we need to rename the files? I just need to 
provide a path to a file (or a directory).
                
> 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
>              Labels: patch
>         Attachments: 0016-CLI-tools-and-formats-refactored.patch
>
>
> 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

        

Reply via email to