Skip to content

Commit

Permalink
Merge pull request #128 from stephenhky/nonegstopwords
Browse files Browse the repository at this point in the history
stop words without negation terms
  • Loading branch information
stephenhky committed Dec 15, 2021
2 parents 52b49b6 + d03a0d4 commit 042c674
Show file tree
Hide file tree
Showing 9 changed files with 2,851 additions and 12 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include setup_requirements.txt
include test_requirements.txt
include shorttext/data/shorttext_exampledata.csv
include shorttext/utils/stopwords.txt
include shorttext/utils/nonneg_stopwords.txt
include shorttext/metrics/dynprog/dldist.pyx
include shorttext/metrics/dynprog/dldist.c
include shorttext/metrics/dynprog/lcp.pyx
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ If you would like to contribute, feel free to submit the pull requests. You can

## News

* 12/15/2021: `shorttext` 1.5.4 released.
* 07/11/2021: `shorttext` 1.5.3 released.
* 07/06/2021: `shorttext` 1.5.2 released.
* 04/10/2021: `shorttext` 1.5.1 released.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# The short X.Y version.
version = u'1.5'
# The full version, including alpha/beta/rc tags.
release = u'1.5.3'
release = u'1.5.4'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 6 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
News
====

* 12/15/2021: `shorttext` 1.5.4 released.
* 07/11/2021: `shorttext` 1.5.3 released.
* 07/06/2021: `shorttext` 1.5.2 released.
* 04/10/2021: `shorttext` 1.5.1 released.
Expand Down Expand Up @@ -72,6 +73,11 @@ News
What's New
----------

Release 1.5.4 (December 15, 2021)
-----------------------------

* Non-negative stop words.

Release 1.5.3 (July 11, 2021)
-----------------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_requirements():


setup(name='shorttext',
version='1.5.3',
version='1.5.4',
description="Short Text Mining",
long_description=package_description(),
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion shorttext/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from . import dtm

from .textpreprocessing import tokenize, stemword
from .textpreprocessing import text_preprocessor, standard_text_preprocessor_1
from .textpreprocessing import text_preprocessor, standard_text_preprocessor_1, standard_text_preprocessor_2

from .wordembed import load_word2vec_model, load_fasttext_model, load_poincare_model, shorttext_to_avgvec
from .wordembed import RESTfulKeyedVectors
Expand Down

0 comments on commit 042c674

Please sign in to comment.