Closed watashiwa-toki closed 6 years ago
Hi, This function has been built for a single word only. There are 2 ways to perform what you are asking:
Here a commit which implements the feature https://github.com/pommedeterresautee/fastrtext/commit/80ba4b48b336c6435800cbe702e648768e19541c
The function is get_sentence_representation
For example, if in "get_word_distance(model, w1, w2)" w1 and w2 be n-word sentences instead of single words, does result of this command is real distance between sentences, or its working only with single words?