-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Init with empty module * Add a naive wrapper * Add PyMorpheme * Add SplitMode class * Split files * Add annotations * Add Readme for python binding * Add license
- Loading branch information
mh-northlander
authored
Sep 30, 2021
1 parent
98e9846
commit 3450c0a
Showing
13 changed files
with
763 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,8 @@ README*.html | |
.idea/ | ||
.vscode/ | ||
|
||
# python binding | ||
python/dist | ||
.env | ||
*.egg-info | ||
*.so |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "sudachi-python" | ||
version = "0.1.0" | ||
edition = "2018" | ||
description = "Python bindings of sudachi.rs, the Japanese Morphological Analyzer" | ||
homepage = "https://github.com/WorksApplications/sudachi.rs" | ||
repository = "https://github.com/WorksApplications/sudachi.rs" | ||
license = "Apache-2.0" | ||
|
||
|
||
[lib] | ||
name = "sudachi_python" | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
pyo3 = { version = "0.14.3", features = ["extension-module"] } | ||
|
||
[dependencies.sudachi] | ||
version = "*" | ||
path = "../sudachi" | ||
|
Oops, something went wrong.