MCPcopy Create free account
hub / github.com/SamuraiT/mecab-python3 / _wrap_Model_dictionary_info

Function _wrap_Model_dictionary_info

src/MeCab/MeCab_wrap.cpp:6421–6450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6419SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Lattice) /* defines _wrap_delete_Lattice_destructor_closure */
6420
6421SWIGINTERN PyObject *_wrap_Model_dictionary_info(PyObject *self, PyObject *args) {
6422 PyObject *resultobj = 0;
6423 MeCab::Model *arg1 = (MeCab::Model *) 0 ;
6424 void *argp1 = 0 ;
6425 int res1 = 0 ;
6426 PyObject *swig_obj[1] ;
6427 MeCab::DictionaryInfo *result = 0 ;
6428
6429 if (!SWIG_Python_UnpackTuple(args, "Model_dictionary_info", 0, 0, 0)) SWIG_fail;
6430 res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MeCab__Model, 0 | 0 );
6431 if (!SWIG_IsOK(res1)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Model_dictionary_info" "', argument " "1"" of type '" "MeCab::Model const *""'");
6433 }
6434 arg1 = reinterpret_cast< MeCab::Model * >(argp1);
6435 {
6436 try {
6437 result = (MeCab::DictionaryInfo *)((MeCab::Model const *)arg1)->dictionary_info();
6438 }
6439 catch (char *e) {
6440 SWIG_exception (SWIG_RuntimeError, e);
6441 }
6442 catch (const char *e) {
6443 SWIG_exception (SWIG_RuntimeError, (char*)e);
6444 }
6445 }
6446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mecab_dictionary_info_t, 0 | 0 );
6447 return resultobj;
6448fail:
6449 return NULL;
6450}
6451
6452
6453SWIGINTERN PyObject *_wrap_Model_transition_cost(PyObject *self, PyObject *args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected