Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOjkV-00013w-HW for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Dec 2017 12:33:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOjkU-0005RQ-If for pgsql-bugs@arkaria.postgresql.org; Tue, 12 Dec 2017 12:33:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eOjkU-0005RB-9t; Tue, 12 Dec 2017 12:33:26 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eOjkL-0001CC-LD; Tue, 12 Dec 2017 12:33:25 +0000 Received: from xor.sai.msu.ru (unknown [93.174.131.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id 60BE3B191A0; Tue, 12 Dec 2017 15:33:15 +0300 (MSK) Subject: Re: Fwd: [BUGS] pg_trgm word_similarity inconsistencies or bug To: Alexander Korotkov Cc: Postgres-Bugs , "pgsql-hackers@postgresql.org" References: <20171028082225.GA2157@arthur.localdomain> <1510059095836-0.post@n3.nabble.com> From: Teodor Sigaev Message-ID: <0c1ae72a-708b-ffa4-58f2-7e524797fad0@sigaev.ru> Date: Tue, 12 Dec 2017 15:33:15 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > 0001-pg-trgm-word-similarity-docs-improvement.patch – contains improvement to > documentation of word_similarity() and related operators.  I decided to give > formal definition first (what exactly it internally does), and then example and > some more human-understandable description.  This patch also adjusts two > comments where lower and upper bounds mess up. I'm ready for commit that, but I'd like someone from native English speaker to check that. Thank you. And, suppose, this patch should be backpatched to 9.6 -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/