Lexicon Pacage Manual 3.8.0a


(Zach) #1

So, is there an updated manual?


I ask why because I'm doing some work with tagging using metadata entry. And basically what I want to do is allow users to tag their assets as whatever they like in a multi-text input field, then have a separate metadata field that stores new general keywords that are derived from the tags, such that the new keywords are the "parent" terms of the tags.



For example: A user tags an asset as being related to rabbits, so the general keyword would be "pets".



I have made an XML file to create these relationships.



[codebox]thesaurus>

<term name="Pets">

<relation name="is_hypernym_of">

<term name="Rabbits">

<relation name="is_synonym_of">

<term name="Bunnies">

</term>

</relation>

</term>

</relation>

</term>

<term name="Rabbits">

<relation name="is_hyponym_of">

<term name="Pets">

</term>

</relation>

</term>

</thesaurus>[/codebox]



So this goes into the CMS and looks good. The Hypernym/Hyponym relationships is recursive, and accordingly there are an infinite number of children to the hypernym. So that's fine.





However, I can't see how to generate the hypernym into the metadata field. :blink:



Any ideas?



Or a new manual?