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

GH-229: multilingual embeddings #234

Merged
merged 2 commits into from
Nov 21, 2018
Merged

Conversation

alanakbik
Copy link
Collaborator

Closes #229

  • Add FastText embeddings for 30 languages (English, German, Dutch, Italian, French, Spanish, Swedish, Danish, Norwegian, Czech, Polish, Finnish, Bulgarian, Portuguese, Slovenian, Slovakian, Romanian, Serbian, Croatian, Catalan, Russian, Hindi, Arabic, Chinese, Japanese, Korean, Hebrew, Turkish, Persian, Indonesian)

  • Each language gets a wiki and a crawl embedding and is called using the two-letter language code. (WordEmbeddings('de') or WordEmbeddings('de-wiki') to instantiate the wiki embedding for German and WordEmbeddings('de-crawl') to instantiate the crawl embedding)

  • We add more LM embeddings from @stefan-it, namely the Dutch CharLM embeddings, callable with CharLMEmbeddings('dutch-forward') and CharLMEmbeddings('dutch-backward')

  • New multilingual character LM embeddings, computed using a very large corpus of six languages (English, German, Italian, French, Dutch and Polish) and applicable to text in any of these languages. It even works for some other languages such as Spanish. Instantiate with CharLMEmbeddings('multi-forward') and CharLMEmbeddings('multi-backward')

@tabergma
Copy link
Collaborator

👍 Great!

@tabergma tabergma merged commit b4bb607 into release-0.4 Nov 21, 2018
@tabergma tabergma deleted the GH-229-multilingual-embeddings branch November 21, 2018 14:43
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.

2 participants