[drupal-devel] taxonomy relation and synonyms
Does anything actually use term_relation and term_synonym? -- Julian Bond Email&MSM: julian.bond at voidstar.com Webmaster: http://www.ecademy.com/ Personal WebLog: http://www.voidstar.com/ M: +44 (0)77 5907 2173 T: +44 (0)192 0412 433 S: callto://julian.bond/
and term_relation ... these two features are part of any substantial ontology application. i'd like to see them stay. On Mar 23, 2005, at 5:36 AM, Gerhard Killesreiter wrote:
On Wed, 23 Mar 2005, Julian Bond wrote:
Does anything actually use term_relation and term_synonym?
glossary uses term_synonym.
Cheers, Gerhard
Does anything actually use term_relation and term_synonym?
I'll be using them for my "similar keywords" code, yes. -- Morbus Iff ( don't heckle the super-villian ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus
Morbus Iff <morbus@disobey.com> Wed, 23 Mar 2005 07:19:23
Does anything actually use term_relation and term_synonym?
I'll be using them for my "similar keywords" code, yes.
That was the point. I wasn't suggesting getting rid of them but rather hijacking them for free form tagging (or whatever the current terminology is). The obvious algorithm is:- For this tag (tag1) find all the tags (tag2) from this vocabulary that are used on the same nodes. Then create term_relation entries for tag1, tag2 and tag2, tag1 I think there's something clever that can be done with synonyms to enforce some consistency on free form tagging. But none of the current tag systems out there seem to do this. And I'm not at all sure what the UI would look like. -- Julian Bond Email&MSM: julian.bond at voidstar.com Webmaster: http://www.ecademy.com/ Personal WebLog: http://www.voidstar.com/ M: +44 (0)77 5907 2173 T: +44 (0)192 0412 433 S: callto://julian.bond/
The obvious algorithm is:- For this tag (tag1) find all the tags (tag2) from this vocabulary that are used on the same nodes. Then create term_relation entries for tag1, tag2 and tag2, tag1
And that'll work for a totally automated method, yeah, fine with that. For my particular needs, however, the "similar keywords" code is not one of automatic deduction, but one of usage reduction. The (currently implemented in a homebrew) system I need (have) is visualized here: http://disobey.com/detergent/2005/similar_keywords.jpg Since I can't trust (my) people to understand the vagaries of what a "synonym" is, I'll be saving information into the "related" field. -- Morbus Iff ( you are nothing without your robot car, NOTHING! ) Culture: http://www.disobey.com/ and http://www.gamegrene.com/ Spidering Hacks: http://amazon.com/exec/obidos/ASIN/0596005776/disobeycom icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus
Morbus Iff <morbus@disobey.com> Wed, 23 Mar 2005 09:14:49
And that'll work for a totally automated method, yeah, fine with that. For my particular needs, however, the "similar keywords" code is not one of automatic deduction, but one of usage reduction. The (currently implemented in a homebrew) system I need (have) is visualized here:
http://disobey.com/detergent/2005/similar_keywords.jpg
Since I can't trust (my) people to understand the vagaries of what a "synonym" is, I'll be saving information into the "related" field.
But what you've got there is exactly synonyms not related. Even if you don't use the word Synonym in the UI, that's what you're doing. It's unlikely that the same record will be tagged with "Craig Benson" and with "Governor Craig Benson" so you'll have to build the synonym table by hand. Using term_relation for this doesn't look right to me. -- Julian Bond Email&MSM: julian.bond at voidstar.com Webmaster: http://www.ecademy.com/ Personal WebLog: http://www.voidstar.com/ M: +44 (0)77 5907 2173 T: +44 (0)192 0412 433 S: callto://julian.bond/
But what you've got there is exactly synonyms not related. Even if you don't use the word Synonym in the UI, that's what you're doing. It's unlikely that the same record will be tagged with "Craig Benson" and with "Governor Craig Benson" so you'll have to build the synonym table by hand. Using term_relation for this doesn't look right to me.
Yes but, as killes pointed out on IRC a few days back, "horse" and "horse riding" are not exactly synonyms of each other, but they'd show up in the "similar keywords" code. -- Morbus Iff ( you are nothing without your robot car, NOTHING! ) Culture: http://www.disobey.com/ and http://www.gamegrene.com/ Spidering Hacks: http://amazon.com/exec/obidos/ASIN/0596005776/disobeycom icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus
participants (4)
-
Gerhard Killesreiter -
Julian Bond -
Morbus Iff -
Moshe Weitzman