googlesamples / googlesamples/mlkit

[Bug Report] Getting wrong language code for langauge identification

Open
#701 0 comments 0 reactions 1 assignee Assigned to @zhouyiself View on GitHub
Dominant language
Kotlin
Stars
4.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

I'm encountering an issue while trying to identify the language using identifyLanguage API, getting wrong language code for muliple english text.

e.g.
Input Text - **English (US), Gujarati, Hindi, Marathi**
Getting Language Code - **hi-Latn**
ConfidenceThreshold - 0.1f

Expected Language Code : **en**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.