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 for #5 #8

Merged
merged 3 commits into from
Jun 14, 2019
Merged

Fix for #5 #8

merged 3 commits into from
Jun 14, 2019

Conversation

ricardopieper
Copy link
Contributor

@ricardopieper ricardopieper commented Jun 14, 2019

Added fix and test for fasttext. This allows to load fasttext models when there are multiple words in a line.

Some models have words like this (Universidade de Sao Paulo's NILC embeddings, for instance) that are correctly loaded by libraries like Spacy.

For instance, a line might have "hello there 0.1 0.2 0.3" etc etc. It's not actually the case for NILC, where the actual bug manifests because of a money expression "R$ 0,00"

I think the same work has to be done for the glove, word2vec, etc but here's how I'm doing in my code.

@ricardopieper
Copy link
Contributor Author

ricardopieper commented Jun 14, 2019

Not sure why the build broke, sorry. For some reason the log file is immense, mostly shows pip downloading stuff.

@makcedward
Copy link
Owner

makcedward commented Jun 14, 2019

Not sure why the build broke, sorry. For some reason the log file is immense, mostly shows pip downloading stuff.

There is some issues on travis-ci. You may ignore it first

@makcedward
Copy link
Owner

It sounds good. Will accept this merge and updating Word2vecAug and GloVeAug later

@makcedward makcedward merged commit 3088608 into makcedward:master Jun 14, 2019
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