Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detecting typos/errors in command-line options #24

Open
hiroshinoji opened this issue Feb 2, 2016 · 0 comments
Open

Detecting typos/errors in command-line options #24

hiroshinoji opened this issue Feb 2, 2016 · 0 comments

Comments

@hiroshinoji
Copy link
Contributor

It is desirable to output errors or warnings when some unsupported arguments or wrong value for some key is given. For example, ccg eats kBest option, but it is desirable when a user instead gives kbest option. Also, some options only accept a value in some tuple. For example, the dictionary option in kuromoji, which now I'm implementing, would only accept possible values such as ipa, juman, etc. Now a type check works for some options (e.g., Int options), but this mechanism should be extended possibly using enum (now all options except numeric values are string).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant