LexemaDevelopersSign in

Lemmatize a form

GEThttps://api.lexema.fyi/v1/lemmatize

The lemma of each /lookup candidate, and where q sits in its forms.

Query parameters

  • qstringrequired

    The word, 1 to 128 characters.

Responses

  • 200

    results holds one lemma per candidate.

  • 404

    The word is not in the release; results is empty.

Request

curl -G -H "X-API-Key: lx_…" \
  --data-urlencode "q=andavano" \
  "https://api.lexema.fyi/v1/lemmatize"

Response

200
{
  "query": "andavano",
  "release_id": "it-0c432803",
  "results": [
    {
      "id": "it-0c432803:2345",
      "lemma": "andare",
      "pos": "verb",
      "pos_title": "Verbo",
      "match": {
        "surface": "andavano",
        "via": "form_of",
        "grammar": [
          {
            "mood": "indicativo",
            "tense": "imperfetto",
            "person": "loro"
          }
        ]
      },
      "attribution": {
        "licence": "CC BY-SA 4.0",
        "licence_url": "https://creativecommons.org/licenses/by-sa/4.0/",
        "source": "Wikizionario",
        "source_url": "https://it.wiktionary.org/wiki/andare"
      }
    }
  ]
}