contains
Description
tf = contains(
also specifies whether to ignore letter case when checking substrings.documents,pat,IgnoreCase=flag)
Tip
Use the contains function to check substrings of the words in
documents by specifying substrings or patterns. To check entire words and n-grams in
documents, use the containsWords and containsNgrams functions respectively.
Examples
Input Arguments
Version History
Introduced in R2022b
See Also
containsNgrams | containsWords | tokenizedDocument | removeWords | removeStopWords | normalizeWords | replaceWords | doclength | context | replace