Skip to content

Commit

Permalink
Release 0.4 (#48)
Browse files Browse the repository at this point in the history
* hotfix to add timestamp as corpus identifier (#39)

* bumped version

* Release 0.4 (#47)

* Inaugurated 0.4.0 dev series

* Sentiment analysis (#33)

Closes #11 #12  #13 and adds Sentiment analysis!

* complexity

* complexity builtins

* complexity builtins with tests

* code review updates

* option tests

* added nltk requirement

in setup.py

* add pip install to .travis.yml

* nltk fixes

* another nltk fix

* last nltk fix?

* you know the drill

* Update .travis.yml

* nltk troubles

* some final cleanup

* if it aint broke...

* textblob sentiment

* tests and error raising

* fixed install req

* pep8 fixes

* code review updates

* fix travis file

* import fixes

* small fix

* Test corpora (#35)

* complexity

* complexity builtins

* complexity builtins with tests

* code review updates

* option tests

* added nltk requirement

in setup.py

* add pip install to .travis.yml

* nltk fixes

* another nltk fix

* last nltk fix?

* you know the drill

* Update .travis.yml

* nltk troubles

* some final cleanup

* new corpora

in English!!

* hotfix to add timestamp as corpus identifier

* Skl compatibility (#41)

* Add sklearn 0.17 compatibility

Paper over library reorganization.

* renamed corpora to corpus, added deprecation warning (#42)

* renamed corpora to corpus, added deprecation warning
* moved load_driver and set up for future forcing of full imports of submodules

Closes #31

* S3 drivers (#44)

* initial working commit for s3 driver and database driver

* removing 3.6 formatting

* adding extra requirements list

* adding basic s3 driver test

* Removing unnecessary function

* This ain't 2007

* test updates

* adding s3driver to new corpus structure

* Rounding (#45)

* bumped version

* Fix NLTK loading bug

Fix evaluation order when NLTK is not present
  • Loading branch information
OliverSherouse committed May 21, 2018
1 parent 6686e0d commit 70ceb6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions quantgov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
'utils',
]


from . import corpora # Backwards compatibility

from .utils import load_driver

__version__ = '0.4.0.dev'
__version__ = '0.4.0'
6 changes: 4 additions & 2 deletions quantgov/corpus/builtins.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,10 @@ class ShannonEntropy():
flags=('--stopwords', '-sw'),
kwargs={
'help': 'stopwords to ignore',
'default': (nltk.corpus.stopwords.words('english')
if NLTK else None)
'default': (
None if not NLTK else
nltk.corpus.stopwords.words('english')
)
}
),
quantgov.utils.CLIArg(
Expand Down

0 comments on commit 70ceb6a

Please sign in to comment.