You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am looking at the C++ MonolingualModel public classes and would like to confirm the steps to follow to perform sentence similarity
load - (the word model)
sentVec(file) - compute sentence vectors (one sentence per line)
saveSentVectors - save the sentence vectors in text format
Question: given one existing sentence, how do I get the closest ones ?
I assume here that to compute the similarity of the given vector with all the other vectors, and there is no method for it. Is this correct ?
I see there is a similaritySentence for strings but maybe you should add one method that works with vectors or maybe a closestSentence method with params (sentence vector, all sentence vectors)
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am looking at the C++ MonolingualModel public classes and would like to confirm the steps to follow to perform sentence similarity
Question: given one existing sentence, how do I get the closest ones ?
I assume here that to compute the similarity of the given vector with all the other vectors, and there is no method for it. Is this correct ?
I see there is a similaritySentence for strings but maybe you should add one method that works with vectors or maybe a closestSentence method with params (sentence vector, all sentence vectors)
Thanks
The text was updated successfully, but these errors were encountered: