SImple SenTence EmbeddeR
Project description
sister
SISTER (SImple SenTence EmbeddeR)
Installation
pip install sister
Basic Usage
import sister
sentence_embedding = sister.MeanEmbedding(lang="en")
sentence = "I am a dog."
vector = sentence_embedding(sentence)
Supported languages.
- English
- Japanese
In order to support a new language, please implement Tokenizer
(inheriting sister.tokenizers.Tokenizer
) and add fastText
pre-trained url to word_embedders.get_fasttext()
(List of model urls).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sister-0.1.7.tar.gz
(19.5 kB
view hashes)