Skip to content

Commit

Permalink
Merge pull request #93 from astropeak/dev
Browse files Browse the repository at this point in the history
Add basic Chinese support
  • Loading branch information
miso-belica authored Jul 22, 2017
2 parents 1044888 + 36ba47d commit 479ac3b
Show file tree
Hide file tree
Showing 6 changed files with 577 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ install:
- pip install -U pip wheel
- pip install -U --use-wheel pytest pytest-cov
- pip install -U tinysegmenter
- pip install -U jieba
- python -c "import nltk; nltk.download('punkt')"
script:
- py.test tests
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"LSA": ["numpy"],
"LexRank": ["numpy"],
"Japanese": ["tinysegmenter"],
"Chinese": ["jieba"],
},
packages=find_packages(),
package_data={"sumy": [
Expand All @@ -68,6 +69,7 @@
"Intended Audience :: Education",
"License :: OSI Approved :: Apache Software License",

"Natural Language :: Chinese",
"Natural Language :: Czech",
"Natural Language :: English",
"Natural Language :: French",
Expand Down
Loading

0 comments on commit 479ac3b

Please sign in to comment.