jam134 commited on
Commit
4fa6a2f
·
verified ·
1 Parent(s): 4bb788b

Upload 40 files

Browse files
.gitattributes CHANGED
@@ -67,3 +67,9 @@ runtime/Lib/site-packages/numpy/.libs/libopenblas.FB5AE2TYXYH2IJRDKGDGQ3XBKLKTF4
67
  runtime/Lib/site-packages/numpy/core/_multiarray_umath.cp39-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
68
  runtime/Lib/site-packages/numpy/core/_simd.cp39-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
69
  runtime/Lib/site-packages/onnx/onnx_cpp2py_export.cp39-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
67
  runtime/Lib/site-packages/numpy/core/_multiarray_umath.cp39-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
68
  runtime/Lib/site-packages/numpy/core/_simd.cp39-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
69
  runtime/Lib/site-packages/onnx/onnx_cpp2py_export.cp39-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
70
+ runtime/libcrypto-1_1.dll filter=lfs diff=lfs merge=lfs -text
71
+ runtime/python39.dll filter=lfs diff=lfs merge=lfs -text
72
+ runtime/sqlite3.dll filter=lfs diff=lfs merge=lfs -text
73
+ runtime/tcl86t.dll filter=lfs diff=lfs merge=lfs -text
74
+ runtime/tk86t.dll filter=lfs diff=lfs merge=lfs -text
75
+ runtime/unicodedata.pyd filter=lfs diff=lfs merge=lfs -text
runtime/CHANGES.rst ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CHANGES
2
+ =======
3
+
4
+ 0.3.4 (2023-2-18)
5
+ -------------------
6
+ - Fix to support Python2.7 ~ 3.4 (thanks @manjuu-eater)
7
+ - Support Python 3.11
8
+
9
+ 0.3.3 (2022-12-31)
10
+ -------------------
11
+ - Support Python 3.10
12
+ - Re-support Python2.7 ~ 3.4 (thanks @manjuu-eater)
13
+ - Fix z2h, h2z all flag off bug (thanks @manjuu-eater)
14
+
15
+ 0.3.1 (2022-12-14)
16
+ -------------------
17
+ - Fix alpha2kana infinite loop bug (thanks @frog42)
18
+
19
+ 0.3 (2021-03-29)
20
+ -------------------
21
+ - Fix bug (alphabet2kana) thanks @Cuddlemuffin007
22
+ - Support Python 3.8 and 3.9
23
+ - Add handy functions: alphabet2kata and kata2alphabet. thanks @kokimame
24
+ - Add function for julius: hiragana2julius
25
+
26
+ 0.2.4 (2018-02-04)
27
+ -------------------
28
+ - Fix bug (kana2alphabet)
29
+ - Support Python 3.7
30
+ - No longer support Python 2.6
31
+ - Add aliases of z2h -> zenkaku2hankaku and h2z -> hankaku2zenkaku
32
+
33
+ 0.2.3 (2018-02-03)
34
+ -------------------
35
+ - Fix bugs (alphabet2kana, kana2alphabet) thanks @letuananh
36
+
37
+ 0.2.2 (2018-01-22)
38
+ -------------------
39
+ - Fix bug (kana2alphabet) thanks @kokimame
40
+ - Support Python 3.6
41
+
42
+ 0.2.1 (2017-09-14)
43
+ -------------------
44
+ - Fix bugs (alphabet2kana, kana2alphabet)
45
+
46
+ 0.2 (2015-04-02)
47
+ ------------------
48
+
49
+ - Change module name jctconv -> jaconv
50
+ - Add alphabet and hiragana interconvert (alphabet2kana, kana2alphabet)
51
+
52
+ 0.1.1 (2015-03-12)
53
+ ------------------
54
+
55
+ - Support Windows
56
+ - Support Python 3.5
57
+
58
+
59
+ 0.1 (2014-11-24)
60
+ ------------------
61
+
62
+ - Add some Japanese characters to convert table (ゝゞ・「」。、)
63
+ - Decresing memory usage
64
+ - Some function names are deprecated (hankaku2zenkaku, zenkaku2hankaku, H2K, H2hK, K2H)
65
+
66
+
67
+ 0.0.7 (2014-03-22)
68
+ ------------------
69
+
70
+ z2h and h2z allow mojimoji-like target character type determination.
71
+ Bug fix about Half Kana conversion.
72
+
runtime/LICENSE.txt ADDED
@@ -0,0 +1,650 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ A. HISTORY OF THE SOFTWARE
2
+ ==========================
3
+
4
+ Python was created in the early 1990s by Guido van Rossum at Stichting
5
+ Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
6
+ as a successor of a language called ABC. Guido remains Python's
7
+ principal author, although it includes many contributions from others.
8
+
9
+ In 1995, Guido continued his work on Python at the Corporation for
10
+ National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
11
+ in Reston, Virginia where he released several versions of the
12
+ software.
13
+
14
+ In May 2000, Guido and the Python core development team moved to
15
+ BeOpen.com to form the BeOpen PythonLabs team. In October of the same
16
+ year, the PythonLabs team moved to Digital Creations, which became
17
+ Zope Corporation. In 2001, the Python Software Foundation (PSF, see
18
+ https://www.python.org/psf/) was formed, a non-profit organization
19
+ created specifically to own Python-related Intellectual Property.
20
+ Zope Corporation was a sponsoring member of the PSF.
21
+
22
+ All Python releases are Open Source (see http://www.opensource.org for
23
+ the Open Source Definition). Historically, most, but not all, Python
24
+ releases have also been GPL-compatible; the table below summarizes
25
+ the various releases.
26
+
27
+ Release Derived Year Owner GPL-
28
+ from compatible? (1)
29
+
30
+ 0.9.0 thru 1.2 1991-1995 CWI yes
31
+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
32
+ 1.6 1.5.2 2000 CNRI no
33
+ 2.0 1.6 2000 BeOpen.com no
34
+ 1.6.1 1.6 2001 CNRI yes (2)
35
+ 2.1 2.0+1.6.1 2001 PSF no
36
+ 2.0.1 2.0+1.6.1 2001 PSF yes
37
+ 2.1.1 2.1+2.0.1 2001 PSF yes
38
+ 2.1.2 2.1.1 2002 PSF yes
39
+ 2.1.3 2.1.2 2002 PSF yes
40
+ 2.2 and above 2.1.1 2001-now PSF yes
41
+
42
+ Footnotes:
43
+
44
+ (1) GPL-compatible doesn't mean that we're distributing Python under
45
+ the GPL. All Python licenses, unlike the GPL, let you distribute
46
+ a modified version without making your changes open source. The
47
+ GPL-compatible licenses make it possible to combine Python with
48
+ other software that is released under the GPL; the others don't.
49
+
50
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
51
+ because its license has a choice of law clause. According to
52
+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
53
+ is "not incompatible" with the GPL.
54
+
55
+ Thanks to the many outside volunteers who have worked under Guido's
56
+ direction to make these releases possible.
57
+
58
+
59
+ B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
60
+ ===============================================================
61
+
62
+ Python software and documentation are licensed under the
63
+ Python Software Foundation License Version 2.
64
+
65
+ Starting with Python 3.8.6, examples, recipes, and other code in
66
+ the documentation are dual licensed under the PSF License Version 2
67
+ and the Zero-Clause BSD license.
68
+
69
+ Some software incorporated into Python is under different licenses.
70
+ The licenses are listed with code falling under that license.
71
+
72
+
73
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
74
+ --------------------------------------------
75
+
76
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
77
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
78
+ otherwise using this software ("Python") in source or binary form and
79
+ its associated documentation.
80
+
81
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
82
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
83
+ analyze, test, perform and/or display publicly, prepare derivative works,
84
+ distribute, and otherwise use Python alone or in any derivative version,
85
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
86
+ i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
87
+ 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Python Software Foundation;
88
+ All Rights Reserved" are retained in Python alone or in any derivative version
89
+ prepared by Licensee.
90
+
91
+ 3. In the event Licensee prepares a derivative work that is based on
92
+ or incorporates Python or any part thereof, and wants to make
93
+ the derivative work available to others as provided herein, then
94
+ Licensee hereby agrees to include in any such work a brief summary of
95
+ the changes made to Python.
96
+
97
+ 4. PSF is making Python available to Licensee on an "AS IS"
98
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
99
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
100
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
101
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
102
+ INFRINGE ANY THIRD PARTY RIGHTS.
103
+
104
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
105
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
106
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
107
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
108
+
109
+ 6. This License Agreement will automatically terminate upon a material
110
+ breach of its terms and conditions.
111
+
112
+ 7. Nothing in this License Agreement shall be deemed to create any
113
+ relationship of agency, partnership, or joint venture between PSF and
114
+ Licensee. This License Agreement does not grant permission to use PSF
115
+ trademarks or trade name in a trademark sense to endorse or promote
116
+ products or services of Licensee, or any third party.
117
+
118
+ 8. By copying, installing or otherwise using Python, Licensee
119
+ agrees to be bound by the terms and conditions of this License
120
+ Agreement.
121
+
122
+
123
+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
124
+ -------------------------------------------
125
+
126
+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
127
+
128
+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
129
+ office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
130
+ Individual or Organization ("Licensee") accessing and otherwise using
131
+ this software in source or binary form and its associated
132
+ documentation ("the Software").
133
+
134
+ 2. Subject to the terms and conditions of this BeOpen Python License
135
+ Agreement, BeOpen hereby grants Licensee a non-exclusive,
136
+ royalty-free, world-wide license to reproduce, analyze, test, perform
137
+ and/or display publicly, prepare derivative works, distribute, and
138
+ otherwise use the Software alone or in any derivative version,
139
+ provided, however, that the BeOpen Python License is retained in the
140
+ Software, alone or in any derivative version prepared by Licensee.
141
+
142
+ 3. BeOpen is making the Software available to Licensee on an "AS IS"
143
+ basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
144
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
145
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
146
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
147
+ INFRINGE ANY THIRD PARTY RIGHTS.
148
+
149
+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
150
+ SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
151
+ AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
152
+ DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
153
+
154
+ 5. This License Agreement will automatically terminate upon a material
155
+ breach of its terms and conditions.
156
+
157
+ 6. This License Agreement shall be governed by and interpreted in all
158
+ respects by the law of the State of California, excluding conflict of
159
+ law provisions. Nothing in this License Agreement shall be deemed to
160
+ create any relationship of agency, partnership, or joint venture
161
+ between BeOpen and Licensee. This License Agreement does not grant
162
+ permission to use BeOpen trademarks or trade names in a trademark
163
+ sense to endorse or promote products or services of Licensee, or any
164
+ third party. As an exception, the "BeOpen Python" logos available at
165
+ http://www.pythonlabs.com/logos.html may be used according to the
166
+ permissions granted on that web page.
167
+
168
+ 7. By copying, installing or otherwise using the software, Licensee
169
+ agrees to be bound by the terms and conditions of this License
170
+ Agreement.
171
+
172
+
173
+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
174
+ ---------------------------------------
175
+
176
+ 1. This LICENSE AGREEMENT is between the Corporation for National
177
+ Research Initiatives, having an office at 1895 Preston White Drive,
178
+ Reston, VA 20191 ("CNRI"), and the Individual or Organization
179
+ ("Licensee") accessing and otherwise using Python 1.6.1 software in
180
+ source or binary form and its associated documentation.
181
+
182
+ 2. Subject to the terms and conditions of this License Agreement, CNRI
183
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
184
+ license to reproduce, analyze, test, perform and/or display publicly,
185
+ prepare derivative works, distribute, and otherwise use Python 1.6.1
186
+ alone or in any derivative version, provided, however, that CNRI's
187
+ License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
188
+ 1995-2001 Corporation for National Research Initiatives; All Rights
189
+ Reserved" are retained in Python 1.6.1 alone or in any derivative
190
+ version prepared by Licensee. Alternately, in lieu of CNRI's License
191
+ Agreement, Licensee may substitute the following text (omitting the
192
+ quotes): "Python 1.6.1 is made available subject to the terms and
193
+ conditions in CNRI's License Agreement. This Agreement together with
194
+ Python 1.6.1 may be located on the Internet using the following
195
+ unique, persistent identifier (known as a handle): 1895.22/1013. This
196
+ Agreement may also be obtained from a proxy server on the Internet
197
+ using the following URL: http://hdl.handle.net/1895.22/1013".
198
+
199
+ 3. In the event Licensee prepares a derivative work that is based on
200
+ or incorporates Python 1.6.1 or any part thereof, and wants to make
201
+ the derivative work available to others as provided herein, then
202
+ Licensee hereby agrees to include in any such work a brief summary of
203
+ the changes made to Python 1.6.1.
204
+
205
+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
206
+ basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
207
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
208
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
209
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
210
+ INFRINGE ANY THIRD PARTY RIGHTS.
211
+
212
+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
213
+ 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
214
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
215
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
216
+
217
+ 6. This License Agreement will automatically terminate upon a material
218
+ breach of its terms and conditions.
219
+
220
+ 7. This License Agreement shall be governed by the federal
221
+ intellectual property law of the United States, including without
222
+ limitation the federal copyright law, and, to the extent such
223
+ U.S. federal law does not apply, by the law of the Commonwealth of
224
+ Virginia, excluding Virginia's conflict of law provisions.
225
+ Notwithstanding the foregoing, with regard to derivative works based
226
+ on Python 1.6.1 that incorporate non-separable material that was
227
+ previously distributed under the GNU General Public License (GPL), the
228
+ law of the Commonwealth of Virginia shall govern this License
229
+ Agreement only as to issues arising under or with respect to
230
+ Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
231
+ License Agreement shall be deemed to create any relationship of
232
+ agency, partnership, or joint venture between CNRI and Licensee. This
233
+ License Agreement does not grant permission to use CNRI trademarks or
234
+ trade name in a trademark sense to endorse or promote products or
235
+ services of Licensee, or any third party.
236
+
237
+ 8. By clicking on the "ACCEPT" button where indicated, or by copying,
238
+ installing or otherwise using Python 1.6.1, Licensee agrees to be
239
+ bound by the terms and conditions of this License Agreement.
240
+
241
+ ACCEPT
242
+
243
+
244
+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
245
+ --------------------------------------------------
246
+
247
+ Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
248
+ The Netherlands. All rights reserved.
249
+
250
+ Permission to use, copy, modify, and distribute this software and its
251
+ documentation for any purpose and without fee is hereby granted,
252
+ provided that the above copyright notice appear in all copies and that
253
+ both that copyright notice and this permission notice appear in
254
+ supporting documentation, and that the name of Stichting Mathematisch
255
+ Centrum or CWI not be used in advertising or publicity pertaining to
256
+ distribution of the software without specific, written prior
257
+ permission.
258
+
259
+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
260
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
261
+ FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
262
+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
263
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
264
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
265
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
266
+
267
+ ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
268
+ ----------------------------------------------------------------------
269
+
270
+ Permission to use, copy, modify, and/or distribute this software for any
271
+ purpose with or without fee is hereby granted.
272
+
273
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
274
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
275
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
276
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
277
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
278
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
279
+ PERFORMANCE OF THIS SOFTWARE.
280
+
281
+
282
+
283
+ Additional Conditions for this Windows binary build
284
+ ---------------------------------------------------
285
+
286
+ This program is linked with and uses Microsoft Distributable Code,
287
+ copyrighted by Microsoft Corporation. The Microsoft Distributable Code
288
+ is embedded in each .exe, .dll and .pyd file as a result of running
289
+ the code through a linker.
290
+
291
+ If you further distribute programs that include the Microsoft
292
+ Distributable Code, you must comply with the restrictions on
293
+ distribution specified by Microsoft. In particular, you must require
294
+ distributors and external end users to agree to terms that protect the
295
+ Microsoft Distributable Code at least as much as Microsoft's own
296
+ requirements for the Distributable Code. See Microsoft's documentation
297
+ (included in its developer tools and on its website at microsoft.com)
298
+ for specific details.
299
+
300
+ Redistribution of the Windows binary build of the Python interpreter
301
+ complies with this agreement, provided that you do not:
302
+
303
+ - alter any copyright, trademark or patent notice in Microsoft's
304
+ Distributable Code;
305
+
306
+ - use Microsoft's trademarks in your programs' names or in a way that
307
+ suggests your programs come from or are endorsed by Microsoft;
308
+
309
+ - distribute Microsoft's Distributable Code to run on a platform other
310
+ than Microsoft operating systems, run-time technologies or application
311
+ platforms; or
312
+
313
+ - include Microsoft Distributable Code in malicious, deceptive or
314
+ unlawful programs.
315
+
316
+ These restrictions apply only to the Microsoft Distributable Code as
317
+ defined above, not to Python itself or any programs running on the
318
+ Python interpreter. The redistribution of the Python interpreter and
319
+ libraries is governed by the Python Software License included with this
320
+ file, or by other licenses as marked.
321
+
322
+
323
+
324
+ --------------------------------------------------------------------------
325
+
326
+ This program, "bzip2", the associated library "libbzip2", and all
327
+ documentation, are copyright (C) 1996-2019 Julian R Seward. All
328
+ rights reserved.
329
+
330
+ Redistribution and use in source and binary forms, with or without
331
+ modification, are permitted provided that the following conditions
332
+ are met:
333
+
334
+ 1. Redistributions of source code must retain the above copyright
335
+ notice, this list of conditions and the following disclaimer.
336
+
337
+ 2. The origin of this software must not be misrepresented; you must
338
+ not claim that you wrote the original software. If you use this
339
+ software in a product, an acknowledgment in the product
340
+ documentation would be appreciated but is not required.
341
+
342
+ 3. Altered source versions must be plainly marked as such, and must
343
+ not be misrepresented as being the original software.
344
+
345
+ 4. The name of the author may not be used to endorse or promote
346
+ products derived from this software without specific prior written
347
+ permission.
348
+
349
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
350
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
351
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
352
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
353
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
354
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
355
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
356
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
357
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
358
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
359
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
360
+
361
+ Julian Seward, jseward@acm.org
362
+ bzip2/libbzip2 version 1.0.8 of 13 July 2019
363
+
364
+ --------------------------------------------------------------------------
365
+
366
+
367
+ LICENSE ISSUES
368
+ ==============
369
+
370
+ The OpenSSL toolkit stays under a double license, i.e. both the conditions of
371
+ the OpenSSL License and the original SSLeay license apply to the toolkit.
372
+ See below for the actual license texts.
373
+
374
+ OpenSSL License
375
+ ---------------
376
+
377
+ /* ====================================================================
378
+ * Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved.
379
+ *
380
+ * Redistribution and use in source and binary forms, with or without
381
+ * modification, are permitted provided that the following conditions
382
+ * are met:
383
+ *
384
+ * 1. Redistributions of source code must retain the above copyright
385
+ * notice, this list of conditions and the following disclaimer.
386
+ *
387
+ * 2. Redistributions in binary form must reproduce the above copyright
388
+ * notice, this list of conditions and the following disclaimer in
389
+ * the documentation and/or other materials provided with the
390
+ * distribution.
391
+ *
392
+ * 3. All advertising materials mentioning features or use of this
393
+ * software must display the following acknowledgment:
394
+ * "This product includes software developed by the OpenSSL Project
395
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
396
+ *
397
+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
398
+ * endorse or promote products derived from this software without
399
+ * prior written permission. For written permission, please contact
400
+ * openssl-core@openssl.org.
401
+ *
402
+ * 5. Products derived from this software may not be called "OpenSSL"
403
+ * nor may "OpenSSL" appear in their names without prior written
404
+ * permission of the OpenSSL Project.
405
+ *
406
+ * 6. Redistributions of any form whatsoever must retain the following
407
+ * acknowledgment:
408
+ * "This product includes software developed by the OpenSSL Project
409
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
410
+ *
411
+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
412
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
413
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
414
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
415
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
416
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
417
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
418
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
419
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
420
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
421
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
422
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
423
+ * ====================================================================
424
+ *
425
+ * This product includes cryptographic software written by Eric Young
426
+ * (eay@cryptsoft.com). This product includes software written by Tim
427
+ * Hudson (tjh@cryptsoft.com).
428
+ *
429
+ */
430
+
431
+ Original SSLeay License
432
+ -----------------------
433
+
434
+ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
435
+ * All rights reserved.
436
+ *
437
+ * This package is an SSL implementation written
438
+ * by Eric Young (eay@cryptsoft.com).
439
+ * The implementation was written so as to conform with Netscapes SSL.
440
+ *
441
+ * This library is free for commercial and non-commercial use as long as
442
+ * the following conditions are aheared to. The following conditions
443
+ * apply to all code found in this distribution, be it the RC4, RSA,
444
+ * lhash, DES, etc., code; not just the SSL code. The SSL documentation
445
+ * included with this distribution is covered by the same copyright terms
446
+ * except that the holder is Tim Hudson (tjh@cryptsoft.com).
447
+ *
448
+ * Copyright remains Eric Young's, and as such any Copyright notices in
449
+ * the code are not to be removed.
450
+ * If this package is used in a product, Eric Young should be given attribution
451
+ * as the author of the parts of the library used.
452
+ * This can be in the form of a textual message at program startup or
453
+ * in documentation (online or textual) provided with the package.
454
+ *
455
+ * Redistribution and use in source and binary forms, with or without
456
+ * modification, are permitted provided that the following conditions
457
+ * are met:
458
+ * 1. Redistributions of source code must retain the copyright
459
+ * notice, this list of conditions and the following disclaimer.
460
+ * 2. Redistributions in binary form must reproduce the above copyright
461
+ * notice, this list of conditions and the following disclaimer in the
462
+ * documentation and/or other materials provided with the distribution.
463
+ * 3. All advertising materials mentioning features or use of this software
464
+ * must display the following acknowledgement:
465
+ * "This product includes cryptographic software written by
466
+ * Eric Young (eay@cryptsoft.com)"
467
+ * The word 'cryptographic' can be left out if the rouines from the library
468
+ * being used are not cryptographic related :-).
469
+ * 4. If you include any Windows specific code (or a derivative thereof) from
470
+ * the apps directory (application code) you must include an acknowledgement:
471
+ * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
472
+ *
473
+ * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
474
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
475
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
476
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
477
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
478
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
479
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
480
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
481
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
482
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
483
+ * SUCH DAMAGE.
484
+ *
485
+ * The licence and distribution terms for any publically available version or
486
+ * derivative of this code cannot be changed. i.e. this code cannot simply be
487
+ * copied and put under another distribution licence
488
+ * [including the GNU Public Licence.]
489
+ */
490
+
491
+
492
+ libffi - Copyright (c) 1996-2014 Anthony Green, Red Hat, Inc and others.
493
+ See source files for details.
494
+
495
+ Permission is hereby granted, free of charge, to any person obtaining
496
+ a copy of this software and associated documentation files (the
497
+ ``Software''), to deal in the Software without restriction, including
498
+ without limitation the rights to use, copy, modify, merge, publish,
499
+ distribute, sublicense, and/or sell copies of the Software, and to
500
+ permit persons to whom the Software is furnished to do so, subject to
501
+ the following conditions:
502
+
503
+ The above copyright notice and this permission notice shall be
504
+ included in all copies or substantial portions of the Software.
505
+
506
+ THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
507
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
508
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
509
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
510
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
511
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
512
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
513
+
514
+ This software is copyrighted by the Regents of the University of
515
+ California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
516
+ Corporation and other parties. The following terms apply to all files
517
+ associated with the software unless explicitly disclaimed in
518
+ individual files.
519
+
520
+ The authors hereby grant permission to use, copy, modify, distribute,
521
+ and license this software and its documentation for any purpose, provided
522
+ that existing copyright notices are retained in all copies and that this
523
+ notice is included verbatim in any distributions. No written agreement,
524
+ license, or royalty fee is required for any of the authorized uses.
525
+ Modifications to this software may be copyrighted by their authors
526
+ and need not follow the licensing terms described here, provided that
527
+ the new terms are clearly indicated on the first page of each file where
528
+ they apply.
529
+
530
+ IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
531
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
532
+ ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
533
+ DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
534
+ POSSIBILITY OF SUCH DAMAGE.
535
+
536
+ THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
537
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
538
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
539
+ IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
540
+ NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
541
+ MODIFICATIONS.
542
+
543
+ GOVERNMENT USE: If you are acquiring this software on behalf of the
544
+ U.S. government, the Government shall have only "Restricted Rights"
545
+ in the software and related documentation as defined in the Federal
546
+ Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
547
+ are acquiring the software on behalf of the Department of Defense, the
548
+ software shall be classified as "Commercial Computer Software" and the
549
+ Government shall have only "Restricted Rights" as defined in Clause
550
+ 252.227-7014 (b) (3) of DFARs. Notwithstanding the foregoing, the
551
+ authors grant the U.S. Government and others acting in its behalf
552
+ permission to use and distribute the software in accordance with the
553
+ terms specified in this license.
554
+
555
+ This software is copyrighted by the Regents of the University of
556
+ California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
557
+ Corporation, Apple Inc. and other parties. The following terms apply to
558
+ all files associated with the software unless explicitly disclaimed in
559
+ individual files.
560
+
561
+ The authors hereby grant permission to use, copy, modify, distribute,
562
+ and license this software and its documentation for any purpose, provided
563
+ that existing copyright notices are retained in all copies and that this
564
+ notice is included verbatim in any distributions. No written agreement,
565
+ license, or royalty fee is required for any of the authorized uses.
566
+ Modifications to this software may be copyrighted by their authors
567
+ and need not follow the licensing terms described here, provided that
568
+ the new terms are clearly indicated on the first page of each file where
569
+ they apply.
570
+
571
+ IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
572
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
573
+ ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
574
+ DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
575
+ POSSIBILITY OF SUCH DAMAGE.
576
+
577
+ THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
578
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
579
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
580
+ IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
581
+ NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
582
+ MODIFICATIONS.
583
+
584
+ GOVERNMENT USE: If you are acquiring this software on behalf of the
585
+ U.S. government, the Government shall have only "Restricted Rights"
586
+ in the software and related documentation as defined in the Federal
587
+ Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
588
+ are acquiring the software on behalf of the Department of Defense, the
589
+ software shall be classified as "Commercial Computer Software" and the
590
+ Government shall have only "Restricted Rights" as defined in Clause
591
+ 252.227-7013 (b) (3) of DFARs. Notwithstanding the foregoing, the
592
+ authors grant the U.S. Government and others acting in its behalf
593
+ permission to use and distribute the software in accordance with the
594
+ terms specified in this license.
595
+
596
+ Copyright (c) 1993-1999 Ioi Kim Lam.
597
+ Copyright (c) 2000-2001 Tix Project Group.
598
+ Copyright (c) 2004 ActiveState
599
+
600
+ This software is copyrighted by the above entities
601
+ and other parties. The following terms apply to all files associated
602
+ with the software unless explicitly disclaimed in individual files.
603
+
604
+ The authors hereby grant permission to use, copy, modify, distribute,
605
+ and license this software and its documentation for any purpose, provided
606
+ that existing copyright notices are retained in all copies and that this
607
+ notice is included verbatim in any distributions. No written agreement,
608
+ license, or royalty fee is required for any of the authorized uses.
609
+ Modifications to this software may be copyrighted by their authors
610
+ and need not follow the licensing terms described here, provided that
611
+ the new terms are clearly indicated on the first page of each file where
612
+ they apply.
613
+
614
+ IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
615
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
616
+ ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
617
+ DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
618
+ POSSIBILITY OF SUCH DAMAGE.
619
+
620
+ THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
621
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
622
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
623
+ IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
624
+ NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
625
+ MODIFICATIONS.
626
+
627
+ GOVERNMENT USE: If you are acquiring this software on behalf of the
628
+ U.S. government, the Government shall have only "Restricted Rights"
629
+ in the software and related documentation as defined in the Federal
630
+ Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
631
+ are acquiring the software on behalf of the Department of Defense, the
632
+ software shall be classified as "Commercial Computer Software" and the
633
+ Government shall have only "Restricted Rights" as defined in Clause
634
+ 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
635
+ authors grant the U.S. Government and others acting in its behalf
636
+ permission to use and distribute the software in accordance with the
637
+ terms specified in this license.
638
+
639
+ ----------------------------------------------------------------------
640
+
641
+ Parts of this software are based on the Tcl/Tk software copyrighted by
642
+ the Regents of the University of California, Sun Microsystems, Inc.,
643
+ and other parties. The original license terms of the Tcl/Tk software
644
+ distribution is included in the file docs/license.tcltk.
645
+
646
+ Parts of this software are based on the HTML Library software
647
+ copyrighted by Sun Microsystems, Inc. The original license terms of
648
+ the HTML Library software distribution is included in the file
649
+ docs/license.html_lib.
650
+
runtime/README.rst ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jaconv
2
+ ==========
3
+ |travis| |coveralls| |pyversion| |version| |license| |download|
4
+
5
+ jaconv (Japanese Converter) is interconverter for Hiragana, Katakana, Hankaku (half-width character) and Zenkaku (full-width character)
6
+
7
+ `Japanese README <https://github.com/ikegami-yukino/jaconv/blob/master/README_JP.rst>`_ is available.
8
+
9
+ INSTALLATION
10
+ ==============
11
+
12
+ ::
13
+
14
+ $ pip install jaconv
15
+
16
+
17
+ USAGE
18
+ ============
19
+
20
+ See also `document <http://ikegami-yukino.github.io/jaconv/jaconv.html>`_
21
+
22
+ .. code:: python
23
+
24
+ import jaconv
25
+
26
+ # Hiragana to Katakana
27
+ jaconv.hira2kata('ともえまみ')
28
+ # => 'トモエマミ'
29
+
30
+ # Hiragana to half-width Katakana
31
+ jaconv.hira2hkata('ともえまみ')
32
+ # => 'トモエマミ'
33
+
34
+ # Katakana to Hiragana
35
+ jaconv.kata2hira('巴マミ')
36
+ # => '巴まみ'
37
+
38
+ # half-width character to full-width character
39
+ # default parameters are followings: kana=True, ascii=False, digit=False
40
+ jaconv.h2z('ティロ・フィナーレ')
41
+ # => 'ティロ・フィナーレ'
42
+
43
+ # half-width character to full-width character
44
+ # but only ascii characters
45
+ jaconv.h2z('abc', kana=False, ascii=True, digit=False)
46
+ # => 'abc'
47
+
48
+ # half-width character to full-width character
49
+ # but only digit characters
50
+ jaconv.h2z('123', kana=False, ascii=False, digit=True)
51
+ # => '123'
52
+
53
+ # half-width character to full-width character
54
+ # except half-width Katakana
55
+ jaconv.h2z('アabc123', kana=False, digit=True, ascii=True)
56
+ # => 'アabc123'
57
+
58
+ # an alias of h2z
59
+ jaconv.hankaku2zenkaku('ティロ・フィナーレabc123')
60
+ # => 'ティロ・フィナーレabc123'
61
+
62
+ # full-width character to half-width character
63
+ # default parameters are followings: kana=True, ascii=False, digit=False
64
+ jaconv.z2h('ティロ・フィナーレ')
65
+ # => 'ティロ・フィナーレ'
66
+
67
+ # full-width character to half-width character
68
+ # but only ascii characters
69
+ jaconv.z2h('abc', kana=False, ascii=True, digit=False)
70
+ # => 'abc'
71
+
72
+ # full-width character to half-width character
73
+ # but only digit characters
74
+ jaconv.z2h('123', kana=False, ascii=False, digit=True)
75
+ # => '123'
76
+
77
+ # full-width character to half-width character
78
+ # except full-width Katakana
79
+ jaconv.z2h('アabc123', kana=False, digit=True, ascii=True)
80
+ # => 'アabc123'
81
+
82
+ # an alias of z2h
83
+ jaconv.zenkaku2hankaku('ティロ・フィナーレabc123')
84
+ # => 'ティロ・フィナーレabc123'
85
+
86
+ # normalize
87
+ jaconv.normalize('ティロ・フィナ〜レ', 'NFKC')
88
+ # => 'ティロ・フィナーレ'
89
+
90
+ # Hiragana to alphabet
91
+ jaconv.kana2alphabet('じゃぱん')
92
+ # => 'japan'
93
+
94
+ # Alphabet to Hiragana
95
+ jaconv.alphabet2kana('japan')
96
+ # => 'じゃぱん'
97
+
98
+ # Katakana to Alphabet
99
+ jaconv.kata2alphabet('ケツイ')
100
+ # => 'ketsui'
101
+
102
+ # Alphabet to Katakana
103
+ jaconv.alphabet2kata('namba')
104
+ # => 'ナンバ'
105
+
106
+ # Hiragana to Julius's phoneme format
107
+ jaconv.hiragana2julius('てんきすごくいいいいいい')
108
+ # => 't e N k i s u g o k u i:'
109
+
110
+
111
+ NOTE
112
+ ============
113
+
114
+ jaconv.normalize method expand unicodedata.normalize for Japanese language processing.
115
+
116
+ .. code::
117
+
118
+ '〜' => 'ー'
119
+ '~' => 'ー'
120
+ "’" => "'"
121
+ '”'=> '"'
122
+ '“' => '``'
123
+ '―' => '-'
124
+ '‐' => '-'
125
+ '˗' => '-'
126
+ '֊' => '-'
127
+ '‐' => '-'
128
+ '‑' => '-'
129
+ '‒' => '-'
130
+ '–' => '-'
131
+ '⁃' => '-'
132
+ '⁻' => '-'
133
+ '₋' => '-'
134
+ '−' => '-'
135
+ '﹣' => 'ー'
136
+ '-' => 'ー'
137
+ '—' => 'ー'
138
+ '―' => 'ー'
139
+ '━' => 'ー'
140
+ '─' => 'ー'
141
+
142
+
143
+
144
+
145
+
146
+ .. |travis| image:: https://travis-ci.org/ikegami-yukino/jaconv.svg?branch=master
147
+ :target: https://travis-ci.org/ikegami-yukino/jaconv
148
+ :alt: travis-ci.org
149
+
150
+ .. |coveralls| image:: https://coveralls.io/repos/ikegami-yukino/jaconv/badge.svg?branch=master&service=github
151
+ :target: https://coveralls.io/github/ikegami-yukino/jaconv?branch=master
152
+ :alt: coveralls.io
153
+
154
+ .. |pyversion| image:: https://img.shields.io/pypi/pyversions/jaconv.svg
155
+
156
+ .. |version| image:: https://img.shields.io/pypi/v/jaconv.svg
157
+ :target: http://pypi.python.org/pypi/jaconv/
158
+ :alt: latest version
159
+
160
+ .. |license| image:: https://img.shields.io/pypi/l/jaconv.svg
161
+ :target: http://pypi.python.org/pypi/jaconv/
162
+ :alt: license
163
+
164
+ .. |download| image:: https://static.pepy.tech/personalized-badge/neologdn?period=total&units=international_system&left_color=black&right_color=blue&left_text=Downloads
165
+ :target: https://pepy.tech/project/neologdn
166
+ :alt: download
runtime/_asyncio.pyd ADDED
Binary file (67.1 kB). View file
 
