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 new methods to LanguageDetectorBuilder and rename existing ones #61

Closed
pemistahl opened this issue Jun 24, 2020 · 0 comments
Closed
Labels
enhancement New feature or request
Milestone

Comments

@pemistahl
Copy link
Owner

For the user's convenience, I will add new methods allowing to build LanguageDetector from languages with a certain script:

  • LanguageDetectorBuilder.fromAllLanguagesWithArabicScript()
  • LanguageDetectorBuilder.fromAllLanguagesWithCyrillicScript()
  • LanguageDetectorBuilder.fromAllLanguagesWithDevanagariScript()
  • LanguageDetectorBuilder.fromAllLanguagesWithLatinScript()

At the same time, I will rename all fromAllBuiltIn... methods to fromAll... to make them more succinct and clear. So this is a breaking change but it will be the only one. Starting from version 1.0.0, there won't be any breaking changes anymore.

@pemistahl pemistahl added the enhancement New feature or request label Jun 24, 2020
@pemistahl pemistahl added this to the Lingua 1.0.0 milestone Jun 24, 2020
pemistahl added a commit that referenced this issue Jun 24, 2020
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