An NPM package that will compare two texts and analyse the texts and give results.
similarity()
Compare two text and get the similar percentage and word count into them
const {percentage,count} = similarity(stirng1,string2);
-
topkfreq()
Get top k words in a string provided with error handliing and efficient time complexity and space complexity.Here k is interger string1 is input string
cosnt word = topkfreq(string1,k);