synset.rb

Path: lib/wordnet/synset.rb  (CVS)
Last Update: Mon Jun 18 07:47:43 -0700 2007

WordNet synonym-set object class

Synopsis

  ss = lexicon.lookupSynset( "word", WordNet::Noun, 1 )
  puts "Definition: %s" % ss.gloss
  coords = ss.coordinates

Description

Instances of this class encapsulate the data for a synonym set (‘synset’) in a Wordnet lexical database. A synonym set is a set of words that are interchangeable in some context.

Author

Michael Granger <ged@FaerieMUD.org>

Copyright (c) 2002, 2003, 2005 The FaerieMUD Consortium. All rights reserved.

This module is free software. You may use, modify, and/or redistribute this software under the terms of the Perl Artistic License. (See language.perl.com/misc/Artistic.html)

Much of this code was inspired by/ported from the Lingua::Wordnet Perl module by Dan Brian.

Version

 $Id: synset.rb 82 2007-06-18 14:48:38Z deveiant $

Required files

sync   wordnet/constants  

[Validate]