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

Fix error message when Doc2Vec does not receive corpus_file or corpus iterable #3182

Merged
merged 1 commit into from
Dec 4, 2021

Conversation

blainedietrich
Copy link
Contributor

@blainedietrich blainedietrich commented Jun 23, 2021

The error message thrown when you do not include corpus_file or corpus_iterable to the doc2vec model is incorrect, stating that you can set the documents value. This change simply makes the error message more accurate so others going through a gensim 3.x to 4.0 migration don't run into issues if they were previously using documents.

Copy link
Owner

@piskvorky piskvorky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Are there any other places that still refer to documents?

@piskvorky piskvorky added this to the 4.1.0 milestone Jun 23, 2021
@blainedietrich
Copy link
Contributor Author

Thank you! Are there any other places that still refer to documents?

Of course! My team didn't notice any other instances of documents, this message was the only one giving us issues.

@piskvorky piskvorky requested a review from mpenkov September 2, 2021 13:50
@piskvorky
Copy link
Owner

@mpenkov good to merge or not?

@mpenkov mpenkov merged commit fa2d1b1 into piskvorky:develop Dec 4, 2021
@mpenkov
Copy link
Collaborator

mpenkov commented Dec 4, 2021

Merging. Thank you for your patience!

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