diff --git a/CHANGELOG.md b/CHANGELOG.md index c22a5c4..da6212b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 3.2 +* 将发布证书改为MIT + # 3.1 * 对空间临近词的邻居进行缓存,提高返回速度 * nearby中处理OOV,返回 ([], []) diff --git a/LICENSE b/LICENSE index 0cef4d1..c04bd30 100644 --- a/LICENSE +++ b/LICENSE @@ -1,15 +1,7 @@ -Synonyms for Natural Language Processing and Understanding. -Copyright (C) 2017 Hu Ying Xi<>, Hai Liang Wang +Copyright 2018 Hu Ying Xi<>, Hai Liang Wang -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -You should have received a copy of the GNU General Public License -along with this program. If not, see . +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.OF diff --git a/README.md b/README.md index 39d42a4..29f7672 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Chinese Synonyms for Natural Language Processing and Understanding. ![](https://camo.githubusercontent.com/ae91a5698ad80d3fe8e0eb5a4c6ee7170e088a7d/687474703a2f2f37786b6571692e636f6d312e7a302e676c622e636c6f7564646e2e636f6d2f61692f53637265656e25323053686f74253230323031372d30342d30342532306174253230382e32302e3437253230504d2e706e67) -# Content: +# Table of Content: * [Install](https://github.com/huyingxi/Synonyms#welcome) * [Usage](https://github.com/huyingxi/Synonyms#usage) @@ -100,20 +100,21 @@ synonyms.nearby(人脸) = ( ``` ## PCA +以“人脸”为例主要成分分析: ![](assets/1.png) -## Samples - -![](assets/2.png) - ## Quick Get Start ``` $ pip install -r Requirements.txt $ python demo.py ``` +## Change logs +更新情况[说明](./CHANGELOG.md)。 + ## Voice of Users +用户怎么说: @@ -180,7 +181,7 @@ meminfo 8GB ## Statement -[Synonyms](https://github.com/huyingxi/Synonyms)发布证书 GPL 3.0。数据和程序可用于研究和商业产品,必须注明引用和地址,比如发布的任何媒体、期刊、杂志或博客等内容。 +[Synonyms](https://github.com/huyingxi/Synonyms)发布证书 MIT。数据和程序可用于研究和商业产品,必须注明引用和地址,比如发布的任何媒体、期刊、杂志或博客等内容。 ``` @online{Synonyms:hain2017, author = {Hai Liang Wang, Hu Ying Xi}, @@ -191,8 +192,6 @@ meminfo 8GB } ``` -任何基于[Synonyms](https://github.com/huyingxi/Synonyms)衍生的数据和项目也需要开放并需要声明一致的“声明”。 - # References [wikidata-corpus](https://github.com/Samurais/wikidata-corpus) @@ -228,4 +227,4 @@ Google发布的[word2vec](https://code.google.com/archive/p/word2vec/),该库 [jieba: 中文分词](https://github.com/fxsjy/jieba) # License -[GPL3.0](./LICENSE) \ No newline at end of file +[MIT](./LICENSE) \ No newline at end of file diff --git a/Requirements.txt b/Requirements.txt index 3664adc..20b476e 100644 --- a/Requirements.txt +++ b/Requirements.txt @@ -1 +1 @@ -synonyms>=3.1 \ No newline at end of file +synonyms>=3.2 \ No newline at end of file diff --git a/setup.py b/setup.py index 6c74b93..6cfb018 100644 --- a/setup.py +++ b/setup.py @@ -13,16 +13,16 @@ setup( name='synonyms', - version='3.1', + version='3.2', description='Chinese Synonyms for Natural Language Processing and Understanding', long_description=LONGDOC, author='Hai Liang Wang, Hu Ying Xi', author_email='hailiang.hl.wang@gmail.com', url='https://github.com/huyingxi/Synonyms', - license="GPL 3.0", + license="MIT", classifiers=[ 'Intended Audience :: Developers', - 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Natural Language :: Chinese (Simplified)', 'Natural Language :: Chinese (Traditional)', @@ -30,7 +30,6 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Text Processing',