---
title: "固有表現認識"
url: https://docs.catalyst.zoho.com/ja/sdk/python/v1/zia-services/text-analytics/named-entity-recognition/
description: "このページでは、Pythonアプリケーションで固有表現認識機能を使用する方法をサンプルコードスニペットと共に説明します。"
last_updated: 2026-02-23T12:39:41Z
service: Zia Services
type: general
related_links:
- name: "Named Entity Recognition Help"
url: /ja/zia-services/help/text-analytics/key-concepts/#named-entity-recognition
- name: "Named Entity Recognition - API"
url: /ja/api/code-reference/zia-services/text-analytics/named-entity-recognition/#NamedEntityRecognition
- name: "SDK Scopes"
url: /ja/sdk/python/v1/sdk-scopes
---
# 固有表現認識
[Zia固有表現認識](https://docs.catalyst.zoho.com/ja/zia-services/help/text-analytics/key-concepts/#named-entity-recognition)は、テキスト分析の一部で、テキストコンテンツを処理してキーワードを抽出し、さまざまなカテゴリに分類します。たとえば、テキスト内の単語が組織名、人名、または日付であることを判定し、適切なカテゴリに追加します。NERが認識するすべてのカテゴリの一覧については、[こちら](https://docs.catalyst.zoho.com/ja/zia-services/help/text-analytics/key-concepts/#named-entity-recognition)を参照してください。
レスポンスには、テキスト内で認識されたすべてのエンティティの配列と、それらが属するカテゴリを示すタグが返されます。また、各分類の精度を示す信頼度スコアもパーセンテージ値で含まれます。レスポンスには、テキスト内のエンティティの位置が開始インデックスと終了インデックスを通じて返されます。
以下に示すように、1回のリクエストで最大**1500文字**のテキストブロックを入力として渡すことができます。テキストは`get_NER_prediction()`に渡されます。
以下で使用されているコンポーネントインスタンス`zia`の詳細については、[こちらのヘルプセクション](https://docs.catalyst.zoho.com/ja/sdk/python/v1/zia-services/get-component-instance/)を参照してください。
**使用パラメータ**
| パラメータ名 |
データ型 |
定義 |
| `text` |
String |
**必須**パラメータ。エンティティを認識するテキストを格納します。 |
```python
zia = app.zia()
result = zia.get_NER_prediction(
[
"Zoho Corporation, is an Indian multinational technology company that makes web-based business tools. It is best known for Zoho Office Suite. The company was founded by Sridhar Vembu and Tony Thomas and has a presence in seven locations with its global headquarters in Chennai, India, and corporate headquarters in Pleasanton, California."
]
)
```
サンプルレスポンスを以下に示します:
```json
{
"ner":{
"general_entities":[
{
"start_index":0,
"confidence_score":98,
"end_index":16,
"ner_tag":"Organization",
"token":"Zoho Corporation"
},
{
"start_index":24,
"confidence_score":99,
"end_index":30,
"ner_tag":"Miscellaneous",
"token":"Indian"
},
{
"start_index":122,
"confidence_score":90,
"end_index":139,
"ner_tag":"Miscellaneous",
"token":"Zoho Office Suite"
},
{
"start_index":168,
"confidence_score":99,
"end_index":181,
"ner_tag":"Person",
"token":"Sridhar Vembu"
},
{
"start_index":186,
"confidence_score":96,
"end_index":197,
"ner_tag":"Person",
"token":"Tony Thomas"
},
{
"start_index":220,
"confidence_score":100,
"end_index":225,
"ner_tag":"Number",
"token":"seven"
},
{
"start_index":268,
"confidence_score":99,
"end_index":275,
"ner_tag":"City",
"token":"Chennai"
},
{
"start_index":277,
"confidence_score":98,
"end_index":282,
"ner_tag":"Country",
"token":"India"
},
{
"start_index":314,
"confidence_score":99,
"end_index":324,
"ner_tag":"City",
"token":"Pleasanton"
},
{
"start_index":326,
"confidence_score":91,
"end_index":336,
"ner_tag":"State",
"token":"California"
}
]
}
}
```
> **情報:** 上記の操作を実行するために必要な権限レベルを確認するには、[SDKスコープの表](https://docs.catalyst.zoho.com/ja/sdk/python/v1/sdk-scopes)を参照してください。