runtime/_bz2.pyd ADDED
Binary file (88.1 kB). View file
 
runtime/_ctypes.pyd ADDED
Binary file (129 kB). View file
 
runtime/_decimal.pyd ADDED
Binary file (272 kB). View file
 
runtime/_elementtree.pyd ADDED
Binary file (192 kB). View file
 
runtime/_hashlib.pyd ADDED
Binary file (66.6 kB). View file
 
runtime/_lzma.pyd ADDED
Binary file (165 kB). View file
 
runtime/_msi.pyd ADDED
Binary file (42 kB). View file
 
runtime/_multiprocessing.pyd ADDED
Binary file (32.2 kB). View file
 
runtime/_overlapped.pyd ADDED
Binary file (48.1 kB). View file
 
runtime/_queue.pyd ADDED
Binary file (31.2 kB). View file
 
runtime/_socket.pyd ADDED
Binary file (81.9 kB). View file
 
runtime/_sqlite3.pyd ADDED
Binary file (91.6 kB). View file
 
runtime/_ssl.pyd ADDED
Binary file (157 kB). View file
 
runtime/_tkinter.pyd ADDED
Binary file (65.2 kB). View file
 
runtime/_uuid.pyd ADDED
Binary file (25.6 kB). View file
 
runtime/_zoneinfo.pyd ADDED
Binary file (49.1 kB). View file
 
