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

Auto-detect lyric's language. #263

Closed
andy840119 opened this issue Nov 28, 2020 · 4 comments
Closed

Auto-detect lyric's language. #263

andy840119 opened this issue Nov 28, 2020 · 4 comments
Assignees
Labels
editor Karaoke ruleset's editor area enhancement New feature or request
Milestone

Comments

@andy840119
Copy link
Member

in #262 , it might be more user-friendly if can auto-detect which language lyric is.

@andy840119 andy840119 added enhancement New feature or request editor Karaoke ruleset's editor area labels Nov 28, 2020
@andy840119 andy840119 added this to the 2020.1128 milestone Nov 28, 2020
@andy840119 andy840119 self-assigned this Nov 28, 2020
@andy840119
Copy link
Member Author

Seems can use Lucene.Net.Analysis.OpenNLP on language detection.
See :
https://www.itread01.com/content/1547731818.html

@andy840119
Copy link
Member Author

https://opennlp.apache.org/docs/1.9.1/manual/opennlp.html
Maybe need to read this article and understand how LanguageDetector works.

@andy840119
Copy link
Member Author

andy840119 commented Nov 28, 2020

Have LanguageGuessingTest sample in Lucene.Net.Tests.Analysis.Phonetic

Guess it's implemented with Beider-Morse Phonetic Matching and not accurate at all.
But it's a direction and maybe can add some language support like Japanese and change compare order?
Change order can be like :

  1. Japanese(can detect with is there any kanji and hiragana or katakana)
  2. Chinses(with weird text)
  3. English(a-z)
  4. .....

And can let user set their common mapping language if language are in other

@andy840119
Copy link
Member Author

This issue can be closed due to implemented by another package.

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

No branches or pull requests

1 participant