From: Tom Lane <tgl@sss.pgh.pa.us>
To: Black White <blacklikeread@gmail.com>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: About Portuguese language support of Text Search
Date: Mon, 21 Jan 2019 10:51:45 -0500
Message-ID: <30535.1548085905@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJ8fS-RTzt5zn5VpkVb6o5UzG03A+vr9vbJZLSDm-pSP1xgSbA@mail.gmail.com>
References: <CAJ8fS-RTzt5zn5VpkVb6o5UzG03A+vr9vbJZLSDm-pSP1xgSbA@mail.gmail.com>
Black White <blacklikeread@gmail.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, blacklikeread@gmail.com, pgsql-docs@lists.postgresql.org
Subject: Re: About Portuguese language support of Text Search
In-Reply-To: <30535.1548085905@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox