According to Dirk Datzert: > I have a configuration question about the synonyms-files: > Is it possible to write a synonym-line which result in the following > search: > > TD1 or ( TD and 1) or (Tandem and 1) ? > > I wrote synonym line like: > TD1 Tandem TD 1 > > but this will search: > TD1 or Tandem or TD or 1
No, there no support right now for so-called phrase synonymy. > If it is not possible where could I change this in the source code ? > (Only a little hint needed) You'd need to work with the 3.2.0b4 development code snapshot, because that's the only code with any usable phrase support. You'd need to start by changing htfuzzy/Synonyms.cc to support your new syntax, but I'm pretty sure you'd also need to revamp the whole fuzzy match algorithm interface to support expansion of words to phrases and vice-versa. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

