| 5038 | |
| 5039 | |
| 5040 | SWIGINTERN PyObject *_wrap_Node_prob_get(PyObject *self, PyObject *args) { |
| 5041 | PyObject *resultobj = 0; |
| 5042 | mecab_node_t *arg1 = (mecab_node_t *) 0 ; |
| 5043 | void *argp1 = 0 ; |
| 5044 | int res1 = 0 ; |
| 5045 | PyObject *swig_obj[1] ; |
| 5046 | float result; |
| 5047 | |
| 5048 | if (!SWIG_Python_UnpackTuple(args, "Node_prob_get", 0, 0, 0)) SWIG_fail; |
| 5049 | res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_node_t, 0 | 0 ); |
| 5050 | if (!SWIG_IsOK(res1)) { |
| 5051 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_prob_get" "', argument " "1"" of type '" "mecab_node_t *""'"); |
| 5052 | } |
| 5053 | arg1 = reinterpret_cast< mecab_node_t * >(argp1); |
| 5054 | result = (float) ((arg1)->prob); |
| 5055 | resultobj = SWIG_From_float(static_cast< float >(result)); |
| 5056 | return resultobj; |
| 5057 | fail: |
| 5058 | return NULL; |
| 5059 | } |
| 5060 | |
| 5061 | |
| 5062 | SWIGINTERN PyObject *_wrap_Node_wcost_get(PyObject *self, PyObject *args) { |
nothing calls this directly
no test coverage detected