Hai Liang Wang
4450ba836c
refine format
2018-03-02 13:19:03 +08:00
Hai Liang Wang
0e5794cfff
Leverage distance computing algorithm in compare API
2018-03-02 11:08:54 +08:00
Hai Liang Wang
dac98aa891
Closed #43 smoothing scores in compare API
2018-03-01 23:29:49 +08:00
Hai Liang Wang
3e872fedfc
Add link for Node.js Client
2018-02-16 00:21:40 +08:00
Hai Liang Wang
55dec6416f
#38 release code in v2.2
2018-02-05 11:01:21 +08:00
Samurais
7e1f6aa268
Merge pull request #39 from AlexSun1995/alexsun
...
将模型库中不存在词的向量值由全0替换为随机向量
2018-02-02 21:31:58 +08:00
AlexSun1995
129fe23cc8
将模型库中不存在词的向量值由全0替换为随机向量
2018-02-02 21:04:52 +08:00
Hain Wang
043a8ced04
Merge pull request #34 from weiyunfei/master
...
Resolve the ImportError when there's "utils" model.
2018-01-29 11:36:20 +08:00
Hai Liang Wang
52464578ef
#33 add Valuation with hownet and 同义词词林
2018-01-28 21:56:41 +08:00
wei
2db34e1479
Resolve the ImportError when there's "utils" model.
2018-01-25 16:13:44 +08:00
Hai Liang Wang
013fa8dba8
Merge codes
2018-01-23 10:34:33 +08:00
Hai Liang Wang
9356e62c78
#31 remove synonyms/data.py
2018-01-23 10:33:10 +08:00
Hain Wang
e9e57dd010
Merge pull request #29 from cclauss/patch-1
...
import gzip
2018-01-19 21:31:29 +08:00
cclauss
36dd7ba488
from utils import any2unicode
2018-01-19 12:43:53 +01:00
cclauss
8fec6dfbbf
import gzip
2018-01-19 12:20:30 +01:00
Hai Liang Wang
419be22ca5
Update docs, release 2.1
2018-01-19 19:16:30 +08:00
Hain Wang
d9047cf424
Merge pull request #28 from cclauss/patch-1
...
import shutil and from six import string_types, u
2018-01-19 19:04:27 +08:00
cclauss
f8a2e30a17
import shutil and from six import string_types, u
2018-01-18 11:31:57 +01:00
Hain Wang
a2497c30f8
Merge pull request #24 from cclauss/patch-1
...
Run flake8 tests on all new code submissions
2018-01-16 14:07:03 +08:00
cclauss
77a196f695
Run flake8 tests on all new code submissions
...
The Travis CI services is free for all open source projects like this one. The owner of the this repo would need to go to https://travis-ci.org/profile (log in via GitHub) and flip the repository switch __on__ to enable free automated flake8 testing of each pull request.
2018-01-15 18:44:45 +01:00
Hai Liang Wang
950983ceea
#21 add web sharing link
2018-01-15 15:18:27 +08:00
Hai Liang Wang
950027983a
Update stable version in README
2017-12-31 19:08:51 +08:00
Hai Liang Wang
e73f2a0dd3
Refine distance params, upgrade to v2
2017-12-31 19:01:05 +08:00
huyingxi
54a978e63e
Update __init__.py
...
update similarity_distance weights
2017-12-30 23:22:35 +08:00
Hain Wang
de23685fd7
Merge pull request #15 from bobbercheng/patch-1
...
Update __init__.py
2017-11-14 10:11:12 -06:00
bobbercheng
cdb85530f4
Update __init__.py
...
Use _levenshtein_distance() to replace _unigram_overlap. We still need to adjust weight for better result. Right now following two sentences are still regarded as same.
synonyms.compare('目前你用什么方法来保护朋友', '目前你用什么方法来保护家人')
2017-11-14 09:53:28 -06:00
Hain Wang
902fd83808
Merge pull request #13 from inuyasha2012/master
...
fix python3 open stopwords file UnicodeDecodeError bug
2017-11-07 20:42:25 -06:00
inuyasha2012
c41ee7397d
fix python3 open stopwords file UnicodeDecodeError bug
2017-11-08 09:37:48 +08:00
Hai Liang Wang
a21fe86f86
add ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE
2017-11-05 15:07:49 +08:00
Hai Liang Wang
cd19196bb2
#6 Update README
2017-11-05 14:53:43 +08:00
huyingxi
42f9cbaa4f
Update README.md
2017-11-05 00:47:46 -05:00
huyingxi
09cb767c1b
Update README.md
2017-11-05 00:44:13 -05:00
huyingxi
6740b3c2db
Add files via upload
...
add sentence_precision pic
2017-11-05 00:27:45 -05:00
huyingxi
de9c7ec748
Update __init__.py
...
updata sentence similarity's threshold
2017-11-04 10:45:56 -05:00
Hai Liang Wang
a1283d9926
#6 move useless code into data.py
2017-10-31 17:17:01 +08:00
Hai Liang Wang
62955a8662
Update readme
2017-10-31 17:00:00 +08:00
Hai Liang Wang
312eae0067
#6 simplify code and support py2,3
2017-10-31 16:54:55 +08:00
huyingxi
be9f837a9a
Update README.md
...
add sentence_similarity curve
2017-10-30 22:31:28 -05:00
huyingxi
6f43ae8081
add sentence_similarity roc /pr curve
2017-10-30 22:24:05 -05:00
huyingxi
86c188bb57
Update __init__.py
2017-10-30 22:18:54 -05:00
huyingxi
c0a4775551
inhence sentence similarity
2017-10-31 10:54:31 +08:00
Hai Liang Wang
4575f3e7c6
use jieba as tokenizer
2017-10-28 10:06:11 +08:00
Hain Wang
6d75412089
Merge pull request #2 from hrmthw/dev
...
chore: reattach stdout to sys
2017-10-22 21:08:43 -05:00
jiangbo
55be4367b7
chore: reattach stdout to sys
2017-10-21 22:16:00 +08:00
Hai Liang Wang
208ffd8747
add demo gif
2017-10-21 13:39:03 +08:00
Hai Liang Wang
489d651f5d
Update readme
2017-10-21 12:03:01 +08:00
Hai Liang Wang
0f79d87262
Update readme
2017-10-21 12:01:13 +08:00
Hai Liang Wang
07de9b2aef
refactor with pkl, add benchmark
2017-10-21 11:45:15 +08:00
Hai Liang Wang
6132372654
update README.md
2017-10-21 10:12:17 +08:00
Hai Liang Wang
758f321ebf
Merge branch 'master' of github.com:huyingxi/Synonyms
2017-10-21 09:59:58 +08:00