http://www.perlmonks.org?node_id=996535


in reply to Re: Comparing sets of phrases stored in a database?
in thread Comparing sets of phrases stored in a database?

Fortunately I don't actually have to deal with any of that. My actual set of phrases will conform to a corpus of roughly 15,000 existing items, so there are no typos, misspellings or synonyms involved.

While technically each item in the set is a phrase, for the purposes of this discussion it can be treated as a unique ID of any sort you prefer, but probably a number, probably generated by a hash function.