Search Results levenshtein distance

Fuzzy Fulltext Search with Mysql

I just was thinking about Fuzzy Search and why it isn't possible in mysql. Sure there is SOUNDEX in Mysql, but that's not what I want. I want search results from the Levenshtein distance. But Mysql didn't has such a function. I guess the best solution would be a search server like SOLR or Elasticsearch. But on a shared hosting you haven't such a cool thing. A possible solution is to return all results of the table and work with the levenshtein function of php. I guess in the most cases this is the best solution. But I just want to test an other way, I guess maybe a very stupid way.

Continue reading ...

Levenshtein distance in PHP without 255 characters limit

I needed the levenshtein function from PHP, but unfortunately are there some restrictions.

  • 255 characters limit
  • Problems with UTF-8
  • Only integers possible for custom costs

I have implemented the levenshtein function on my own in plain PHP.

Continue reading ...

Touch signature identification with JavaScript

The uWave: Accelerometer-based Gesture Recognition project from the Rice Efficient Computing Group inspired me to build a small real time HTML based signature identification with JavaScript. Actually gestures have not that much incommon with drawn handwriting, but I wanted to test dynamic-time-warping on signatures. I am not sure if there is a real usecase for a signature identification in web applications, but it was fun to build this kind of prototyp. Feedback is welcome.

Continue reading ...

LaTeX - Illustrate similarity measures of time series

I need to illustrate similarity measures of time series in a paper. Common illustrations are the euclidean distance and dynamic time warping.

Continue reading ...