This is something added in MySQL 5.7, so perhaps it should be included in MariaDB.
"ngram and MeCab full-text parser plugins. As of MySQL 5.7.6, MySQL provides a built-in full-text ngram parser plugin that supports Chinese, Japanese, and Korean (CJK).
For more information, see Section 13.9.8, “ngram Full-Text Parser”
And the link referenced above is:
The MeCab task previously described here is now listed separated at