Module WordNet
In: lib/wordnet.rb  (CVS)
lib/wordnet/synset.rb  (CVS)
lib/wordnet/constants.rb  (CVS)

This is a module containing constants used in the WordNet interface for Ruby. They are contained in a module to facilitate their easy inclusion in other namespaces. All constants in this module are also contained in the WordNet namespace itself.

E.g.,

  WordNet::Adjective == WordNet::Constants::Adjective

If you do:

  include WordNet::Constants

then:

  Adjective == WordNet::Adjective

Synopsis

  require 'wordnet'
  include WordNet::Constants

  lex = WordNet::Lexicon::new
  origins = lex.lookup_synsets( "shoe", Noun )

Authors

  • Michael Granger <ged@FaerieMUD.org>

Copyright

Copyright (c) 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)

Version

 $Id: constants.rb 79 2007-02-20 19:07:32Z deveiant $

Included Modules

Constants

Classes and Modules

Module WordNet::Constants
Class WordNet::Lexicon
Class WordNet::LexiconError
Class WordNet::LookupError
Class WordNet::Synset
Class WordNet::SynsetError

Constants

SvnRev = %q$Rev$   Revision tag
SvnId = %q$Id: wordnet.rb 79 2007-02-20 19:07:32Z deveiant $   Id tag

[Validate]