kor-string-similarity
Calculates string similarity between two strings(Korean, alphabet, number, special characters, etc.), based on dice coefficient and NphoEd(Normallized phoneme-based metric)
API
Install:
npm install kor-string-similarity
Use:
var stringSimilarity = ; stringSimilarity; // => 1stringSimilarity; // => 0stringSimilarity; // => 0.6578947368421053stringSimilarity; // => { _text: '다람쥐 헌 쳇바퀴에 타고파', similarity: 1}stringSimilarity; // => [{ _text: '다람쥐 헌 쳇바퀴에 타고파', similarity: 1}, { _text: '생쥐 새 쳇바퀴에 타고파', similarity: 0.7536231884057971}, { _text: '고양이 새 쳇바퀴에 안 타고파', similarity: 0.657894736842105}]