-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9873b8
commit 89843b3
Showing
8 changed files
with
46 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# distutils: language = c++ | ||
# cython: language_level=3 | ||
|
||
from .njd cimport NJD | ||
from pyopenjtalk.openjtalk.njd cimport NJD | ||
|
||
|
||
cdef extern from "mecab2njd.h" nogil: | ||
void mecab2njd(NJD * njd, char **feature, int size); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
|
||
from libc.stdio cimport FILE | ||
|
||
|
||
cdef extern from "njd.h" nogil: | ||
cdef cppclass NJDNode: | ||
char *string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# distutils: language = c++ | ||
# cython: language_level=3 | ||
|
||
from .jpcommon cimport JPCommon | ||
from .njd cimport NJD | ||
from pyopenjtalk.openjtalk.jpcommon cimport JPCommon | ||
from pyopenjtalk.openjtalk.njd cimport NJD | ||
|
||
|
||
cdef extern from "njd2jpcommon.h" nogil: | ||
void njd2jpcommon(JPCommon * jpcommon, NJD * njd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters