Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yannvgn committed Dec 19, 2019
1 parent 6934ded commit 1fe5e2a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@

laserembeddings is a pip-packaged, production-ready port of Facebook Research's [LASER](https://github.com/facebookresearch/LASER) (Language-Agnostic SEntence Representations) to compute multilingual sentence embeddings.

🎁 **Version 0.1.3 is out. What's new?**
- A lot of languages that were only partially supported are now fully supported (br, bs, ceb, fr, gl, oc, ug, vi) 🌍
**Version 1.0.0 is here! What's new?**
- Greek, Chinese and Japanese are now supported 🇬🇷 🇨🇳 🇯🇵
- Some languages that were only partially supported are now fully supported (New Norwegian, Swedish, Tatar) 🌍
- It should work on Windows now 🙄
- Sentences in different languages can now be processed in the same batch ⚡️

## Context

Expand Down Expand Up @@ -70,7 +73,7 @@ embeddings = laser.embed_sentences(
# embeddings is a N*1024 (N = number of sentences) NumPy array
```

If the sentences are not in the same language, you can pass a list of languages
If the sentences are not in the same language, you can pass a list of language codes:
```python
embeddings = laser.embed_sentences(
['I love pasta.',
Expand Down

0 comments on commit 1fe5e2a

Please sign in to comment.