these are aaronland.infoxsl tools


This stylesheet defines a single public template which attempts to determine a matching Wordnet RDF Class for a phrase.

The current version of the wn-find-class stylesheet is 0.1.

released July 15, 2003


example: test.xml

 <bar>cream cheese</bar>

example: test.xsl

<xsl:include href = "/path/to/wn-find-class.xsl" />

<xsl:template match = "bar">
  <xsl:call-template name = "wn-find-class">
   <xsl:with-param name = "phrase" select = "." />

example: munge munge munge

# Can't get this to work with xsltproc. Dunno

$>javavm -jar /path/to/saxon.jar \
  ~/tmp/test.xml ~/tmp/test.xsl

<?xml version="1.0" encoding="utf-8"?>


This stylesheet relies on the expiremental Wordnet for the Web service which cautions that it should not be relied on for production grade work.


Copyright © 2003 Aaron Straup Cope. All Rights Reserved.

Permission to use, copy, modify and distribute this stylesheet and its acompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the stylesheet for any purpose.

It is provided "as is" without expressed or implied warranty.