Re: About Portuguese language support of Text Search

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Black White <blacklikeread(at)gmail(dot)com>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: About Portuguese language support of Text Search
Date: 2019-01-21 15:51:45
Message-ID: 30535.1548085905@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Black White <blacklikeread(at)gmail(dot)com> writes:
> I have a question to confirm with you. In this link
> https://www.postgresql.org/docs/10/textsearch-psql.html, pgsql mentions
> supporting multiple languages of Text Search, which includes Portuguese.
> What I want to confirm is that the supported Portuguese here including both
> Brazil Portuguese and Portugal Portuguese? Or just Portugal Portuguese?

There's just one "portuguese" configuration in our standard set of text
search configurations. The only things that are really language-specific
about it are the Snowball stemmer (to discard uninteresting word
terminations, such as plurals) and the stop-list of common words to
ignore. It might be that neither of those are particularly specific to
one dialect of Portuguese --- at least, the upstream Snowball code/docs
don't seem to mention anything about that.

In any case, you could create your own modified configuration if you
don't like what the standard one does. The stopword list, in particular,
is quite trivial to modify.

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Alvaro Herrera 2019-01-21 17:47:19 Re: tickling the lesser contributor's withering ego
Previous Message Jürgen Purtz 2019-01-21 14:02:43 Re: First SVG graphic