Re: About Portuguese language support of Text Search - Mailing list pgsql-docs

From Tom Lane
Subject Re: About Portuguese language support of Text Search
Date
Msg-id 30535.1548085905@sss.pgh.pa.us
Whole thread Raw
In response to About Portuguese language support of Text Search  (Black White <blacklikeread@gmail.com>)
List pgsql-docs
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


pgsql-docs by date:

Previous
From: Jürgen Purtz
Date:
Subject: Re: First SVG graphic
Next
From: Bruce Momjian
Date:
Subject: Re: citext plugin is not working with java applications