Search Postgresql Archives

Re: tsearch2 dictionary for statute cites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Lane <tgl@xxxxxxxxxxxxx> wrote: 
> regexp substitution
 
I found a way to at least keep the cite in one piece.  Perhaps I can
do the rest in custom dictionaries, which are more pluggable.
 
select ts_debug
('State Statute <cite value="SS9.125.07(4A)(3)"> pertaining to');
                                    ts_debug
--------------------------------------------------------------------------------
 (asciiword,"Word, all
ASCII",State,{english_stem},english_stem,{state})
 (blank,"Space symbols"," ",{},,)
 (asciiword,"Word, all
ASCII",Statute,{english_stem},english_stem,{statut})
 (blank,"Space symbols"," ",{},,)
 (tag,"XML tag","<cite value=""SS9.125.07(4A)(3)"">",{},,)
 (blank,"Space symbols"," ",{},,)
 (asciiword,"Word, all
ASCII",pertaining,{english_stem},english_stem,{pertain})
 (blank,"Space symbols"," ",{},,)
 (asciiword,"Word, all ASCII",to,{english_stem},english_stem,{})
(9 rows)
 
-Kevin

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux