[Bug 6809] [FT] Test Suite - Thesaurus Queries

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6809





--- Comment #5 from Christian Gruen <christian.gruen@gmail.com>  2009-04-16 18:33:04 ---
Hi Pat,

you are welcome. I checked the queries once more. Before closing this bug, it
would be great if you could have another look at the following issues:


[3] ft-3.4.3-examples-q3.xq

It's good to hear your opinion on this query, as I surely had quite an
implementation-centered approach in my mind here. As I feel that this issue is
more complicated as I thought first, I'll add an extra "bug" to discuss the
relationship between Thesaurus and match options.

Considering the relationship between "Merrygould" and "Marigold", I would
indeed expect the "soundex.xml" file to be modified. This was my suggestion..

OLD:
  <term>Marigold</term>
  <synonym>
    <term>Merrygould</term>
    <relationship>sounds like</relationship>
  </synonym>

NEW:
  <term>Merrygould</term>
  <synonym>
    <term>Marigold</term>
    <relationship>sounds like</relationship>
  </synonym>

If I process a thesaurus request, I look up the input word (Merrygould) and
return all words that are linked with the "sounds like" relationship to this
term. I have no access to the complete ISO 2788 standard, but, as far as I
know, the "sounds like" relationship is not defined there. So an XQuery
implementation has to "guess" how a "unknown" relationship like this one works.
I treat all undefined relationships as unidirectional, i.e. I will currently
return "Merrygould" for the input term "Marigold" - but not the other way
round. If the xml file will be modified as proposed above, the relationship can
be consistently answered like the other thesaurus examples.

If you have a different opinion or think I'm wrong, don't hesitate to tell me.


[5] ft-3.4.3-expressions-q3

Now, result should be defined as "Fragment" in XQFTCatalog.xml..


[9] thesaurus-queries-results-q5 / q5b / q6 / q6b

Different spellings: "misspelling-of" vs "misspelling of"..


Christian


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 16 April 2009 18:33:14 UTC