Sabyasachi Ruj
01/11/2022, 4:05 AMtext_stemmed
. I used nltk.PorterStemmer
for stemming the content and store the resultant string in text_stemmed
.
While querying I use the same method to generate stemmed query string. I concatenate the original query and the stemmed query. In the search params, I added the text_stemmed
at the last of the query_by
param. So the exact matches are still prioritized higher.