Skip to content

Commit

Permalink
Release 0.4 (#49)
Browse files Browse the repository at this point in the history
* 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

* if it aint broke...

* 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 authored Apr 17, 2018
1 parent 6302bc2 commit f03f33e
Showing 1 changed file with 4 additions and 2 deletions.
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 f03f33e

Please sign in to comment.