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

Add auto language detection #45

Open
Dankoy opened this issue Dec 21, 2023 · 0 comments
Open

Add auto language detection #45

Dankoy opened this issue Dec 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Dankoy
Copy link
Owner

Dankoy commented Dec 21, 2023

Is your feature request related to a problem? Please describe.
When user used "auto" as sourceLanguage key in command "anki-exporter", application skip dictionaryapi. It would be better to detect automatically which language is used before make decision to use dictionaryapi or not.

Describe the solution you'd like
Use Tika language detection to check whole vocabulary-builder database. Seems like it's correct to take one word in book as example word and detect language for whole book. As long as whole book read in one language is should be enough.

Describe alternatives you've considered
None

Additional context
None

@Dankoy Dankoy added the enhancement New feature or request label Dec 21, 2023
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

1 participant