Skip to content

Commit

Permalink
Change License to MIT
Browse files Browse the repository at this point in the history
  • Loading branch information
hailiang-wang committed Mar 4, 2018
1 parent 97b676e commit b0f7d02
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 26 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 3.2
* 将发布证书改为MIT

# 3.1
* 对空间临近词的邻居进行缓存,提高返回速度
* nearby中处理OOV,返回 ([], [])
Expand Down
16 changes: 4 additions & 12 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
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
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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">

Expand Down Expand Up @@ -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},
Expand All @@ -191,8 +192,6 @@ meminfo 8GB
}
```

任何基于[Synonyms](https://github.com/huyingxi/Synonyms)衍生的数据和项目也需要开放并需要声明一致的“声明”。

# References

[wikidata-corpus](https://github.com/Samurais/wikidata-corpus)
Expand Down Expand Up @@ -228,4 +227,4 @@ Google发布的[word2vec](https://code.google.com/archive/p/word2vec/),该库
[jieba: 中文分词](https://github.com/fxsjy/jieba)

# License
[GPL3.0](./LICENSE)
[MIT](./LICENSE)
2 changes: 1 addition & 1 deletion Requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
synonyms>=3.1
synonyms>=3.2
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,23 @@

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)',
'Programming Language :: Python',
'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',
Expand Down

0 comments on commit b0f7d02

Please sign in to comment.