addLemmaDetails
Add lemma forms of tokens to documents
Syntax
Description
Use addLemmaDetails
to add lemma forms to
documents.
The function supports English, Japanese, and Korean text.
adds lemma details to updatedDocuments
= addLemmaDetails(documents
)documents
and updates the token details. To get
the lemma details from updatedDocuments
, use tokenDetails
.
discards previously computed details and recomputes them.updatedDocuments
= addLemmaDetails(documents
,'DiscardKnownValues',true)
Tip
Use addLemmaDetails
before using the lower
,
upper
, and normalizeWords
functions as
addLemmaDetails
uses information that is removed by these
functions.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018b