Re: Naming of the prefab snowball stemmer dictionaries

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


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 ...

Andreas

-----Ursprüngliche Nachricht-----
Von: pgsql-hackers-owner(at)postgresql(dot)org [mailto:pgsql-hackers-owner(at)postgresql(dot)org] Im Auftrag von Tom Lane
Gesendet: Mittwoch, 22. August 2007 17:11
An: Oleg Bartunov; Teodor Sigaev
Cc: pgsql-hackers(at)postgreSQL(dot)org
Betreff: [HACKERS] Naming of the prefab snowball stemmer dictionaries [bayes][heur]
Wichtigkeit: Niedrig

I notice that the existing tsearch documentation that we've imported fairly consistently refers to Snowball dictionaries with names like "en_stem", "ru_stem", etc. However, CVS HEAD is set up to create them with names "english", "russian", etc. As I've been absorbing more of the docs I'm starting to wonder whether this is a good idea. ISTM that these names encourage a novice to think that the one dictionary is all you could need for a given language; and there are enough examples of more-complex setups in the docs to make it clear that in fact Snowball is not the be-all and end-all of dictionaries.

I'm thinking that going back to the old naming convention (or something like it --- maybe "english_stem", "russian_stem", etc) would be better.
It'd help to give the right impression, namely that these dictionaries are a component of a solution but not necessarily all you need.

Thoughts?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Teodor Sigaev 2007-08-22 16:21:08 Re: [COMMITTERS] pgsql: Simplify the syntax of CREATE/ALTER TEXT SEARCH DICTIONARY by
Previous Message A.M. 2007-08-22 15:23:35 Re: Naming of the prefab snowball stemmer dictionaries