Extract part-of-speech information from MeCab output for Japanese
words — Input tokens
Input tokens, specified as a string vector.
info — Information struct
Information struct with the following fields:
Feature– String vector of tokens of the same size as
wordscontaining the MeCab output lines in ChaSen format without the split tokens themselves.
PartOfSpeech– Numerical code used inside the MeCab-ipadic dictionary for the part-of-speech classification.
posTags — Extracted part-of-speech information
Extracted part-of-speech information, returned as a categorical vector the same size
Introduced in R2019b