Skip to content

Feature request: Support several personal files with wordlists #5

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

Closed
amureki opened this issue Sep 11, 2017 · 1 comment
Closed

Feature request: Support several personal files with wordlists #5

amureki opened this issue Sep 11, 2017 · 1 comment
Labels
feature New feature request
Milestone

Comments

@amureki
Copy link
Contributor

amureki commented Sep 11, 2017

Hey @flashcode, thank you for a nice package!

I have a proposal for -P <file>, --pwl argument to support several values (comma separated, for example).

In my project, I have several files with exclude words (separate for each language) and selecting all of them would be very handy to be able to work with this check.

What do you think?
I probably, can spend some time, implementing this feature, if you up for it!

@flashcode flashcode added the feature New feature request label Sep 13, 2017
@flashcode
Copy link
Owner

Hi @amureki,

Nice idea, but not so easy to implement: the class DictWithPWL (from enchant: https://github.com/rfk/pyenchant/blob/master/enchant/__init__.py#L780) takes just one filename for PWL.

So either we must give None there and add all words manually (from multiple files), either we must build a temporary file that aggragates files and then use it in DictWithPWL.
I'll check which solution is easier to implement.

If you have other ideas, they are welcome.

@flashcode flashcode added this to the 3.0 milestone Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants