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

Command line option to use other false friend files #192

Closed
danielnaber opened this issue Sep 23, 2014 · 2 comments
Closed

Command line option to use other false friend files #192

danielnaber opened this issue Sep 23, 2014 · 2 comments

Comments

@danielnaber
Copy link
Member

[copied from http://sourceforge.net/p/languagetool/bugs/144/]

Please offer an option so that LanguageTool will not use the [languagecode]/grammar.xml and false-friends.xml files but files specified in options on the command line. I would like to propose these options:
--override-grammar-xml FILE (e.g. /tmp/languagetool/rules/nl/grammar.xml)
--override-ff-xml FILE (e.g. /tmp/languagetool/rules/false-friends.xml)

For more intensive testing, I would like to propose this option:
--override-rules-path PATH (e.g. /tmp/languagetool/rules)

Implementing this to be able to override to use which XML files will make development and testing of rules more easier.

@milekpl
Copy link
Member

milekpl commented Mar 1, 2015

Added --rulefile to implement the first option. The false friend file support needs to be reworked anyway...

@milekpl milekpl changed the title Command line option to use other XML files Command line option to use other false friend files Mar 1, 2015
milekpl added a commit that referenced this issue Mar 2, 2015
milekpl added a commit that referenced this issue Mar 2, 2015
@milekpl
Copy link
Member

milekpl commented Mar 2, 2015

Implemented.

@milekpl milekpl closed this as completed Mar 2, 2015
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

2 participants