Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Download NLTK data asynchronously #304

Merged
merged 4 commits into from
Nov 3, 2017
Merged

Conversation

nikicc
Copy link
Contributor

@nikicc nikicc commented Aug 4, 2017

Issue

Fixes #223

Description of changes

Load NLTK data in a separate thread. Introduce wait_nltk_data decorator that assures all data is loaded before the function is called.

Includes
  • Code changes
  • Tests
  • Documentation

@nikicc nikicc changed the title [WIP] Async NLTK data download [ENH] Download NLTK data asynchronously Sep 1, 2017
@codecov-io
Copy link

Codecov Report

Merging #304 into master will increase coverage by 0.33%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #304      +/-   ##
==========================================
+ Coverage   85.04%   85.37%   +0.33%     
==========================================
  Files          34       34              
  Lines        1825     1860      +35     
  Branches      333      335       +2     
==========================================
+ Hits         1552     1588      +36     
+ Misses        238      237       -1     
  Partials       35       35

@nikicc
Copy link
Contributor Author

nikicc commented Nov 3, 2017

@kernc could you take a look at this?

@kernc kernc merged commit e8b34d1 into biolab:master Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants