[OPEN-ILS-GENERAL] ***SPAM*** Re: Special diacritics
Mike Rylander
mrylander at gmail.com
Thu Jun 3 00:02:47 EDT 2010
On Tue, May 25, 2010 at 10:22 PM, Dan Scott <dan at coffeecode.net> wrote:
[snip]
>
> The in-database ingest approach in trunk that Mike has put together
> offers some more intriguing possibilities for customization. If I
> recall correctly (rusty brain), in trunk you can turn specific
> normalizations on or off for a given kind of field, so you could
> potentially add a "unidecode" normalizer, then turn off naco_normalize
> and turn on unidecode normalization if that's your preference.
>
Indeed, or you can use both. Attached is a script that should
implement exactly that (after installing Text::Unidecode on the DB
server, of course).
Thoughts? Any testing (I did none for this .. just thought I'd get it
out there since I had a few minutes) would be appreciated.
--
Mike Rylander
| VP, Research and Design
| Equinox Software, Inc. / The Evergreen Experts
| phone: 1-877-OPEN-ILS (673-6457)
| email: miker at esilibrary.com
| web: http://www.esilibrary.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unidecode-normalizer.sql
Type: text/x-sql
Size: 2353 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20100603/e6a6ebb6/attachment.bin
More information about the Open-ils-general
mailing list