diff --git a/mecab/swig/MeCab.i b/mecab/swig/MeCab.i index 4293942..e077f2e 100644 --- a/mecab/swig/MeCab.i +++ b/mecab/swig/MeCab.i @@ -14,6 +14,8 @@ %} %newobject surface; +%newobject MeCab::Model::createLattice; +%newobject MeCab::Model::createTagger; %exception { try { $action }