Skip to content

Commit

Permalink
Merge pull request #4 from akb89/develop
Browse files Browse the repository at this point in the history
Updated logging
  • Loading branch information
akb89 authored Nov 16, 2018
2 parents a4fada1 + fc9f0a8 commit 467f72b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
author_email='akb@3azouz.net',
long_description=long_description,
long_description_content_type='text/markdown',
version='0.1.4',
version='0.1.5',
url='https://github.com/akb89/witokit',
download_url='https://pypi.org/project/witokit/#files',
license='MIT',
Expand Down
6 changes: 3 additions & 3 deletions witokit/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ def _process(args):
args.wiki_output_filepath, args.lower)
for process in pool.imap_unordered(extract, input_filepaths):
arxiv_num += 1
logger.info('Done extracting content of {}'.format(process))
logger.info('Completed extraction of {}/{} archives'
logger.info('Done processing content of {}'.format(process))
logger.info('Completed processing of {}/{} archives'
.format(arxiv_num, total_arxivs))
# concatenate all .txt files into single output .txt file
logger.info('Concatenating tmp files...')
Expand All @@ -160,7 +160,7 @@ def _process(args):
for line in tmp_stream:
line = line.strip()
print(line, file=output_strm)
logger.info('Done extracting content of Wikipedia archives')
logger.info('Done processing content of Wikipedia archives')
shutil.rmtree(futils.get_tmp_dirpath(args.wiki_output_filepath))


Expand Down

0 comments on commit 467f72b

Please sign in to comment.