runtime/dist_metrics.pxd ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!python
2
+ #cython: boundscheck=False
3
+ #cython: wraparound=False
4
+ #cython: cdivision=True
5
+
6
+ import cython
7
+ cimport cython
8
+
9
+ import numpy as np
10
+ cimport numpy as np
11
+
12
+ from libc.math cimport fabs, sqrt, exp, cos, pow
13
+
14
+ ctypedef np.double_t DTYPE_t
15
+ ctypedef np.intp_t ITYPE_t
16
+
17
+ cdef enum:
18
+ DTYPECODE = np.NPY_FLOAT64
19
+ ITYPECODE = np.NPY_INTP
20
+
21
+ # Fused type for certain operations
22
+ ctypedef fused DITYPE_t:
23
+ ITYPE_t
24
+ DTYPE_t
25
+
26
+ ITYPE = np.intp
27
+
28
+ DTYPE = np.double
29
+
30
+ ######################################################################
31
+ # Inline distance functions
32
+ #
33
+ # We use these for the default (euclidean) case so that they can be
34
+ # inlined. This leads to faster computation for the most common case
35
+ cdef inline DTYPE_t euclidean_dist(DTYPE_t* x1, DTYPE_t* x2,
36
+ ITYPE_t size) nogil except -1:
37
+ cdef DTYPE_t tmp, d=0
38
+ cdef np.intp_t j
39
+ for j in range(size):
40
+ tmp = x1[j] - x2[j]
41
+ d += tmp * tmp
42
+ return sqrt(d)
43
+
44
+
45
+ cdef inline DTYPE_t euclidean_rdist(DTYPE_t* x1, DTYPE_t* x2,
46
+ ITYPE_t size) nogil except -1:
47
+ cdef DTYPE_t tmp, d=0
48
+ cdef np.intp_t j
49
+ for j in range(size):
50
+ tmp = x1[j] - x2[j]
51
+ d += tmp * tmp
52
+ return d
53
+
54
+
55
+ cdef inline DTYPE_t euclidean_dist_to_rdist(DTYPE_t dist) nogil except -1:
56
+ return dist * dist
57
+
58
+
59
+ cdef inline DTYPE_t euclidean_rdist_to_dist(DTYPE_t dist) except -1:
60
+ return sqrt(dist)
61
+
62
+
63
+ ######################################################################
64
+ # DistanceMetric base class
65
+ cdef class DistanceMetric:
66
+ # The following attributes are required for a few of the subclasses.
67
+ # we must define them here so that cython's limited polymorphism will work.
68
+ # Because we don't expect to instantiate a lot of these objects, the
69
+ # extra memory overhead of this setup should not be an issue.
70
+ cdef DTYPE_t p
71
+ #cdef DTYPE_t[::1] vec
72
+ #cdef DTYPE_t[:, ::1] mat
73
+ cdef np.ndarray vec
74
+ cdef np.ndarray mat
75
+ cdef DTYPE_t* vec_ptr
76
+ cdef DTYPE_t* mat_ptr
77
+ cdef ITYPE_t size
78
+ cdef object func
79
+ cdef object kwargs
80
+
81
+ cdef DTYPE_t dist(self, DTYPE_t* x1, DTYPE_t* x2,
82
+ ITYPE_t size) nogil except -1
83
+
84
+ cdef DTYPE_t rdist(self, DTYPE_t* x1, DTYPE_t* x2,
85
+ ITYPE_t size) nogil except -1
86
+
87
+ cdef int pdist(self, DTYPE_t[:, ::1] X, DTYPE_t[:, ::1] D) except -1
88
+
89
+ cdef int cdist(self, DTYPE_t[:, ::1] X, DTYPE_t[:, ::1] Y,
90
+ DTYPE_t[:, ::1] D) except -1
91
+
92
+ cdef DTYPE_t _rdist_to_dist(self, DTYPE_t rdist) except -1
93
+
94
+ cdef DTYPE_t _dist_to_rdist(self, DTYPE_t dist) nogil except -1
runtime/libcrypto-1_1.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c0a0a11629cced6a064932e95a0158ee936739d75a56338702fed97cb0bad55
3
+ size 3439512
runtime/libffi-7.dll ADDED
Binary file (32.8 kB). View file
 
