Javascript text similarity algorithm -
i'm building website should collect various news feeds , texts compared similarity. need sort of news text similarity algorithm. know php has similar_text function , not sure how + need javascript. if point me example or plugin or instruction on how possible or @ least , start investigating.
there's javascript implementation of levenshtein distance metric, used text comparisons. if want compare whole articles or headlines though might better off looking @ intersections between sets of words make text (and frequencies of words) rather string similarity measures.
Comments
Post a Comment