hotfix to add timestamp as corpus identifier#39
Merged
OliverSherouse merged 1 commit intomasterfrom Feb 1, 2018
Merged
Conversation
jnelson16
reviewed
Feb 1, 2018
| def load_driver(corpus): | ||
| corpus = Path(corpus) | ||
| if corpus.name == 'driver.py': | ||
| if corpus.name == 'driver.py' or corpus.name == 'timestamp': |
Member
There was a problem hiding this comment.
Why do we need to keep the if corpus.name == 'driver.py'?
Contributor
Author
|
I was thinking for backwards compatibility
On Feb 1, 2018 8:28 AM, Jonathan Nelson <notifications@github.com> wrote:
@jnelson16 commented on this pull request.
________________________________
In quantgov/corpora/utils.py<#39 (comment)>:
@@ -8,7 +8,7 @@
def load_driver(corpus):
corpus = Path(corpus)
- if corpus.name == 'driver.py':
+ if corpus.name == 'driver.py' or corpus.name == 'timestamp':
Why do we need to keep the if corpus.name == 'driver.py'?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#39 (review)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABKTIkBK3pWYnH7nGwLEsgtLGgu8AOSDks5tQbvXgaJpZM4R0jYu>.
|
mgasvoda
approved these changes
Feb 1, 2018
Contributor
|
If you've been able to find out why timestamp ends up in there, we should add a backlog item for addressing that |
OliverSherouse
added a commit
that referenced
this pull request
May 21, 2018
* hotfix to add timestamp as corpus identifier (#39) * bumped version * Release 0.4 (#47) * 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 * 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.