Re: Fwd: [BUGS] pg_trgm word_similarity inconsistencies or bug

David Steele <david@pgmasters.net>

From: David Steele <david@pgmasters.net>
To: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: Teodor Sigaev <teodor@sigaev.ru>, Robert Haas <robertmhaas@gmail.com>, Jan Przemysław Wójcik <jan.przemyslaw.wojcik@gmail.com>, Postgres-Bugs <pgsql-bugs@postgresql.org>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2018-03-02T00:12:25Z
Lists: pgsql-bugs, pgsql-hackers
Hi Alexander,

On 3/1/18 4:26 PM, Alexander Korotkov wrote:
> On Thu, Mar 1, 2018 at 11:05 PM, David Steele <david@pgmasters.net 
> <mailto:david@pgmasters.net>> wrote:
> 
>     I agree with Teodor (upthread, not quoted here) that the documentation
>     could use some editing.
> 
>     I started to do it myself, but quickly realized I have no knowledge of
>     the content.  I'm afraid I would destroy the meaning while updating the
>     grammar.
> 
> That's to problem.  If you're willing to help you can edit the documentation
> and let me review that it's correct.  Also feel free to ask any 
> questions and
> more explanation from me.  Ultimately, we need to have a documentation
> that any average user can understand, not to mention you :)

OK, I'm the CFM so I have my plate full for the next few days but if 
nobody picks this up then I will give it a go.

>     Anyone understand the subject matter well enough to review the
>     documentation?
> 
> I expect it would be hard to find anybody matching this criteria.

You are probably right, but it never hurts to try.

-- 
-David
david@pgmasters.net


Commits

  1. Update trigram example in docs to correct state

  2. Add strict_word_similarity to pg_trgm module

  3. Rework word_similarity documentation, make it close to actual algorithm.