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
Hai Liang Wang
532d57b987
fix display mth
2017-10-21 09:59:26 +08:00
Hain Wang
cc35189c21
Merge pull request #1 from huyingxi/add-code-of-conduct-1
...
Create CODE_OF_CONDUCT.md
2017-10-18 20:42:32 -05:00
Hain Wang
2dd833a2fa
Create CODE_OF_CONDUCT.md
2017-10-18 20:42:18 -05:00
Hai Liang Wang
0c7be0b24c
avoid overflow with similarity
2017-10-18 10:16:55 +08:00
Hai Liang Wang
2239dceb1c
Update README
2017-10-18 10:07:17 +08:00
Hai Liang Wang
2316042eea
add compatible codes for py2
2017-10-18 09:49:09 +08:00
Hai Liang Wang
b92ba06837
fix Requirements.txt
2017-10-17 09:10:25 +08:00
Hai Liang Wang
a35eab871b
Update README
2017-10-16 22:57:16 +08:00
Hai Liang Wang
73061bf17f
Update README
2017-10-16 22:56:16 +08:00
Hai Liang Wang
554f4c8f76
Add compare similarity api
2017-10-16 22:29:51 +08:00
Hai Liang Wang
6b760584b4
Update Sentence Similarity
2017-10-16 17:42:46 +08:00
Hai Liang Wang
9b568f3b0f
Add more in README.md
2017-09-29 17:55:41 +08:00
Hai Liang Wang
cca9841c86
fix typo
2017-09-29 17:54:14 +08:00