Main Content
removeEmptyDocuments
Remove empty documents from tokenized document array, bag-of-words model, or bag-of-n-grams model
Syntax
Description
removes documents which have no words from newDocuments
= removeEmptyDocuments(documents
)documents
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017b
See Also
bagOfWords
| bagOfNgrams
| addDocument
| removeDocument
| tokenizedDocument