Elasticsearch : Access the lemmas of the analyzed text

Hi everyone!

I would like to extract the lemmatized form of the tokens instead of the stemmed form of the tokens.
I know that I could get the stems using the following code

curl -X GET "localhost:9200/_analyze?pretty" -H 'Content-Type: application/json' -d'
{
  "tokenizer": "standard",
  "filter": [ "stemmer" ],
  "text": "the foxes are jumping quickly"
}

Is there a way to get the results of the lemmatizer instead?
e.g.
for
"are" -> "be"
"quickly" -> "quick"
etc.

Thank you in advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.