Re: Naming of the prefab snowball stemmer dictionaries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Zeugswetter Andreas ADI SD" <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>
Cc: "Oleg Bartunov" <oleg(at)sai(dot)msu(dot)su>, "Teodor Sigaev" <teodor(at)sigaev(dot)ru>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Naming of the prefab snowball stemmer dictionaries
Date: 2007-08-22 16:55:03
Message-ID: 9133.1187801703@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Zeugswetter Andreas ADI SD" <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at> writes:
> Sounds reasonable, but why exactly did we spell out "english" instead of "en" ?
> Seems the abbrev is much easier to extract from LANG or browser prefs ...

Mainly because we're following the upstream snowball project on the
naming.

I don't think that LANG is relevant to this. If you had an application
that wanted to make a selection based on that, what it'd be trying to
set is a configuration name, not a dictionary name.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-08-22 18:09:07 ispell file format
Previous Message Ron Mayer 2007-08-22 16:39:09 Re: tsearch2 patch status report