コンテンツへスキップ

Language Model Direct Access

言語モデルからエントリを取得し、検査するメソッド。

活用形のリスト

リクエスト

所定の語族内の指定された語彙素の活用形を取得

セキュリティ
Tisane-API-Key
クエリ
languagestring必須

The code of a language in Tisane. Example: "Tisaneにおける言語コード。例:en。"

例:language=en
lexemestring必須

検査対象の語彙素のID。

例:lexeme=3130180
familystring必須

検査対象のファミリーのID。

例:family=58443
curl -i -X GET \
  'https://api.tisane.ai/lm/inflections?language=en&lexeme=3130180&family=58443' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_API_KEY_HERE'

レスポンス

正常なレスポンス

ボディapplication/json
Array [
textstring
isLemmaboolean
featuresArray of objects
]
レスポンス
[ { "text": "bought", "features": [ … ] }, { "text": "bought", "features": [ … ] }, { "text": "buy", "isLemma": true, "features": [ … ] }, { "text": "buys", "features": [ … ] }, { "text": "buying", "features": [ … ] }, { "text": "buy", "features": [ … ] }, { "text": "buy", "features": [ … ] }, { "text": "buy", "features": [ … ] } ]