You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Catalyst.Models.English.Register();varnlp=awaitPipeline.ForAsync(Language.English);vardoc=newDocument("I used to have dogs",Language.English);nlp.ProcessSingle(doc);vartokenList=doc.ToTokenList();tokenList.ForEach(token =>Console.WriteLine($"{token.Value} -> {token.Lemma}"));/* Result: I -> I used -> use to -> to have -> have dogs -> dog*/
But check the presence of the *_lemma_lookup_*.bin file and the ILemmatizer implementation for the language you need.
Could you please document how to use the lemmatizer in a pipeline? I am unable to find any sample code in the samples directory on this.
The text was updated successfully, but these errors were encountered: