constants.rb

Path: | lib/wordnet/constants.rb
Modified: | Wed Sep 03 06:29:17 GMT 2003

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.lookupSynsets( "shoe", Noun )

## Authors

- Michael Granger <ged@FaerieMUD.org>

## Copyright

Copyright © 2003 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,v 1.2 2003/09/03 06:29:17 deveiant Exp $

Classes and Modules

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