runtime/libssl-1_1.dll ADDED
Binary file (699 kB). View file
 
runtime/pyexpat.pyd ADDED
Binary file (207 kB). View file
 
runtime/python.cat ADDED
Binary file (588 kB). View file
 
runtime/python.exe ADDED
Binary file (103 kB). View file
 
runtime/python3.dll ADDED
Binary file (61.4 kB). View file
 
runtime/python39._pth ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ python39.zip
2
+ .
3
+
4
+ # Uncomment to run site.main() automatically
5
+ import site
runtime/python39.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:324963a39b8fd045ff634bb3271508dab5098b4d99e85e7648d0b47c32dc85c3
3
+ size 4527096
runtime/python39.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0e43c6d4493260c937f40b99f63d0a774318adc45149c3d947017ad1a641778
3
+ size 2509667
runtime/pythonw.exe ADDED
Binary file (102 kB). View file
 
runtime/select.pyd ADDED
Binary file (30.7 kB). View file
 
runtime/sqlite3.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a4fc3957bc5f007b6c3a2df66c8286fe65ae74827a233f0df2e9679dc7ad39f
3
+ size 1550328
runtime/tcl86t.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f650d6bc321bcda3fc3ac3dec3ac4e473fb0b7b68b6c948581bcfc54653e6768
3
+ size 1705120
runtime/tk86t.dll ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a6d0871be2fa7153de22be008a20a5257b721657e6d4b24da8b1f940345d0d5
3
+ size 1468064
runtime/unicodedata.pyd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a0987025f1cf2111dc6e4f59402073ba123d7436d809ee4198b4e7bfb8cb868
3
+ size 1123832
runtime/vcruntime140.dll ADDED
Binary file (98.2 kB). View file
 
runtime/vcruntime140_1.dll ADDED
Binary file (37.3 kB). View file
 
runtime/winsound.pyd ADDED
Binary file (31.7 kB). View file