This is because these functions belong to a specific class. For instance, "doc2cell" function is a method of "tokenizedDocument" class. Therefore, in order to access these function, you need to have an object of the corresponding class that they belong to.
For example, to access "doc2cell" function, you need to have input documents, specified as atokenizedDocument array.
documents = tokenizedDocument([ ...
"an example of a short sentence" ...
"a second short sentence"])
documents.doc2cell % or doc2cell(documents)
Please refer to the domentation for each of these function for more details about the class they belong to.
1. wordEmbedding Class for "word2vec" and "vec2word":
Best Answer