Comments (1)
Python2.7.18を入れてインストールしてみたのですが、やっぱりSyntaxErrorになってしまっていました…。
typingを除去してプルリクエストを出してみます。
よろしくお願いします。
D:\>py -2
Python 2.7.18 (v2.7.18:8d21aa21f2, Apr 20 2020, 13:25:05) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import jaconv
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\User\AppData\Roaming\Python\Python27\site-packages\jaconv\__init__.py", line 3, in <module>
from . import jaconv
File "C:\Users\User\AppData\Roaming\Python\Python27\site-packages\jaconv\jaconv.py", line 27
def _translate(text: str, ignore: str, conv_map: typing.Dict) -> str:
^
SyntaxError: invalid syntax
>>>
from jaconv.
Related Issues (12)
- kwarg `ignore` was not used in `jaconv.normalize` HOT 1
- 日本語Readmeのサンプル HOT 1
- alphabet2kana bug
- how to convert romaji to kanji? HOT 3
- Freeze when passing certain characters to jaconv.kana2alphabet HOT 9
- Tag the source HOT 2
- README.rst and CHANGES.rst are installed in wrong location
- Support Shin/Kyuu Kanji Conversion HOT 1
- kana2alphabet bug っ(xtsu)
- Support Small/Large Conversion
- Support 歴史的仮名遣い
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaconv.