Skip to content
End to end pipeline for extracting morphological vectors from a given word or sentence
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
logs
word2morph2vec
.gitignore
LICENSE
README.md
setup.py

README.md

word2morph2vec

End to end pipeline for extracting morphological vectors from a given word

Prerequisites

  • Python 3.6
  • Clone the repository and install the dependencies
git clone https://github.com/MartinXPN/word2morph2vec.git
cd word2morph2vec
pip install .

Example usage

from word2morph2vec import Word2Morph2Vec

m = Word2Morph2Vec.load_model(locale='ru')
print(m.get_word_vector(word='привет', lemma='привет'))
print(m.get_sentence_vectors(sentence=['привет', 'привет', 'привет']))
You can’t perform that action at this time.