Skip to content

Commit

Permalink
Release 0.6.3 (#73)
Browse files Browse the repository at this point in the history
* update contact email

* use alternative version of textstat for flesch scores

* filter values for flesch and sentence length
  • Loading branch information
jnelson16 committed Aug 12, 2020
1 parent e32bccc commit 4cbef96
Show file tree
Hide file tree
Showing 5 changed files with 401 additions and 374 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "pypi"

[packages]
e1839a8 = {path = ".",extras = ["nlp", "s3driver"],editable = true}
textstat = "*"
textstat = "https://github.com/jnelson16/textstat.git"

[dev-packages]
"pytest-flake8" = "*"
Expand Down
2 changes: 1 addition & 1 deletion quantgov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
from . import corpus, nlp, ml, utils
from .utils import load_driver

__version__ = '0.6.2'
__version__ = '0.6.3'
7 changes: 4 additions & 3 deletions quantgov/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@ def run_corpus_builtin(args):
builtin.process_document,
**func_args
)
for i in quantgov.utils.lazy_parallel(partial, driver.stream()):
writer.writerow(i)
args.outfile.flush()
for result in quantgov.utils.lazy_parallel(partial, driver.stream()):
if result:
writer.writerow(result)
args.outfile.flush()


def run_estimator(args):
Expand Down
Loading

0 comments on commit 4cbef96

Please sign in to comment.