Skip to content

Language Model Direct Access

Methods to retrieve and inspect entries from the language models.

List inflected forms

Request

Retrieves inflected forms of a specified lexeme within a given language family.

Security
Tisane-API-Key
Query
languagestringrequired

The IETF BCP 47 language tag supported in Tisane. Example: en.

Example:language=en
lexemeintegerrequired

The ID of a lexeme to inspect.

Example:lexeme=3130180
familyintegerrequired

The ID of a family to inspect.

Example: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'

Responses

Successful response

Bodyapplication/json
Array [
textstring
isLemmaboolean
featuresArray of objects
]
Response
[ { "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": [ … ] } ]