A simple wrapper for natto-py. It's to allow to pickle of MeCab object.
"ShioKobu" means pickled sea kelp with salt in Japanese.
shiokobu.MeCab's API is same as natto.MeCab.
The only difference between natto.MeCab and shiokobu.MeCab is that shiokobu.MeCab can be picklable.
import pickle
from shiokobu import MeCab
nm = MeCab("-d/var/lib/mecab/dic/juman-utf8")
print(nm.parse("すもももももももものうち"))
# picklable
nm2 = pickle.loads(pickle.dumps(nm))
print(nm2.parse("すもももももももものうち"))This software is released under the MIT License, see LICENSE file.