Main Content
addTypeDetails
Add token type details to documents
Syntax
Description
detects the token types in updatedDocuments
= addTypeDetails(documents
)documents
and updates the token details. The
function adds type details to the tokens with unknown type only. To get the token types from
updatedDocuments
, use tokenDetails
.
specifies additional options using one or more name-value pairs.updatedDocuments
= addTypeDetails(documents
,Name,Value
)
Tip
Use addTypeDetails
before using the lower
,
upper
, and erasePunctuation
functions as
addTypeDetails
uses information that is removed by these
functions.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018b