lindera-python 1.4.1__tar.gz → 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lindera_python-1.4.1 → lindera_python-2.0.0}/.github/workflows/periodic.yml +20 -4
- {lindera_python-1.4.1 → lindera_python-2.0.0}/.github/workflows/regression.yml +20 -4
- {lindera_python-1.4.1 → lindera_python-2.0.0}/.github/workflows/release.yml +55 -95
- {lindera_python-1.4.1 → lindera_python-2.0.0}/Cargo.lock +43 -26
- {lindera_python-1.4.1 → lindera_python-2.0.0}/Cargo.toml +16 -16
- {lindera_python-1.4.1 → lindera_python-2.0.0}/Makefile +6 -6
- {lindera_python-1.4.1 → lindera_python-2.0.0}/PKG-INFO +3 -3
- {lindera_python-1.4.1 → lindera_python-2.0.0}/poetry.lock +26 -20
- {lindera_python-1.4.1 → lindera_python-2.0.0}/pyproject.toml +7 -6
- {lindera_python-1.4.1 → lindera_python-2.0.0}/.github/FUNDING.yml +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/.github/dependabot.yml +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/.gitignore +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/CHANGES.md +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/LICENSE +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/README.md +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/examples/build_ipadic.py +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/examples/tokenize.py +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/examples/tokenize_with_decompose.py +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/examples/tokenize_with_filters.py +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/examples/tokenize_with_userdict.py +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/examples/train_and_export.py +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/bocchan.txt +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/cc-cedict_metadata.json +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/cc-cedict_simple_userdic.bin +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/cc-cedict_simple_userdic.csv +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ipadic-neologd_metadata.json +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ipadic_detailed_userdic.csv +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ipadic_metadata.json +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ipadic_mixed_userdic.csv +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ipadic_simple_userdic.bin +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ipadic_simple_userdic.csv +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ipadic_userdic_insufficient_number_of_fields.csv +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ipadic_userdic_invalid_word_cost.csv +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ko-dic_metadata.json +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ko-dic_simple_userdic.bin +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ko-dic_simple_userdic.csv +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/lindera.yml +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/unidic_metadata.json +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/unidic_simple_userdic.bin +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/resources/unidic_simple_userdic.csv +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/src/dictionary.rs +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/src/error.rs +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/src/lib.rs +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/src/metadata.rs +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/src/mode.rs +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/src/schema.rs +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/src/tokenizer.rs +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/src/trainer.rs +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/src/util.rs +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/tests/__init__py +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/tests/test_tokenize_ipadic.py +0 -0
- {lindera_python-1.4.1 → lindera_python-2.0.0}/tests/test_trainer.py +0 -0
|
@@ -37,12 +37,17 @@ jobs:
|
|
|
37
37
|
platform:
|
|
38
38
|
- runner: ubuntu-latest
|
|
39
39
|
target: x86_64-unknown-linux-gnu
|
|
40
|
-
- runner:
|
|
41
|
-
target:
|
|
42
|
-
- runner:
|
|
40
|
+
- runner: ubuntu-24.04-arm
|
|
41
|
+
target: aarch64-unknown-linux-gnu
|
|
42
|
+
- runner: macos-latest
|
|
43
43
|
target: aarch64-apple-darwin
|
|
44
|
+
- runner: macos-15-intel
|
|
45
|
+
target: x86_64-apple-darwin
|
|
44
46
|
- runner: windows-latest
|
|
45
47
|
target: x86_64-pc-windows-msvc
|
|
48
|
+
- runner: windows-latest
|
|
49
|
+
target: aarch64-pc-windows-msvc
|
|
50
|
+
skip_test_run: true
|
|
46
51
|
toolchain: [stable]
|
|
47
52
|
runs-on: ${{ matrix.platform.runner }}
|
|
48
53
|
steps:
|
|
@@ -56,5 +61,16 @@ jobs:
|
|
|
56
61
|
target: ${{ matrix.platform.target }}
|
|
57
62
|
components: rustfmt, clippy
|
|
58
63
|
|
|
64
|
+
- name: Setup Python
|
|
65
|
+
uses: actions/setup-python@v6
|
|
66
|
+
with:
|
|
67
|
+
python-version: 3.x
|
|
68
|
+
|
|
59
69
|
- name: Run test
|
|
60
|
-
|
|
70
|
+
shell: bash
|
|
71
|
+
run: |
|
|
72
|
+
if [ "${{ matrix.platform.skip_test_run }}" == "true" ]; then
|
|
73
|
+
cargo check --target "${{ matrix.platform.target }}" --all-features
|
|
74
|
+
else
|
|
75
|
+
cargo test --target "${{ matrix.platform.target }}" --all-features
|
|
76
|
+
fi
|
|
@@ -40,12 +40,17 @@ jobs:
|
|
|
40
40
|
platform:
|
|
41
41
|
- runner: ubuntu-latest
|
|
42
42
|
target: x86_64-unknown-linux-gnu
|
|
43
|
-
- runner:
|
|
44
|
-
target:
|
|
45
|
-
- runner:
|
|
43
|
+
- runner: ubuntu-24.04-arm
|
|
44
|
+
target: aarch64-unknown-linux-gnu
|
|
45
|
+
- runner: macos-latest
|
|
46
46
|
target: aarch64-apple-darwin
|
|
47
|
+
- runner: macos-15-intel
|
|
48
|
+
target: x86_64-apple-darwin
|
|
47
49
|
- runner: windows-latest
|
|
48
50
|
target: x86_64-pc-windows-msvc
|
|
51
|
+
- runner: windows-latest
|
|
52
|
+
target: aarch64-pc-windows-msvc
|
|
53
|
+
skip_test_run: true
|
|
49
54
|
toolchain: [stable]
|
|
50
55
|
runs-on: ${{ matrix.platform.runner }}
|
|
51
56
|
steps:
|
|
@@ -59,5 +64,16 @@ jobs:
|
|
|
59
64
|
target: ${{ matrix.platform.target }}
|
|
60
65
|
components: rustfmt, clippy
|
|
61
66
|
|
|
67
|
+
- name: Setup Python
|
|
68
|
+
uses: actions/setup-python@v6
|
|
69
|
+
with:
|
|
70
|
+
python-version: 3.x
|
|
71
|
+
|
|
62
72
|
- name: Run test
|
|
63
|
-
|
|
73
|
+
shell: bash
|
|
74
|
+
run: |
|
|
75
|
+
if [ "${{ matrix.platform.skip_test_run }}" == "true" ]; then
|
|
76
|
+
cargo check --target "${{ matrix.platform.target }}" --all-features
|
|
77
|
+
else
|
|
78
|
+
cargo test --target "${{ matrix.platform.target }}" --all-features
|
|
79
|
+
fi
|
|
@@ -42,15 +42,20 @@ jobs:
|
|
|
42
42
|
platform:
|
|
43
43
|
- runner: ubuntu-latest
|
|
44
44
|
target: x86_64-unknown-linux-gnu
|
|
45
|
-
- runner:
|
|
46
|
-
target:
|
|
47
|
-
- runner:
|
|
45
|
+
- runner: ubuntu-24.04-arm
|
|
46
|
+
target: aarch64-unknown-linux-gnu
|
|
47
|
+
- runner: macos-latest
|
|
48
48
|
target: aarch64-apple-darwin
|
|
49
|
+
- runner: macos-15-intel
|
|
50
|
+
target: x86_64-apple-darwin
|
|
49
51
|
- runner: windows-latest
|
|
50
52
|
target: x86_64-pc-windows-msvc
|
|
53
|
+
- runner: windows-latest
|
|
54
|
+
target: aarch64-pc-windows-msvc
|
|
55
|
+
skip_test_run: true
|
|
51
56
|
toolchain: [stable]
|
|
52
57
|
features:
|
|
53
|
-
- value: "
|
|
58
|
+
- value: "embed-ipadic"
|
|
54
59
|
package_name: "lindera-python-ipadic"
|
|
55
60
|
package_description: "Python binding for Lindera with IPADIC dictionary"
|
|
56
61
|
|
|
@@ -66,98 +71,48 @@ jobs:
|
|
|
66
71
|
target: ${{ matrix.platform.target }}
|
|
67
72
|
components: rustfmt, clippy
|
|
68
73
|
|
|
69
|
-
- name: Run test
|
|
70
|
-
run: cargo test --target "${{ matrix.platform.target }}" --features="${{ matrix.features.value }}"
|
|
71
|
-
|
|
72
|
-
linux:
|
|
73
|
-
name: Linux
|
|
74
|
-
needs: [test]
|
|
75
|
-
strategy:
|
|
76
|
-
max-parallel: 1
|
|
77
|
-
matrix:
|
|
78
|
-
platform:
|
|
79
|
-
- runner: ubuntu-latest
|
|
80
|
-
target: x86_64
|
|
81
|
-
toolchain: [stable]
|
|
82
|
-
features:
|
|
83
|
-
- value: "default"
|
|
84
|
-
package_name: "lindera-python"
|
|
85
|
-
package_description: "Python binding for Lindera (no embedded dictionaries)"
|
|
86
|
-
- value: "embedded-cjk"
|
|
87
|
-
package_name: "lindera-python-cjk"
|
|
88
|
-
package_description: "Python binding for Lindera with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT)"
|
|
89
|
-
- value: "embedded-ipadic"
|
|
90
|
-
package_name: "lindera-python-ipadic"
|
|
91
|
-
package_description: "Python binding for Lindera with IPADIC dictionary"
|
|
92
|
-
- value: "embedded-unidic"
|
|
93
|
-
package_name: "lindera-python-unidic"
|
|
94
|
-
package_description: "Python binding for Lindera with UniDic dictionary"
|
|
95
|
-
- value: "embedded-ko-dic"
|
|
96
|
-
package_name: "lindera-python-ko-dic"
|
|
97
|
-
package_description: "Python binding for Lindera with ko-dic Korean dictionary"
|
|
98
|
-
- value: "embedded-cc-cedict"
|
|
99
|
-
package_name: "lindera-python-cc-cedict"
|
|
100
|
-
package_description: "Python binding for Lindera with CC-CEDICT Chinese dictionary"
|
|
101
|
-
runs-on: ${{ matrix.platform.runner }}
|
|
102
|
-
steps:
|
|
103
|
-
- name: Run checkout
|
|
104
|
-
uses: actions/checkout@v6
|
|
105
|
-
|
|
106
74
|
- name: Setup Python
|
|
107
75
|
uses: actions/setup-python@v6
|
|
108
76
|
with:
|
|
109
77
|
python-version: 3.x
|
|
110
78
|
|
|
111
|
-
- name:
|
|
79
|
+
- name: Run test
|
|
80
|
+
shell: bash
|
|
112
81
|
run: |
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
uses: PyO3/maturin-action@v1
|
|
119
|
-
env:
|
|
120
|
-
NODE_OPTIONS: "--max-old-space-size=8192"
|
|
121
|
-
with:
|
|
122
|
-
target: ${{ matrix.platform.target }}
|
|
123
|
-
args: --release --out dist --find-interpreter --features=${{ matrix.features.value }}
|
|
124
|
-
sccache: "true"
|
|
125
|
-
manylinux: auto
|
|
126
|
-
before-script-linux: "yum install openssl-devel devtoolset-10-libatomic-devel perl-IPC-Cmd -y"
|
|
127
|
-
|
|
128
|
-
- name: Upload wheels
|
|
129
|
-
uses: actions/upload-artifact@v6
|
|
130
|
-
with:
|
|
131
|
-
name: wheels-${{ matrix.features.package_name }}-linux-${{ matrix.platform.target }}-${{ github.ref_name }}
|
|
132
|
-
path: dist
|
|
82
|
+
if [ "${{ matrix.platform.skip_test_run }}" == "true" ]; then
|
|
83
|
+
cargo check --target "${{ matrix.platform.target }}" --all-features
|
|
84
|
+
else
|
|
85
|
+
cargo test --target "${{ matrix.platform.target }}" --all-features
|
|
86
|
+
fi
|
|
133
87
|
|
|
134
|
-
|
|
135
|
-
name:
|
|
88
|
+
linux:
|
|
89
|
+
name: Linux
|
|
136
90
|
needs: [test]
|
|
137
91
|
strategy:
|
|
138
|
-
max-parallel: 1
|
|
139
92
|
matrix:
|
|
140
93
|
platform:
|
|
141
94
|
- runner: ubuntu-latest
|
|
142
|
-
target:
|
|
95
|
+
target: x86_64-unknown-linux-gnu
|
|
96
|
+
- runner: ubuntu-24.04-arm
|
|
97
|
+
target: aarch64-unknown-linux-gnu
|
|
143
98
|
toolchain: [stable]
|
|
144
99
|
features:
|
|
145
100
|
- value: "default"
|
|
146
101
|
package_name: "lindera-python"
|
|
147
102
|
package_description: "Python binding for Lindera (no embedded dictionaries)"
|
|
148
|
-
- value: "
|
|
103
|
+
- value: "embed-cjk"
|
|
149
104
|
package_name: "lindera-python-cjk"
|
|
150
105
|
package_description: "Python binding for Lindera with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT)"
|
|
151
|
-
- value: "
|
|
106
|
+
- value: "embed-ipadic"
|
|
152
107
|
package_name: "lindera-python-ipadic"
|
|
153
108
|
package_description: "Python binding for Lindera with IPADIC dictionary"
|
|
154
|
-
- value: "
|
|
109
|
+
- value: "embed-unidic"
|
|
155
110
|
package_name: "lindera-python-unidic"
|
|
156
111
|
package_description: "Python binding for Lindera with UniDic dictionary"
|
|
157
|
-
- value: "
|
|
112
|
+
- value: "embed-ko-dic"
|
|
158
113
|
package_name: "lindera-python-ko-dic"
|
|
159
114
|
package_description: "Python binding for Lindera with ko-dic Korean dictionary"
|
|
160
|
-
- value: "
|
|
115
|
+
- value: "embed-cc-cedict"
|
|
161
116
|
package_name: "lindera-python-cc-cedict"
|
|
162
117
|
package_description: "Python binding for Lindera with CC-CEDICT Chinese dictionary"
|
|
163
118
|
runs-on: ${{ matrix.platform.runner }}
|
|
@@ -185,7 +140,12 @@ jobs:
|
|
|
185
140
|
args: --release --out dist --find-interpreter --features=${{ matrix.features.value }}
|
|
186
141
|
sccache: "true"
|
|
187
142
|
manylinux: auto
|
|
188
|
-
before-script-linux:
|
|
143
|
+
before-script-linux: |
|
|
144
|
+
if command -v yum >/dev/null 2>&1; then
|
|
145
|
+
yum install openssl-devel devtoolset-10-libatomic-devel perl-IPC-Cmd -y
|
|
146
|
+
elif command -v apt-get >/dev/null 2>&1; then
|
|
147
|
+
apt-get update && apt-get install libssl-dev pkg-config -y
|
|
148
|
+
fi
|
|
189
149
|
|
|
190
150
|
- name: Upload wheels
|
|
191
151
|
uses: actions/upload-artifact@v6
|
|
@@ -201,25 +161,27 @@ jobs:
|
|
|
201
161
|
matrix:
|
|
202
162
|
platform:
|
|
203
163
|
- runner: windows-latest
|
|
204
|
-
target:
|
|
164
|
+
target: x86_64-pc-windows-msvc
|
|
165
|
+
- runner: windows-latest
|
|
166
|
+
target: aarch64-pc-windows-msvc
|
|
205
167
|
toolchain: [stable]
|
|
206
168
|
features:
|
|
207
169
|
- value: "default"
|
|
208
170
|
package_name: "lindera-python"
|
|
209
171
|
package_description: "Python binding for Lindera (no embedded dictionaries)"
|
|
210
|
-
- value: "
|
|
172
|
+
- value: "embed-cjk"
|
|
211
173
|
package_name: "lindera-python-cjk"
|
|
212
174
|
package_description: "Python binding for Lindera with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT)"
|
|
213
|
-
- value: "
|
|
175
|
+
- value: "embed-ipadic"
|
|
214
176
|
package_name: "lindera-python-ipadic"
|
|
215
177
|
package_description: "Python binding for Lindera with IPADIC dictionary"
|
|
216
|
-
- value: "
|
|
178
|
+
- value: "embed-unidic"
|
|
217
179
|
package_name: "lindera-python-unidic"
|
|
218
180
|
package_description: "Python binding for Lindera with UniDic dictionary"
|
|
219
|
-
- value: "
|
|
181
|
+
- value: "embed-ko-dic"
|
|
220
182
|
package_name: "lindera-python-ko-dic"
|
|
221
183
|
package_description: "Python binding for Lindera with ko-dic Korean dictionary"
|
|
222
|
-
- value: "
|
|
184
|
+
- value: "embed-cc-cedict"
|
|
223
185
|
package_name: "lindera-python-cc-cedict"
|
|
224
186
|
package_description: "Python binding for Lindera with CC-CEDICT Chinese dictionary"
|
|
225
187
|
runs-on: ${{ matrix.platform.runner }}
|
|
@@ -231,7 +193,6 @@ jobs:
|
|
|
231
193
|
uses: actions/setup-python@v6
|
|
232
194
|
with:
|
|
233
195
|
python-version: 3.x
|
|
234
|
-
architecture: ${{ matrix.platform.target }}
|
|
235
196
|
|
|
236
197
|
- name: Create package-specific pyproject.toml
|
|
237
198
|
shell: pwsh
|
|
@@ -258,34 +219,34 @@ jobs:
|
|
|
258
219
|
path: dist
|
|
259
220
|
|
|
260
221
|
macos:
|
|
261
|
-
name:
|
|
222
|
+
name: macOS
|
|
262
223
|
needs: [test]
|
|
263
224
|
strategy:
|
|
264
225
|
max-parallel: 1
|
|
265
226
|
matrix:
|
|
266
227
|
platform:
|
|
267
228
|
- runner: macos-latest
|
|
268
|
-
target:
|
|
269
|
-
- runner: macos-
|
|
270
|
-
target:
|
|
229
|
+
target: aarch64-apple-darwin
|
|
230
|
+
- runner: macos-15-intel
|
|
231
|
+
target: x86_64-apple-darwin
|
|
271
232
|
toolchain: [stable]
|
|
272
233
|
features:
|
|
273
234
|
- value: "default"
|
|
274
235
|
package_name: "lindera-python"
|
|
275
236
|
package_description: "Python binding for Lindera (no embedded dictionaries)"
|
|
276
|
-
- value: "
|
|
237
|
+
- value: "embed-cjk"
|
|
277
238
|
package_name: "lindera-python-cjk"
|
|
278
239
|
package_description: "Python binding for Lindera with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT)"
|
|
279
|
-
- value: "
|
|
240
|
+
- value: "embed-ipadic"
|
|
280
241
|
package_name: "lindera-python-ipadic"
|
|
281
242
|
package_description: "Python binding for Lindera with IPADIC dictionary"
|
|
282
|
-
- value: "
|
|
243
|
+
- value: "embed-unidic"
|
|
283
244
|
package_name: "lindera-python-unidic"
|
|
284
245
|
package_description: "Python binding for Lindera with UniDic dictionary"
|
|
285
|
-
- value: "
|
|
246
|
+
- value: "embed-ko-dic"
|
|
286
247
|
package_name: "lindera-python-ko-dic"
|
|
287
248
|
package_description: "Python binding for Lindera with ko-dic Korean dictionary"
|
|
288
|
-
- value: "
|
|
249
|
+
- value: "embed-cc-cedict"
|
|
289
250
|
package_name: "lindera-python-cc-cedict"
|
|
290
251
|
package_description: "Python binding for Lindera with CC-CEDICT Chinese dictionary"
|
|
291
252
|
runs-on: ${{ matrix.platform.runner }}
|
|
@@ -339,8 +300,7 @@ jobs:
|
|
|
339
300
|
|
|
340
301
|
release:
|
|
341
302
|
name: GitHub Release
|
|
342
|
-
|
|
343
|
-
needs: [linux, linux2, windows, macos, sdist]
|
|
303
|
+
needs: [linux, windows, macos, sdist]
|
|
344
304
|
runs-on: ubuntu-latest
|
|
345
305
|
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
346
306
|
permissions:
|
|
@@ -374,7 +334,7 @@ jobs:
|
|
|
374
334
|
|
|
375
335
|
publish-pypi:
|
|
376
336
|
name: Publish to PyPI
|
|
377
|
-
needs: [linux,
|
|
337
|
+
needs: [linux, windows, macos, sdist]
|
|
378
338
|
runs-on: ubuntu-latest
|
|
379
339
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
380
340
|
permissions:
|
|
@@ -413,10 +373,10 @@ jobs:
|
|
|
413
373
|
|
|
414
374
|
- name: Publish lindera-python
|
|
415
375
|
run: |
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
if echo ${
|
|
419
|
-
echo "lindera-python ${
|
|
376
|
+
LINDERA_PYTHON_VERSION=$(cargo metadata --no-deps --format-version=1 | jq -r '.packages[] | select(.name=="lindera-python") | .version')
|
|
377
|
+
LINDERA_PYTHON_VERSIONS=$(curl -s -XGET https://crates.io/api/v1/crates/lindera-python | jq -r 'select(.versions != null) | .versions[].num')
|
|
378
|
+
if echo ${LINDERA_PYTHON_VERSIONS} | grep ${LINDERA_PYTHON_VERSION} >/dev/null; then
|
|
379
|
+
echo "lindera-python ${LINDERA_PYTHON_VERSION} has already published"
|
|
420
380
|
else
|
|
421
381
|
cargo publish
|
|
422
382
|
fi
|
|
@@ -634,6 +634,12 @@ dependencies = [
|
|
|
634
634
|
"foldhash",
|
|
635
635
|
]
|
|
636
636
|
|
|
637
|
+
[[package]]
|
|
638
|
+
name = "hashbrown"
|
|
639
|
+
version = "0.16.1"
|
|
640
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
641
|
+
checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
|
|
642
|
+
|
|
637
643
|
[[package]]
|
|
638
644
|
name = "heck"
|
|
639
645
|
version = "0.5.0"
|
|
@@ -928,7 +934,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
928
934
|
checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
|
|
929
935
|
dependencies = [
|
|
930
936
|
"equivalent",
|
|
931
|
-
"hashbrown",
|
|
937
|
+
"hashbrown 0.15.0",
|
|
932
938
|
]
|
|
933
939
|
|
|
934
940
|
[[package]]
|
|
@@ -1038,9 +1044,9 @@ checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
|
|
|
1038
1044
|
|
|
1039
1045
|
[[package]]
|
|
1040
1046
|
name = "lindera"
|
|
1041
|
-
version = "
|
|
1047
|
+
version = "2.0.1"
|
|
1042
1048
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1043
|
-
checksum = "
|
|
1049
|
+
checksum = "5b24b63a13a8b2de281b5d07a7d3494bb63f862148dfea0deb9d0b9589f37a84"
|
|
1044
1050
|
dependencies = [
|
|
1045
1051
|
"anyhow",
|
|
1046
1052
|
"byteorder",
|
|
@@ -1052,6 +1058,7 @@ dependencies = [
|
|
|
1052
1058
|
"lindera-ipadic-neologd",
|
|
1053
1059
|
"lindera-ko-dic",
|
|
1054
1060
|
"lindera-unidic",
|
|
1061
|
+
"log",
|
|
1055
1062
|
"once_cell",
|
|
1056
1063
|
"percent-encoding",
|
|
1057
1064
|
"regex",
|
|
@@ -1069,9 +1076,9 @@ dependencies = [
|
|
|
1069
1076
|
|
|
1070
1077
|
[[package]]
|
|
1071
1078
|
name = "lindera-cc-cedict"
|
|
1072
|
-
version = "
|
|
1079
|
+
version = "2.0.1"
|
|
1073
1080
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1074
|
-
checksum = "
|
|
1081
|
+
checksum = "b5fb6c378e451c614890c223808baf8e9416bce766000316ccb54c896726e5d6"
|
|
1075
1082
|
dependencies = [
|
|
1076
1083
|
"anyhow",
|
|
1077
1084
|
"byteorder",
|
|
@@ -1085,9 +1092,9 @@ dependencies = [
|
|
|
1085
1092
|
|
|
1086
1093
|
[[package]]
|
|
1087
1094
|
name = "lindera-dictionary"
|
|
1088
|
-
version = "
|
|
1095
|
+
version = "2.0.1"
|
|
1089
1096
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1090
|
-
checksum = "
|
|
1097
|
+
checksum = "48c76799a6d2a55eb4425b04ae0e0399dc4f9b2f644403c3bb75576b50fe54a4"
|
|
1091
1098
|
dependencies = [
|
|
1092
1099
|
"anyhow",
|
|
1093
1100
|
"byteorder",
|
|
@@ -1120,9 +1127,9 @@ dependencies = [
|
|
|
1120
1127
|
|
|
1121
1128
|
[[package]]
|
|
1122
1129
|
name = "lindera-ipadic"
|
|
1123
|
-
version = "
|
|
1130
|
+
version = "2.0.1"
|
|
1124
1131
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1125
|
-
checksum = "
|
|
1132
|
+
checksum = "a4df4314530c32bfbca1eac7ddd223b52cc5b61b629d0729dafa699c85068a68"
|
|
1126
1133
|
dependencies = [
|
|
1127
1134
|
"anyhow",
|
|
1128
1135
|
"byteorder",
|
|
@@ -1136,9 +1143,9 @@ dependencies = [
|
|
|
1136
1143
|
|
|
1137
1144
|
[[package]]
|
|
1138
1145
|
name = "lindera-ipadic-neologd"
|
|
1139
|
-
version = "
|
|
1146
|
+
version = "2.0.1"
|
|
1140
1147
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1141
|
-
checksum = "
|
|
1148
|
+
checksum = "f376c0d638dd19429e737da68648e96ab86ef671be52266e7ef87dfe6096c2ec"
|
|
1142
1149
|
dependencies = [
|
|
1143
1150
|
"anyhow",
|
|
1144
1151
|
"byteorder",
|
|
@@ -1152,9 +1159,9 @@ dependencies = [
|
|
|
1152
1159
|
|
|
1153
1160
|
[[package]]
|
|
1154
1161
|
name = "lindera-ko-dic"
|
|
1155
|
-
version = "
|
|
1162
|
+
version = "2.0.1"
|
|
1156
1163
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1157
|
-
checksum = "
|
|
1164
|
+
checksum = "924e9b80b4c43107d379667dad2349b30af98d7a74c80e8260b6e4e365c4632c"
|
|
1158
1165
|
dependencies = [
|
|
1159
1166
|
"anyhow",
|
|
1160
1167
|
"byteorder",
|
|
@@ -1168,7 +1175,7 @@ dependencies = [
|
|
|
1168
1175
|
|
|
1169
1176
|
[[package]]
|
|
1170
1177
|
name = "lindera-python"
|
|
1171
|
-
version = "
|
|
1178
|
+
version = "2.0.0"
|
|
1172
1179
|
dependencies = [
|
|
1173
1180
|
"lindera",
|
|
1174
1181
|
"num_cpus",
|
|
@@ -1179,9 +1186,9 @@ dependencies = [
|
|
|
1179
1186
|
|
|
1180
1187
|
[[package]]
|
|
1181
1188
|
name = "lindera-unidic"
|
|
1182
|
-
version = "
|
|
1189
|
+
version = "2.0.1"
|
|
1183
1190
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1184
|
-
checksum = "
|
|
1191
|
+
checksum = "3e0124a535ab2c25939e6b16a9c6caa950511f1b52015c914258978293a95240"
|
|
1185
1192
|
dependencies = [
|
|
1186
1193
|
"anyhow",
|
|
1187
1194
|
"byteorder",
|
|
@@ -1441,6 +1448,7 @@ version = "0.27.2"
|
|
|
1441
1448
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1442
1449
|
checksum = "b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6"
|
|
1443
1450
|
dependencies = [
|
|
1451
|
+
"python3-dll-a",
|
|
1444
1452
|
"target-lexicon",
|
|
1445
1453
|
]
|
|
1446
1454
|
|
|
@@ -1479,6 +1487,15 @@ dependencies = [
|
|
|
1479
1487
|
"syn",
|
|
1480
1488
|
]
|
|
1481
1489
|
|
|
1490
|
+
[[package]]
|
|
1491
|
+
name = "python3-dll-a"
|
|
1492
|
+
version = "0.2.14"
|
|
1493
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1494
|
+
checksum = "d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8"
|
|
1495
|
+
dependencies = [
|
|
1496
|
+
"cc",
|
|
1497
|
+
]
|
|
1498
|
+
|
|
1482
1499
|
[[package]]
|
|
1483
1500
|
name = "quinn"
|
|
1484
1501
|
version = "0.11.8"
|
|
@@ -1726,13 +1743,13 @@ dependencies = [
|
|
|
1726
1743
|
|
|
1727
1744
|
[[package]]
|
|
1728
1745
|
name = "rkyv"
|
|
1729
|
-
version = "0.8.
|
|
1746
|
+
version = "0.8.13"
|
|
1730
1747
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1731
|
-
checksum = "
|
|
1748
|
+
checksum = "8b2e88acca7157d83d789836a3987dafc12bc3d88a050e54b8fe9ea4aaa29d20"
|
|
1732
1749
|
dependencies = [
|
|
1733
1750
|
"bytecheck",
|
|
1734
1751
|
"bytes",
|
|
1735
|
-
"hashbrown",
|
|
1752
|
+
"hashbrown 0.16.1",
|
|
1736
1753
|
"indexmap",
|
|
1737
1754
|
"munge",
|
|
1738
1755
|
"ptr_meta",
|
|
@@ -1745,9 +1762,9 @@ dependencies = [
|
|
|
1745
1762
|
|
|
1746
1763
|
[[package]]
|
|
1747
1764
|
name = "rkyv_derive"
|
|
1748
|
-
version = "0.8.
|
|
1765
|
+
version = "0.8.13"
|
|
1749
1766
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1750
|
-
checksum = "
|
|
1767
|
+
checksum = "7f6dffea3c91fa91a3c0fc8a061b0e27fef25c6304728038a6d6bcb1c58ba9bd"
|
|
1751
1768
|
dependencies = [
|
|
1752
1769
|
"proc-macro2",
|
|
1753
1770
|
"quote",
|
|
@@ -1765,7 +1782,7 @@ dependencies = [
|
|
|
1765
1782
|
"argmin-observer-slog",
|
|
1766
1783
|
"bincode",
|
|
1767
1784
|
"crossbeam-channel",
|
|
1768
|
-
"hashbrown",
|
|
1785
|
+
"hashbrown 0.15.0",
|
|
1769
1786
|
]
|
|
1770
1787
|
|
|
1771
1788
|
[[package]]
|
|
@@ -1947,9 +1964,9 @@ dependencies = [
|
|
|
1947
1964
|
|
|
1948
1965
|
[[package]]
|
|
1949
1966
|
name = "serde_json"
|
|
1950
|
-
version = "1.0.
|
|
1967
|
+
version = "1.0.149"
|
|
1951
1968
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1952
|
-
checksum = "
|
|
1969
|
+
checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
|
|
1953
1970
|
dependencies = [
|
|
1954
1971
|
"itoa",
|
|
1955
1972
|
"memchr",
|
|
@@ -2429,9 +2446,9 @@ checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae"
|
|
|
2429
2446
|
|
|
2430
2447
|
[[package]]
|
|
2431
2448
|
name = "url"
|
|
2432
|
-
version = "2.5.
|
|
2449
|
+
version = "2.5.8"
|
|
2433
2450
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2434
|
-
checksum = "
|
|
2451
|
+
checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
|
|
2435
2452
|
dependencies = [
|
|
2436
2453
|
"form_urlencoded",
|
|
2437
2454
|
"idna",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "lindera-python"
|
|
3
|
-
version = "
|
|
3
|
+
version = "2.0.0"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
description = "Python binding for Lindera."
|
|
6
6
|
documentation = "https://docs.rs/lindera-python"
|
|
@@ -17,31 +17,31 @@ path = "src/lib.rs"
|
|
|
17
17
|
crate-type = ["cdylib"]
|
|
18
18
|
|
|
19
19
|
[features]
|
|
20
|
-
|
|
21
|
-
"lindera/
|
|
20
|
+
embed-ipadic = [
|
|
21
|
+
"lindera/embed-ipadic",
|
|
22
22
|
] # Include Japanese dictionary (IPADIC)
|
|
23
|
-
|
|
24
|
-
"lindera/
|
|
23
|
+
embed-ipadic-neologd = [
|
|
24
|
+
"lindera/embed-ipadic-neologd",
|
|
25
25
|
] # Include Japanese dictionary (IPADIC NEologd)
|
|
26
|
-
|
|
27
|
-
"lindera/
|
|
26
|
+
embed-unidic = [
|
|
27
|
+
"lindera/embed-unidic",
|
|
28
28
|
] # Include Japanese dictionary (UniDic)
|
|
29
|
-
|
|
30
|
-
"lindera/
|
|
29
|
+
embed-ko-dic = [
|
|
30
|
+
"lindera/embed-ko-dic",
|
|
31
31
|
] # Include Korean dictionary (ko-dic)
|
|
32
|
-
|
|
33
|
-
"lindera/
|
|
32
|
+
embed-cc-cedict = [
|
|
33
|
+
"lindera/embed-cc-cedict",
|
|
34
34
|
] # Include Chinese dictionary (CC-CEDICT)
|
|
35
|
-
|
|
36
|
-
"lindera/
|
|
35
|
+
embed-cjk = [
|
|
36
|
+
"lindera/embed-cjk",
|
|
37
37
|
] # Include CJK dictionary (CC-CEDICT, IPADIC, ko-dic)
|
|
38
38
|
train = ["lindera/train"] # Enable training functionality
|
|
39
39
|
default = ["train"] # No directories included
|
|
40
40
|
|
|
41
41
|
[dependencies]
|
|
42
|
-
pyo3 = { version = "0.27.2", features = ["extension-module"] }
|
|
42
|
+
pyo3 = { version = "0.27.2", features = ["extension-module", "abi3-py310", "generate-import-lib"] }
|
|
43
43
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
44
|
-
serde_json = "1.0.
|
|
44
|
+
serde_json = "1.0.149"
|
|
45
45
|
num_cpus = "1.17.0"
|
|
46
46
|
|
|
47
|
-
lindera = "
|
|
47
|
+
lindera = "2.0.1"
|
|
@@ -25,27 +25,27 @@ format: ## Format the project
|
|
|
25
25
|
poetry run black ./examples ./tests
|
|
26
26
|
|
|
27
27
|
lint: ## Lint the project
|
|
28
|
-
cargo clippy --features=
|
|
28
|
+
cargo clippy --features=embed-ipadic,train
|
|
29
29
|
poetry run isort --check-only --diff ./examples ./tests
|
|
30
30
|
poetry run black --check ./examples ./tests
|
|
31
31
|
poetry run flake8 ./examples ./tests
|
|
32
32
|
poetry run mypy ./examples ./tests
|
|
33
33
|
|
|
34
34
|
develop: ## Build Python module in development mode and install it into the current Python environment
|
|
35
|
-
poetry run maturin develop --features=
|
|
35
|
+
poetry run maturin develop --features=embed-ipadic,train
|
|
36
36
|
|
|
37
37
|
build: ## Build the project
|
|
38
|
-
poetry run maturin build -i python --release --features=
|
|
38
|
+
poetry run maturin build -i python --release --features=embed-ipadic,train
|
|
39
39
|
|
|
40
40
|
.PHONY: tests
|
|
41
41
|
test: ## Test the project
|
|
42
|
-
cargo test --features=
|
|
43
|
-
poetry run maturin develop --features=
|
|
42
|
+
cargo test --features=embed-ipadic,train
|
|
43
|
+
poetry run maturin develop --features=embed-ipadic,train
|
|
44
44
|
poetry run pytest -v ./tests
|
|
45
45
|
|
|
46
46
|
.PHONY: run-examples
|
|
47
47
|
run-examples: ## Run examples
|
|
48
|
-
poetry run maturin develop --features=
|
|
48
|
+
poetry run maturin develop --features=embed-ipadic,train
|
|
49
49
|
poetry run python ./examples/build_ipadic.py
|
|
50
50
|
poetry run python ./examples/tokenize.py
|
|
51
51
|
poetry run python ./examples/tokenize_with_userdict.py
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lindera-python
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Classifier: Programming Language :: Python :: 3
|
|
5
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
6
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
7
5
|
Classifier: Programming Language :: Python :: 3.10
|
|
8
6
|
Classifier: Programming Language :: Python :: 3.11
|
|
9
7
|
Classifier: Programming Language :: Python :: 3.12
|
|
10
8
|
Classifier: Programming Language :: Python :: 3.13
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
11
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
|
13
13
|
License-File: LICENSE
|
|
@@ -268,26 +268,26 @@ files = [
|
|
|
268
268
|
|
|
269
269
|
[[package]]
|
|
270
270
|
name = "maturin"
|
|
271
|
-
version = "1.
|
|
271
|
+
version = "1.11.5"
|
|
272
272
|
description = "Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages"
|
|
273
273
|
optional = false
|
|
274
274
|
python-versions = ">=3.7"
|
|
275
275
|
groups = ["main"]
|
|
276
276
|
files = [
|
|
277
|
-
{file = "maturin-1.
|
|
278
|
-
{file = "maturin-1.
|
|
279
|
-
{file = "maturin-1.
|
|
280
|
-
{file = "maturin-1.
|
|
281
|
-
{file = "maturin-1.
|
|
282
|
-
{file = "maturin-1.
|
|
283
|
-
{file = "maturin-1.
|
|
284
|
-
{file = "maturin-1.
|
|
285
|
-
{file = "maturin-1.
|
|
286
|
-
{file = "maturin-1.
|
|
287
|
-
{file = "maturin-1.
|
|
288
|
-
{file = "maturin-1.
|
|
289
|
-
{file = "maturin-1.
|
|
290
|
-
{file = "maturin-1.
|
|
277
|
+
{file = "maturin-1.11.5-py3-none-linux_armv6l.whl", hash = "sha256:edd1d4d35050ea2b9ef42aa01e87fe019a1e822940346b35ccb973e0aa8f6d82"},
|
|
278
|
+
{file = "maturin-1.11.5-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:2a596eab137cb3e169b97e89a739515abfa7a8755e2e5f0fc91432ef446f74f4"},
|
|
279
|
+
{file = "maturin-1.11.5-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:1c27a2eb47821edf26c75d100b3150b52dca2c1a5f074d7514af06f7a7acb9d5"},
|
|
280
|
+
{file = "maturin-1.11.5-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl", hash = "sha256:f1320dacddcd3aa84a4bdfc77ee6fdb60e4c3835c853d7eb79c09473628b0498"},
|
|
281
|
+
{file = "maturin-1.11.5-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl", hash = "sha256:ffe7418834ff3b4a6c987187b7abb85ba033f4733e089d77d84e2de87057b4e7"},
|
|
282
|
+
{file = "maturin-1.11.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:c739b243d012386902f112ea63a54a94848932b70ae3565fa5e121fd1c0200e0"},
|
|
283
|
+
{file = "maturin-1.11.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:8127d2cd25950bacbcdc8a2ec6daab1d4d27200f7d73964392680ad64d27f7f0"},
|
|
284
|
+
{file = "maturin-1.11.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl", hash = "sha256:2a4e872fb78e77748217084ffeb59de565d08a86ccefdace054520aaa7b66db4"},
|
|
285
|
+
{file = "maturin-1.11.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2079447967819b5cf615e5b5b99a406d662effdc8d6afd493dcd253c6afc3707"},
|
|
286
|
+
{file = "maturin-1.11.5-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:50f6c668c1d5d4d4dc1c3ffec7b4270dab493e5b2368f8e4213f4bcde6a50eea"},
|
|
287
|
+
{file = "maturin-1.11.5-py3-none-win32.whl", hash = "sha256:49f85ce6cbe478e9743ecddd6da2964afc0ded57013aa4d054256be702d23d40"},
|
|
288
|
+
{file = "maturin-1.11.5-py3-none-win_amd64.whl", hash = "sha256:70d3e5beffb9ef9dfae5f3c1a7eeb572091505eb8cb076e9434518df1c42a73b"},
|
|
289
|
+
{file = "maturin-1.11.5-py3-none-win_arm64.whl", hash = "sha256:9348f7f0a346108e0c96e6719be91da4470bd43c15802435e9f4157f5cca43d4"},
|
|
290
|
+
{file = "maturin-1.11.5.tar.gz", hash = "sha256:7579cf47640fb9595a19fe83a742cbf63203f0343055c349c1cab39045a30c29"},
|
|
291
291
|
]
|
|
292
292
|
|
|
293
293
|
[package.dependencies]
|
|
@@ -419,16 +419,22 @@ test = ["importlib_metadata (>=2.0)", "pytest (>=6.0)"]
|
|
|
419
419
|
|
|
420
420
|
[[package]]
|
|
421
421
|
name = "pathspec"
|
|
422
|
-
version = "0.
|
|
422
|
+
version = "1.0.2"
|
|
423
423
|
description = "Utility library for gitignore style pattern matching of file paths."
|
|
424
424
|
optional = false
|
|
425
|
-
python-versions = ">=3.
|
|
425
|
+
python-versions = ">=3.9"
|
|
426
426
|
groups = ["dev"]
|
|
427
427
|
files = [
|
|
428
|
-
{file = "pathspec-0.
|
|
429
|
-
{file = "pathspec-0.
|
|
428
|
+
{file = "pathspec-1.0.2-py3-none-any.whl", hash = "sha256:62f8558917908d237d399b9b338ef455a814801a4688bc41074b25feefd93472"},
|
|
429
|
+
{file = "pathspec-1.0.2.tar.gz", hash = "sha256:fa32b1eb775ed9ba8d599b22c5f906dc098113989da2c00bf8b210078ca7fb92"},
|
|
430
430
|
]
|
|
431
431
|
|
|
432
|
+
[package.extras]
|
|
433
|
+
hyperscan = ["hyperscan (>=0.7)"]
|
|
434
|
+
optional = ["typing-extensions (>=4)"]
|
|
435
|
+
re2 = ["google-re2 (>=1.1)"]
|
|
436
|
+
tests = ["pytest (>=9)", "typing-extensions (>=4.15)"]
|
|
437
|
+
|
|
432
438
|
[[package]]
|
|
433
439
|
name = "platformdirs"
|
|
434
440
|
version = "4.5.1"
|
|
@@ -608,4 +614,4 @@ files = [
|
|
|
608
614
|
[metadata]
|
|
609
615
|
lock-version = "2.1"
|
|
610
616
|
python-versions = ">=3.10,<3.15"
|
|
611
|
-
content-hash = "
|
|
617
|
+
content-hash = "286744a3b8151cf8562aeadf1b26229c58d5d588624c817096cb829e351aa5d6"
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
[tool.maturin]
|
|
2
2
|
module-name = "lindera"
|
|
3
|
+
features = ["pyo3/abi3-py310", "pyo3/generate-import-lib"]
|
|
3
4
|
|
|
4
5
|
[project]
|
|
5
6
|
name = "lindera-python"
|
|
6
|
-
version = "
|
|
7
|
+
version = "2.0.0"
|
|
7
8
|
description = "Python binding for Lindera (no embedded dictionaries)"
|
|
8
9
|
authors = [{ name = "Minoru Osuka", email = "minoru.osuka@gmail.com" }]
|
|
9
10
|
license = { text = "MIT" }
|
|
@@ -11,12 +12,12 @@ readme = "README.md"
|
|
|
11
12
|
keywords = ["morphological", "analysis", "library", "python"]
|
|
12
13
|
classifiers = [
|
|
13
14
|
"Programming Language :: Python :: 3",
|
|
14
|
-
"Programming Language :: Python :: 3.8",
|
|
15
|
-
"Programming Language :: Python :: 3.9",
|
|
16
15
|
"Programming Language :: Python :: 3.10",
|
|
17
16
|
"Programming Language :: Python :: 3.11",
|
|
18
17
|
"Programming Language :: Python :: 3.12",
|
|
19
18
|
"Programming Language :: Python :: 3.13",
|
|
19
|
+
"Programming Language :: Python :: 3.14",
|
|
20
|
+
"Programming Language :: Python :: 3.15",
|
|
20
21
|
"License :: OSI Approved :: MIT License",
|
|
21
22
|
"Operating System :: OS Independent",
|
|
22
23
|
]
|
|
@@ -24,7 +25,7 @@ requires-python = ">=3.10,<3.15"
|
|
|
24
25
|
|
|
25
26
|
[tool.poetry.dependencies]
|
|
26
27
|
python = ">=3.10,<3.15"
|
|
27
|
-
maturin = "^1.
|
|
28
|
+
maturin = "^1.11.5"
|
|
28
29
|
patchelf = "^0.17.2.4"
|
|
29
30
|
|
|
30
31
|
[tool.poetry.group.dev.dependencies]
|
|
@@ -37,8 +38,8 @@ flake8-pyproject = "^1.2.4"
|
|
|
37
38
|
mypy = "^1.19.1"
|
|
38
39
|
|
|
39
40
|
[build-system]
|
|
40
|
-
requires = ["
|
|
41
|
-
build-backend = "
|
|
41
|
+
requires = ["maturin>=1.7,<2.0"]
|
|
42
|
+
build-backend = "maturin"
|
|
42
43
|
|
|
43
44
|
[tool.black]
|
|
44
45
|
line-length = 119
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lindera_python-1.4.1 → lindera_python-2.0.0}/resources/ipadic_userdic_invalid_word_cost.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|