title: Algorithms for string similarities (better than Levenshtein, and similar_text)? Php, Js
body: <p>Where can I find algorithms that values the spelling of misplaced characters more accurately than levenshtein() and php similar_text() methods?</p>
  
  <p>Example:</p>
  
  <pre><code>similar_text('jonas', 'xxjon', $similar); echo $similar; // returns 60
  similar_text('jonas', 'asjon', $similar); echo $similar; // returns 60 &lt;- although more similar!
  echo levenshtein('jonas', 'xxjon'); // returns 4
  echo levenshtein('jonas', 'asjon'); // returns 4  &lt;- although more similar!
  </code></pre>
  
  <p>/ Jonas</p>