Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalal committed Jul 2, 2020
1 parent 88958f7 commit 6eda251
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
build
dist
*.egg-info
.mypy_cache
4 changes: 0 additions & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
1. Source code is distributed under MIT license

MIT License

Copyright (c) 2020 sgalal
Expand All @@ -9,5 +7,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

2. Dictionary data follows the original license
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ Helper:

# License

Source code is distributed under MIT license.
This repository is distributed under MIT license.

Dictionary data follows the original license.
Dictionary data is taken from [rime/rime-cantonese](https://github.com/rime/rime-cantonese), which is licensed under a Creative Commons Attribution 4.0 International License.
2 changes: 1 addition & 1 deletion preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def download_file_if_not_exist():
'''Download the dictionary file to the current folder if not exists.'''
DICT_URL = 'https://raw.githubusercontent.com/rime/rime-cantonese/70b9e9eb4da84c3371fe2cd77452c37ca0cb2ef0/jyut6ping3.dict.yaml'
DICT_URL = 'https://raw.githubusercontent.com/rime/rime-cantonese/bae9900305b4852954c3a8f65b2e69a3280cdd01/jyut6ping3.dict.yaml'
if not path.exists(path.join(here, 'jyut6ping3.dict.yaml')):
request.urlretrieve(DICT_URL, path.join(here, 'jyut6ping3.dict.yaml'))

Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
description='粵語拼音自動標註工具 | Cantonese Pronunciation Automatic Labeling Tool',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/sgalal/to-jyutping',
url='https://github.com/sgalal/ToJyutping',
author='sgalal',
author_email='[email protected]',
license='Other',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
Expand All @@ -32,7 +32,7 @@
'Natural Language :: Cantonese',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: Chinese (Traditional)',
'License :: Other/Proprietary License',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand All @@ -51,8 +51,8 @@
install_requires=['pygtrie', 'opencc!=1.1.1'],
entry_points={},
project_urls={
'Bug Reports': 'https://github.com/sgalal/to-jyutping/issues',
'Source': 'https://github.com/sgalal/to-jyutping',
'Bug Reports': 'https://github.com/sgalal/ToJyutping/issues',
'Source': 'https://github.com/sgalal/ToJyutping',
},
zip_safe=False
)
2 changes: 1 addition & 1 deletion src/ToJyutping/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

__version__ = '0.1.3'
__version__ = '0.1.4'

0 comments on commit 6eda251

Please sign in to comment.