Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From the examples you give, it sounds like you have more a natural language problem than an exact matching problem. Given that natural language matching is inexact by nature you're unlikely to come up with a perfect solution. </p> <ul> <li>String distance doesn't really work, as strings that are algorithmically close may not be semantically close (e.g. "DJ Above &amp; Beyond" should match "Above and Beyond" but not "DJ Above &amp; Beyond 2" which is closer in Levenshtein distance.</li> <li>Some cheap alternatives to natural language parsing are <a href="http://en.wikipedia.org/wiki/Soundex" rel="nofollow noreferrer">soundex</a>, which will match by phonetic sounds, and <a href="http://en.wikipedia.org/wiki/Stemming" rel="nofollow noreferrer">Stemming</a>, which removes prefixes/suffixes to normalize on word stems. I suppose you could create a linked list of word roots, but this wouldn't be terribly accurate either. </li> <li>If this is a User-interacting program, you could echo "near misses" to the user, e.g. "Is one of these what you meant to enter?"</li> <li>You could normalize the entries in some way so that different entries map to the same normalized value (e.g. case normalize, "&amp;" -> "And", etc, etc. which some of the above suggestions might be a step towards) to find near misses or map multiple inputs to a single value.</li> </ul> <p>Add the caveat that my experience only applies to English, e.g. an english PorterStemmer won't recognize the one French title you put in there.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload