Skip to content

Commit 4cbef96

Browse files
authored
Release 0.6.3 (#73)
* update contact email * use alternative version of textstat for flesch scores * filter values for flesch and sentence length
1 parent e32bccc commit 4cbef96

5 files changed

Lines changed: 401 additions & 374 deletions

File tree

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "pypi"
55

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

1010
[dev-packages]
1111
"pytest-flake8" = "*"

quantgov/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
from . import corpus, nlp, ml, utils
55
from .utils import load_driver
66

7-
__version__ = '0.6.2'
7+
__version__ = '0.6.3'

quantgov/__main__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,10 @@ def run_corpus_builtin(args):
179179
builtin.process_document,
180180
**func_args
181181
)
182-
for i in quantgov.utils.lazy_parallel(partial, driver.stream()):
183-
writer.writerow(i)
184-
args.outfile.flush()
182+
for result in quantgov.utils.lazy_parallel(partial, driver.stream()):
183+
if result:
184+
writer.writerow(result)
185+
args.outfile.flush()
185186

186187

187188
def run_estimator(args):

0 commit comments

Comments
 (0)