|
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
require 'wordnet' include WordNet::Constants lex = WordNet::Lexicon::new origins = lex.lookupSynsets( "shoe", Noun )
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)
$Id: constants.rb,v 1.2 2003/09/03 06:29:17 deveiant Exp $
Classes and Modules |