Error compiling Cython file:
------------------------------------------------------------
...
cimport cython
from openjtalk.mecab cimport Mecab, Mecab_initialize, Mecab_load, Mecab_analysis
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:14:0: 'openjtalk\njd\NJD_print.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
cimport cython
from openjtalk.mecab cimport Mecab, Mecab_initialize, Mecab_load, Mecab_analysis
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:14:0: 'openjtalk\njd\NJD_clear.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
cimport cython
from openjtalk.mecab cimport Mecab, Mecab_initialize, Mecab_load, Mecab_analysis
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:15:0: 'openjtalk.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.mecab cimport Mecab, Mecab_initialize, Mecab_load, Mecab_analysis
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:16:0: 'openjtalk\jpcommon.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.mecab cimport Mecab, Mecab_initialize, Mecab_load, Mecab_analysis
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:16:0: 'openjtalk\jpcommon\JPCommon.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.mecab cimport Mecab, Mecab_initialize, Mecab_load, Mecab_analysis
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:16:0: 'openjtalk\jpcommon\JPCommon_initialize.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.mecab cimport Mecab, Mecab_initialize, Mecab_load, Mecab_analysis
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:16:0: 'openjtalk\jpcommon\JPCommon_make_label.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.mecab cimport Mecab, Mecab_initialize, Mecab_load, Mecab_analysis
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:17:0: 'openjtalk\jpcommon\JPCommon_get_label_size.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.mecab cimport Mecab, Mecab_initialize, Mecab_load, Mecab_analysis
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:17:0: 'openjtalk\jpcommon\JPCommon_get_label_feature.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
from openjtalk.jpcommon cimport JPCommon_refresh, JPCommon_clear
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:18:0: 'openjtalk\jpcommon\JPCommon_refresh.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.mecab cimport Mecab_get_feature, Mecab_get_size, Mecab_refresh, Mecab_clear
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
from openjtalk.jpcommon cimport JPCommon_refresh, JPCommon_clear
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:18:0: 'openjtalk\jpcommon\JPCommon_clear.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.njd cimport NJD, NJD_initialize, NJD_refresh, NJD_print, NJD_clear
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
from openjtalk.jpcommon cimport JPCommon_refresh, JPCommon_clear
from openjtalk cimport njd2jpcommon
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:19:0: 'openjtalk\njd2jpcommon.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
from openjtalk.jpcommon cimport JPCommon_refresh, JPCommon_clear
from openjtalk cimport njd2jpcommon
from openjtalk.text2mecab cimport text2mecab
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:20:0: 'openjtalk\text2mecab.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk cimport njd as _njd
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
from openjtalk.jpcommon cimport JPCommon_refresh, JPCommon_clear
from openjtalk cimport njd2jpcommon
from openjtalk.text2mecab cimport text2mecab
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:20:0: 'openjtalk\text2mecab\text2mecab.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
from openjtalk.jpcommon cimport JPCommon_refresh, JPCommon_clear
from openjtalk cimport njd2jpcommon
from openjtalk.text2mecab cimport text2mecab
from openjtalk.mecab2njd cimport mecab2njd
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:21:0: 'openjtalk\mecab2njd.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.jpcommon cimport JPCommon, JPCommon_initialize,JPCommon_make_label
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
from openjtalk.jpcommon cimport JPCommon_refresh, JPCommon_clear
from openjtalk cimport njd2jpcommon
from openjtalk.text2mecab cimport text2mecab
from openjtalk.mecab2njd cimport mecab2njd
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:21:0: 'openjtalk\mecab2njd\mecab2njd.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.jpcommon cimport JPCommon_get_label_size, JPCommon_get_label_feature
from openjtalk.jpcommon cimport JPCommon_refresh, JPCommon_clear
from openjtalk cimport njd2jpcommon
from openjtalk.text2mecab cimport text2mecab
from openjtalk.mecab2njd cimport mecab2njd
from openjtalk.njd2jpcommon cimport njd2jpcommon
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:22:0: 'openjtalk\njd2jpcommon\njd2jpcommon.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk cimport njd2jpcommon
from openjtalk.text2mecab cimport text2mecab
from openjtalk.mecab2njd cimport mecab2njd
from openjtalk.njd2jpcommon cimport njd2jpcommon
cdef njd_node_get_string(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:24:25: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.njd2jpcommon cimport njd2jpcommon
cdef njd_node_get_string(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_string(node))).decode("utf-8")
cdef njd_node_get_pos(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:27:22: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_string(node))).decode("utf-8")
cdef njd_node_get_pos(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos(node))).decode("utf-8")
cdef njd_node_get_pos_group1(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:30:29: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_pos(node))).decode("utf-8")
cdef njd_node_get_pos_group1(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos_group1(node))).decode("utf-8")
cdef njd_node_get_pos_group2(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:33:29: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_pos_group1(node))).decode("utf-8")
cdef njd_node_get_pos_group2(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos_group2(node))).decode("utf-8")
cdef njd_node_get_pos_group3(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:36:29: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_pos_group2(node))).decode("utf-8")
cdef njd_node_get_pos_group3(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos_group3(node))).decode("utf-8")
cdef njd_node_get_ctype(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:39:24: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_pos_group3(node))).decode("utf-8")
cdef njd_node_get_ctype(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_ctype(node))).decode("utf-8")
cdef njd_node_get_cform(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:42:24: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_ctype(node))).decode("utf-8")
cdef njd_node_get_cform(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_cform(node))).decode("utf-8")
cdef njd_node_get_orig(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:45:23: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_cform(node))).decode("utf-8")
cdef njd_node_get_orig(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_orig(node))).decode("utf-8")
cdef njd_node_get_read(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:48:23: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_orig(node))).decode("utf-8")
cdef njd_node_get_read(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_read(node))).decode("utf-8")
cdef njd_node_get_pron(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:51:23: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_read(node))).decode("utf-8")
cdef njd_node_get_pron(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pron(node))).decode("utf-8")
cdef njd_node_get_acc(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:54:22: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return (<bytes>(_njd.NJDNode_get_pron(node))).decode("utf-8")
cdef njd_node_get_acc(_njd.NJDNode* node):
return _njd.NJDNode_get_acc(node)
cdef njd_node_get_mora_size(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:57:28: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return _njd.NJDNode_get_acc(node)
cdef njd_node_get_mora_size(_njd.NJDNode* node):
return _njd.NJDNode_get_mora_size(node)
cdef njd_node_get_chain_rule(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:60:29: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return _njd.NJDNode_get_mora_size(node)
cdef njd_node_get_chain_rule(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_chain_rule(node))).decode("utf-8")
cdef njd_node_get_chain_flag(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:63:29: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_chain_flag(_njd.NJDNode* node):
return _njd.NJDNode_get_chain_flag(node)
cdef njd_node_print(_njd.NJDNode* node):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:67:20: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
njd_node_get_chain_rule(node),
njd_node_get_chain_flag(node)
)
cdef njd_print(_njd.NJD* njd):
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:86:15: 'NJD' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
"""OpenJTalk
Args:
dn_mecab (bytes): Dictionaly path for MeCab.
"""
cdef Mecab* mecab
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:100:9: 'Mecab' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
Args:
dn_mecab (bytes): Dictionaly path for MeCab.
"""
cdef Mecab* mecab
cdef NJD* njd
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:101:9: 'NJD' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
Args:
dn_mecab (bytes): Dictionaly path for MeCab.
"""
cdef Mecab* mecab
cdef NJD* njd
cdef JPCommon* jpcommon
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:102:9: 'JPCommon' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
njd_node_get_chain_flag(node)
)
cdef njd_print(_njd.NJD* njd):
cdef _njd.NJDNode* node = njd.head
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:87:9: 'NJDNode' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
from openjtalk.text2mecab cimport text2mecab
from openjtalk.mecab2njd cimport mecab2njd
from openjtalk.njd2jpcommon cimport njd2jpcommon
cdef njd_node_get_string(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_string(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:25:24: cimported module has no attribute 'NJDNode_get_string'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_string(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_string(node))).decode("utf-8")
cdef njd_node_get_pos(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:28:24: cimported module has no attribute 'NJDNode_get_pos'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_pos(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos(node))).decode("utf-8")
cdef njd_node_get_pos_group1(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos_group1(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:31:24: cimported module has no attribute 'NJDNode_get_pos_group1'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_pos_group1(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos_group1(node))).decode("utf-8")
cdef njd_node_get_pos_group2(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos_group2(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:34:24: cimported module has no attribute 'NJDNode_get_pos_group2'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_pos_group2(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos_group2(node))).decode("utf-8")
cdef njd_node_get_pos_group3(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos_group3(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:37:24: cimported module has no attribute 'NJDNode_get_pos_group3'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_pos_group3(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pos_group3(node))).decode("utf-8")
cdef njd_node_get_ctype(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_ctype(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:40:24: cimported module has no attribute 'NJDNode_get_ctype'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_ctype(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_ctype(node))).decode("utf-8")
cdef njd_node_get_cform(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_cform(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:43:24: cimported module has no attribute 'NJDNode_get_cform'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_cform(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_cform(node))).decode("utf-8")
cdef njd_node_get_orig(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_orig(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:46:24: cimported module has no attribute 'NJDNode_get_orig'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_orig(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_orig(node))).decode("utf-8")
cdef njd_node_get_read(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_read(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:49:24: cimported module has no attribute 'NJDNode_get_read'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_read(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_read(node))).decode("utf-8")
cdef njd_node_get_pron(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pron(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:52:24: cimported module has no attribute 'NJDNode_get_pron'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_pron(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_pron(node))).decode("utf-8")
cdef njd_node_get_acc(_njd.NJDNode* node):
return _njd.NJDNode_get_acc(node)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:55:15: cimported module has no attribute 'NJDNode_get_acc'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_acc(_njd.NJDNode* node):
return _njd.NJDNode_get_acc(node)
cdef njd_node_get_mora_size(_njd.NJDNode* node):
return _njd.NJDNode_get_mora_size(node)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:58:15: cimported module has no attribute 'NJDNode_get_mora_size'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_mora_size(_njd.NJDNode* node):
return _njd.NJDNode_get_mora_size(node)
cdef njd_node_get_chain_rule(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_chain_rule(node))).decode("utf-8")
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:61:24: cimported module has no attribute 'NJDNode_get_chain_rule'
Error compiling Cython file:
------------------------------------------------------------
...
cdef njd_node_get_chain_rule(_njd.NJDNode* node):
return (<bytes>(_njd.NJDNode_get_chain_rule(node))).decode("utf-8")
cdef njd_node_get_chain_flag(_njd.NJDNode* node):
return _njd.NJDNode_get_chain_flag(node)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:64:17: cimported module has no attribute 'NJDNode_get_chain_flag'
Error compiling Cython file:
------------------------------------------------------------
...
cdef Mecab* mecab
cdef NJD* njd
cdef JPCommon* jpcommon
def __cinit__(self, bytes dn_mecab=b"/usr/local/dic"):
self.mecab = new Mecab()
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:105:25: 'Mecab' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef Mecab* mecab
cdef NJD* njd
cdef JPCommon* jpcommon
def __cinit__(self, bytes dn_mecab=b"/usr/local/dic"):
self.mecab = new Mecab()
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:105:21: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
cdef NJD* njd
cdef JPCommon* jpcommon
def __cinit__(self, bytes dn_mecab=b"/usr/local/dic"):
self.mecab = new Mecab()
self.njd = new NJD()
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:106:23: 'NJD' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef NJD* njd
cdef JPCommon* jpcommon
def __cinit__(self, bytes dn_mecab=b"/usr/local/dic"):
self.mecab = new Mecab()
self.njd = new NJD()
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:106:19: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
cdef JPCommon* jpcommon
def __cinit__(self, bytes dn_mecab=b"/usr/local/dic"):
self.mecab = new Mecab()
self.njd = new NJD()
self.jpcommon = new JPCommon()
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:107:28: 'JPCommon' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef JPCommon* jpcommon
def __cinit__(self, bytes dn_mecab=b"/usr/local/dic"):
self.mecab = new Mecab()
self.njd = new NJD()
self.jpcommon = new JPCommon()
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:107:24: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
def __cinit__(self, bytes dn_mecab=b"/usr/local/dic"):
self.mecab = new Mecab()
self.njd = new NJD()
self.jpcommon = new JPCommon()
Mecab_initialize(self.mecab)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:109:8: 'Mecab_initialize' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
self.mecab = new Mecab()
self.njd = new NJD()
self.jpcommon = new JPCommon()
Mecab_initialize(self.mecab)
NJD_initialize(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:110:8: 'NJD_initialize' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
self.njd = new NJD()
self.jpcommon = new JPCommon()
Mecab_initialize(self.mecab)
NJD_initialize(self.njd)
JPCommon_initialize(self.jpcommon)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:111:8: 'JPCommon_initialize' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
self._clear()
raise RuntimeError("Failed to initalize Mecab")
def _clear(self):
Mecab_clear(self.mecab)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:120:6: 'Mecab_clear' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
raise RuntimeError("Failed to initalize Mecab")
def _clear(self):
Mecab_clear(self.mecab)
NJD_clear(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:121:6: 'NJD_clear' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
def _clear(self):
Mecab_clear(self.mecab)
NJD_clear(self.njd)
JPCommon_clear(self.jpcommon)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:122:6: 'JPCommon_clear' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
Mecab_clear(self.mecab)
NJD_clear(self.njd)
JPCommon_clear(self.jpcommon)
def _load(self, bytes dn_mecab):
return Mecab_load(self.mecab, dn_mecab)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:125:15: 'Mecab_load' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
"""Run OpenJTalk's text processing frontend
"""
if isinstance(text, str):
text = text.encode("utf-8")
cdef char buff[8192]
text2mecab(buff, text)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:134:8: 'text2mecab' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
"""
if isinstance(text, str):
text = text.encode("utf-8")
cdef char buff[8192]
text2mecab(buff, text)
Mecab_analysis(self.mecab, buff)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:135:8: 'Mecab_analysis' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
if isinstance(text, str):
text = text.encode("utf-8")
cdef char buff[8192]
text2mecab(buff, text)
Mecab_analysis(self.mecab, buff)
mecab2njd(self.njd, Mecab_get_feature(self.mecab), Mecab_get_size(self.mecab))
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:136:8: 'mecab2njd' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
if isinstance(text, str):
text = text.encode("utf-8")
cdef char buff[8192]
text2mecab(buff, text)
Mecab_analysis(self.mecab, buff)
mecab2njd(self.njd, Mecab_get_feature(self.mecab), Mecab_get_size(self.mecab))
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:136:28: 'Mecab_get_feature' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
if isinstance(text, str):
text = text.encode("utf-8")
cdef char buff[8192]
text2mecab(buff, text)
Mecab_analysis(self.mecab, buff)
mecab2njd(self.njd, Mecab_get_feature(self.mecab), Mecab_get_size(self.mecab))
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:136:59: 'Mecab_get_size' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
text = text.encode("utf-8")
cdef char buff[8192]
text2mecab(buff, text)
Mecab_analysis(self.mecab, buff)
mecab2njd(self.njd, Mecab_get_feature(self.mecab), Mecab_get_size(self.mecab))
_njd.njd_set_pronunciation(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:137:12: cimported module has no attribute 'njd_set_pronunciation'
Error compiling Cython file:
------------------------------------------------------------
...
cdef char buff[8192]
text2mecab(buff, text)
Mecab_analysis(self.mecab, buff)
mecab2njd(self.njd, Mecab_get_feature(self.mecab), Mecab_get_size(self.mecab))
_njd.njd_set_pronunciation(self.njd)
_njd.njd_set_digit(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:138:12: cimported module has no attribute 'njd_set_digit'
Error compiling Cython file:
------------------------------------------------------------
...
text2mecab(buff, text)
Mecab_analysis(self.mecab, buff)
mecab2njd(self.njd, Mecab_get_feature(self.mecab), Mecab_get_size(self.mecab))
_njd.njd_set_pronunciation(self.njd)
_njd.njd_set_digit(self.njd)
_njd.njd_set_accent_phrase(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:139:12: cimported module has no attribute 'njd_set_accent_phrase'
Error compiling Cython file:
------------------------------------------------------------
...
Mecab_analysis(self.mecab, buff)
mecab2njd(self.njd, Mecab_get_feature(self.mecab), Mecab_get_size(self.mecab))
_njd.njd_set_pronunciation(self.njd)
_njd.njd_set_digit(self.njd)
_njd.njd_set_accent_phrase(self.njd)
_njd.njd_set_accent_type(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:140:12: cimported module has no attribute 'njd_set_accent_type'
Error compiling Cython file:
------------------------------------------------------------
...
mecab2njd(self.njd, Mecab_get_feature(self.mecab), Mecab_get_size(self.mecab))
_njd.njd_set_pronunciation(self.njd)
_njd.njd_set_digit(self.njd)
_njd.njd_set_accent_phrase(self.njd)
_njd.njd_set_accent_type(self.njd)
_njd.njd_set_unvoiced_vowel(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:141:12: cimported module has no attribute 'njd_set_unvoiced_vowel'
Error compiling Cython file:
------------------------------------------------------------
...
_njd.njd_set_pronunciation(self.njd)
_njd.njd_set_digit(self.njd)
_njd.njd_set_accent_phrase(self.njd)
_njd.njd_set_accent_type(self.njd)
_njd.njd_set_unvoiced_vowel(self.njd)
_njd.njd_set_long_vowel(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:142:12: cimported module has no attribute 'njd_set_long_vowel'
Error compiling Cython file:
------------------------------------------------------------
...
_njd.njd_set_digit(self.njd)
_njd.njd_set_accent_phrase(self.njd)
_njd.njd_set_accent_type(self.njd)
_njd.njd_set_unvoiced_vowel(self.njd)
_njd.njd_set_long_vowel(self.njd)
njd2jpcommon(self.jpcommon, self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:143:8: 'njd2jpcommon' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
_njd.njd_set_accent_phrase(self.njd)
_njd.njd_set_accent_type(self.njd)
_njd.njd_set_unvoiced_vowel(self.njd)
_njd.njd_set_long_vowel(self.njd)
njd2jpcommon(self.jpcommon, self.njd)
JPCommon_make_label(self.jpcommon)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:144:8: 'JPCommon_make_label' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
_njd.njd_set_unvoiced_vowel(self.njd)
_njd.njd_set_long_vowel(self.njd)
njd2jpcommon(self.jpcommon, self.njd)
JPCommon_make_label(self.jpcommon)
cdef int label_size = JPCommon_get_label_size(self.jpcommon)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:146:30: 'JPCommon_get_label_size' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
njd2jpcommon(self.jpcommon, self.njd)
JPCommon_make_label(self.jpcommon)
cdef int label_size = JPCommon_get_label_size(self.jpcommon)
cdef char** label_feature
label_feature = JPCommon_get_label_feature(self.jpcommon)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:148:24: 'JPCommon_get_label_feature' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
njd2jpcommon(self.jpcommon, self.njd)
JPCommon_make_label(self.jpcommon)
cdef int label_size = JPCommon_get_label_size(self.jpcommon)
cdef char** label_feature
label_feature = JPCommon_get_label_feature(self.jpcommon)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:148:50: Cannot convert Python object to 'char **'
Error compiling Cython file:
------------------------------------------------------------
...
njd2jpcommon(self.jpcommon, self.njd)
JPCommon_make_label(self.jpcommon)
cdef int label_size = JPCommon_get_label_size(self.jpcommon)
cdef char** label_feature
label_feature = JPCommon_get_label_feature(self.jpcommon)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:148:50: Storing unsafe C derivative of temporary Python reference
Error compiling Cython file:
------------------------------------------------------------
...
labels.append(<unicode>label_feature[i])
njd_results = njd_print(self.njd)
if verbose > 0:
NJD_print(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:159:10: 'NJD_print' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
if verbose > 0:
NJD_print(self.njd)
# Note that this will release memory for label feature
JPCommon_refresh(self.jpcommon)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:162:8: 'JPCommon_refresh' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
if verbose > 0:
NJD_print(self.njd)
# Note that this will release memory for label feature
JPCommon_refresh(self.jpcommon)
NJD_refresh(self.njd)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:163:8: 'NJD_refresh' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
NJD_print(self.njd)
# Note that this will release memory for label feature
JPCommon_refresh(self.jpcommon)
NJD_refresh(self.njd)
Mecab_refresh(self.mecab)
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:164:8: 'Mecab_refresh' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
prons = "".join(prons)
return prons
def __dealloc__(self):
self._clear()
del self.mecab
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:196:16: Deletion of non-Python, non-C++ object
Error compiling Cython file:
------------------------------------------------------------
...
return prons
def __dealloc__(self):
self._clear()
del self.mecab
del self.njd
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:197:16: Deletion of non-Python, non-C++ object
Error compiling Cython file:
------------------------------------------------------------
...
def __dealloc__(self):
self._clear()
del self.mecab
del self.njd
del self.jpcommon
^
------------------------------------------------------------
pyopenjtalk\openjtalk.pyx:198:16: Deletion of non-Python, non-C++ object
Compiling pyopenjtalk\openjtalk.pyx because it changed.
[1/1] Cythonizing pyopenjtalk\openjtalk.pyx
Traceback (most recent call last):
File "c:\users\倪\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
main()
File "c:\users\倪\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\倪\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\build_meta.py", line 434, in build_wheel
return self._build_with_temp_dir(
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\build_meta.py", line 419, in _build_with_temp_dir
self.run_setup()
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\build_meta.py", line 507, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
exec(code, locals())
File "<string>", line 255, in <module>
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\dist.py", line 1233, in run_command
super().run_command(command)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 349, in run
self.run_command("build")
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\dist.py", line 1233, in run_command
super().run_command(command)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
self.run_command(cmd_name)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\dist.py", line 1233, in run_command
super().run_command(command)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
self.build_extensions()
File "<string>", line 64, in build_extensions
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 467, in build_extensions
self._build_extensions_serial()
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 493, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\Cython\Distutils\build_ext.py", line 122, in build_extension
new_ext = cythonize(
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1134, in cythonize
cythonize_one(*args)
File "C:\Users\倪\AppData\Local\Temp\pip-build-env-c_xegd_1\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1301, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: pyopenjtalk\openjtalk.pyx
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyopenjtalk
Failed to build pyopenjtalk
ERROR: Could not build wheels for pyopenjtalk, which is required to install pyproject.toml-based projects
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pyopenjtalk Failed to build pyopenjtalk ERROR: Could not build wheels for pyopenjtalk, which is required to install pyproject.toml-based projects