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

Support language tool language auto detection #151

Open
oblitum opened this issue Oct 1, 2020 · 5 comments
Open

Support language tool language auto detection #151

oblitum opened this issue Oct 1, 2020 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@oblitum
Copy link

oblitum commented Oct 1, 2020

LanguageTool have language auto detection:

  -adl, --autoDetect       auto-detect the language of the input text - note this will not detect
                           variants like 'English (US)', so you will not get spell checking for
                           languages with variants

It would be great if TeXtidote provided a means to use that instead of only supporting hardcoded language.

@sylvainhalle sylvainhalle added the enhancement New feature or request label Oct 1, 2020
@73
Copy link

73 commented Dec 4, 2020

That would be great indeed. I often find myself missing to provide --check.

@sylvainhalle
Copy link
Owner

Well, not providing --check is a different matter. TeXtidote can still verify things in a text without checking spelling and grammar, so the parameter is likely to remain mandatory.

sylvainhalle added a commit that referenced this issue Mar 31, 2021
@73
Copy link

73 commented Apr 1, 2021

But the language identifier could go. I write texts in two languages and can not reuse my config easily. So it would be just --check instead of --check en|fr|es|...

@sylvainhalle
Copy link
Owner

Yes, that's what I plan to implement. The option is probably going to be called --autocheck without any parameter.

@73
Copy link

73 commented Apr 1, 2021 via email

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

No branches or pull requests

3 participants