言語識別
![](https://developers.google.cn/static/ml-kit/images/language_detection2x.png?authuser=6&hl=ja)
ML Kit のオンデバイス言語識別 API を使用すると、テキスト文字列の言語を判断できます。
言語の識別は、言語情報がないユーザー提供テキストを扱うときに便利です。
iOS
Android
主な機能
検索結果の例
シンプルな言語識別 |
「私のホバークラフトはウナギがいっぱいです。」 |
en (英語) |
「Dao shan xue hai」 |
zh-Latn (ラテン化中国語) |
「ph'nglui mglw'nafh wgah'nagl fhtagn」 |
und (不特定) |
信頼度分布 |
「an amicable coup d'etat」 |
en (0.52)
fr (0.44)
ca (0.03)
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-05 UTC。
[null,null,["最終更新日 2024-09-05 UTC。"],[[["ML Kit's language identification API allows you to determine the language of a text string, which is particularly helpful when dealing with user-generated content that often lacks language information."],["It supports a wide range of languages, including romanized versions of Arabic, Bulgarian, Greek, Hindi, Japanese, Russian, and Chinese text."],["The API can provide a simple language identification or a confidence distribution across multiple languages for a given text."]]],[]]