making tsearch2 dictionaries

From: Ben <bench(at)silentmedia(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: making tsearch2 dictionaries
Date: 2004-02-15 23:35:20
Message-ID: 1076888119.7818.1258.camel@purple
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm trying to make myself a dictionary for tsearch2 that converts
numbers to their english word equivalents. This seems to be working
great, except that I can't figure out how to make my lexize function
return multiple lexemes. For instance, I'd like "100" to get converted
to {one,hundred}, not {"one hundred"} as is currently happening.

How do I specify the output of the lexize function so that this will
happen?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Fossenier 2004-02-15 23:43:15 Re: PostgreSQL Indexing versus MySQL
Previous Message Ian Barwick 2004-02-15 22:53:01 Re: Pg + perl + apache