キーワード抽出
Ziaキーワード抽出は、テキスト分析の一部で、テキストコンテンツを処理してテキストのハイライトを抽出します。抽出された用語は、KeywordsとKeyphrasesの2つのカテゴリに分類されます。これらのハイライトは、テキストの簡潔な要約を提供し、テキスト全体の抽象化を行います。
レスポンスには、テキストから抽出されたキーワードの配列と、キーフレーズの配列が含まれます。
以下に示すように、1回のリクエストで最大1500文字のテキストブロックを入力として渡すことができます。テキストはget_keyword_extraction()に渡されます。キーワードとキーフレーズは、個別のリストとして取得されます。
以下で使用されているコンポーネントインスタンスziaの詳細については、こちらのヘルプセクションを参照してください。
使用パラメータ
| パラメータ名 | データ型 | 定義 |
|---|---|---|
| text | String | 必須パラメータ。キーワードを抽出するテキストを格納します。 |
copy
zia = app.zia()
result = zia.get_keyword_extraction(
[
"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."
]
)
サンプルレスポンスを以下に示します:
copy
{
"keyword_extractor":{
"keywords":[
"Chennai",
"company",
"India",
"Indian",
"presence",
"locations",
"Pleasanton",
"California"
],
"keyphrases":[
"corporate headquarters",
"multinational technology company",
"Zoho Corporation",
"Zoho Office Suite",
"global headquarters",
"Tony Thomas",
"web-based business tools",
"Sridhar Vembu"
]
}
}
情報: 上記の操作を実行するために必要な権限レベルを確認するには、SDKスコープの表を参照してください。
最終更新日 2026-02-23 18:09:41 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit