提交 b0f7d02a 编写于 作者: H Hai Liang Wang

Change License to MIT

上级 97b676ee
# 3.2
* 将发布证书改为MIT
# 3.1
* 对空间临近词的邻居进行缓存,提高返回速度
* nearby中处理OOV,返回 ([], [])
......
Synonyms for Natural Language Processing and Understanding.
Copyright (C) 2017 Hu Ying Xi<>, Hai Liang Wang<hailiang.hl.wang@gmail.com>
Copyright 2018 Hu Ying Xi<>, Hai Liang Wang<hailiang.hl.wang@gmail.com>
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 <http://www.gnu.org/licenses/>.
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
......@@ -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
用户怎么说:
<img src="https://github.com/huyingxi/Synonyms/raw/master/assets/4.png" width="600">
......@@ -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
synonyms>=3.1
\ No newline at end of file
synonyms>=3.2
\ No newline at end of file
......@@ -13,16 +13,16 @@ Welcome
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 @@ setup(
'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',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册