Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Comparing sets of phrases stored in a database?

by erix (Parson)
on Sep 30, 2012 at 20:33 UTC ( #996537=note: print w/replies, xml ) Need Help??

in reply to Comparing sets of phrases stored in a database?

Interesting question.

In PostgreSQL there are some text tools that may already be adequate for such a database:

The built-in full-text search (includes indexing, parsing, stemming, ranking). [1]

The extension pg_trgm (trigrams). Can be used to index, provides similarity functions. [2]

The extension fuzzystrmatch (with soundex, levenshtein etc.). [3]




Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996537]
[Lotus1]: Cosmic37 if you undef $/ in a local context to a block it won't affect the global version after the block finishes
[Lotus1]: or you can just do local $/ in a block
[erix]: cool
[Cosmic37]: thank you Lotus I understand
[Cosmic37]: now I have tried another blunder - can anyone explain why I am such a dunderhead?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2017-06-29 16:54 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (673 votes). Check out past polls.