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

Store ngrams_corpus correctly #729

Merged
merged 2 commits into from
Oct 11, 2021
Merged

Conversation

ajdapretnar
Copy link
Collaborator

Issue

Bag of words didn't store results correctly to Corpus.ngrams_corpus.

Description of changes

Store ngrams_corpus when transforming or copying the corpus.

Now, Topic Modelling accepts pre-existing bag of words matrix. 🎉

Includes
  • Code changes
  • Tests
  • Documentation

@codecov-commenter
Copy link

codecov-commenter commented Oct 11, 2021

Codecov Report

Merging #729 (39576a6) into master (9c5ffef) will decrease coverage by 0.01%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master     #729      +/-   ##
==========================================
- Coverage   74.19%   74.17%   -0.02%     
==========================================
  Files          72       72              
  Lines        9572     9584      +12     
  Branches     1302     1304       +2     
==========================================
+ Hits         7102     7109       +7     
- Misses       2222     2227       +5     
  Partials      248      248              

@PrimozGodec PrimozGodec force-pushed the pass-ngrams branch 2 times, most recently from 9ce736d to 6617c2c Compare October 11, 2021 13:29
@ajdapretnar ajdapretnar merged commit 57473fa into biolab:master Oct 11, 2021
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