Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: [GENERAL] F...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9408 of 10965
Post > Topic >>

Re: [GENERAL] Fragments in tsearch2 headline

by teodor@[EMAIL PROTECTED] (Teodor Sigaev) May 24, 2008 at 08:07 AM

> stucked with the function LexizeExec which I do not totally understand
> (... and is not well do***ents too :) )

Sorry for that. LexizeExec() is a play around sup****ting thesaurus
dictionary, 
which is designed to replace phrase by phrase. So, if it see first matched
word 
then it asks the parse to get next word. On next word it have four
options:
  - asks next word
  - returns substituting phrase
  - says: Hey, I have a match, but it's possible to find a largest match,
so 
give a next word
  - says about false match, so parser should return back and try next
dictionary 
from the begining or last match.

Now only thesaurus dictionary can work in that mode but nothing forbids to
have 
another dictionary with phrase recognition.

-- 
Teodor Sigaev                                   E-mail: teodor@[EMAIL PROTECTED]
                                                    WWW:
http://www.sigaev.ru/

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 1 Posts in Topic:
Re: [GENERAL] Fragments in tsearch2 headline
teodor@[EMAIL PROTECTED]   2008-05-24 08:07:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 9:21:34 CST 2008.