Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9975c12

Browse files
committed
Update trigram example in docs to correct state
Author: Liudmila Mantrova
1 parent6db4b49 commit9975c12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/pgtrgm.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@
152152
</programlisting>
153153

154154
In the first string, the set of trigrams is
155-
<literal>{" w"," wo","ord","wor","rd "}</literal>.
155+
<literal>{" w"," wo","wor","ord","rd "}</literal>.
156156
In the second string, the ordered set of trigrams is
157-
<literal>{" t"," tw",two,"wo "," w"," wo","wor","ord","rds",ds "}</literal>.
157+
<literal>{" t"," tw","two","wo "," w"," wo","wor","ord","rds","ds "}</literal>.
158158
The most similar extent of an ordered set of trigrams in the second string
159159
is <literal>{" w"," wo","wor","ord"}</literal>, and the similarity is
160160
<literal>0.8</literal>.
@@ -172,7 +172,7 @@
172172
At the same time, <function>strict_word_similarity(text, text)</function>
173173
has to select an extent that matches word boundaries. In the example above,
174174
<function>strict_word_similarity(text, text)</function> would select the
175-
extent <literal>{" w"," wo","wor","ord","rds",ds "}</literal>, which
175+
extent <literal>{" w"," wo","wor","ord","rds","ds "}</literal>, which
176176
corresponds to the whole word <literal>'words'</literal>.
177177

178178
<programlisting>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp