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

Recognize binary vector files without line breaks #4

Merged
merged 1 commit into from Sep 9, 2017

Conversation

humenda
Copy link
Contributor

@humenda humenda commented Sep 4, 2017

The function to load binary word vector files did assume newlines before
each (name, word vector) pair. The Google News Corpus doesn't have these
and hence it failed to load the file. Gensim simply assumes no newlines
and strips them, if it they occur. This crate now does the same.

If you accept this PR, please make a bug fix release.

The function to load binary word vector files did assume newlines before
each (name, word vector) pair. The Google News Corpus doesn't have these
and hence it failed to load the file. Gensim simply assumes no newlines
and strips them, if it they occur. This crate now does the same.
@DimaKudosh DimaKudosh merged commit 0fa0dc2 into DimaKudosh:master Sep 9, 2017
@DimaKudosh
Copy link
Owner

Merged and updated library.

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.

None yet

2 participants