Sentence encodings + Sentence similarity
New Features:
- You can now get 400 dimensional encoding for sentences using
get_sentence_encoding
- supported for all languages in iNLTK - You can now get similarity score (cosine similarity) between 2 sentences using
get_sentence_similarity
- supported for all languages in iNLTK.
New Model:
- The above features will not work for punjabi language with the old model. Please execute the following code-snippet before using them
from inltk.inltk import reset_models
>> reset_models('pa')
>> setup('pa')