WordNet::Constants

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

Copyright

Copyright © 2003-2008 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 102 2008-09-23 15:02:51Z deveiant $

  Constant-container module

Constants

SYNTACTIC_CATEGORIES

Synset syntactic-category names -> indicators

SYNTACTIC_SYMBOLS

Syntactic-category indicators -> names

POINTER_TYPES

Synset pointer typenames -> indicators

POINTER_SYMBOLS

Synset pointer indicator -> typename

HYPERNYM_TYPES

Hypernym synset pointer types

HYPERNYM_SYMBOLS

Hypernym indicator -> type map

HYPONYM_TYPES

Hyponym synset pointer types

HYPONYM_SYMBOLS

Hyponym indicator -> type map

MERONYM_TYPES

Meronym synset pointer types

MERONYM_SYMBOLS

Meronym indicator -> type map

HOLONYM_TYPES

Holonym synset pointer types

HOLONYM_SYMBOLS

Holonym indicator -> type map

DOMAIN_TYPES

Domain synset pointer types

DomainSymbols

Domain indicator -> type map

MEMBER_TYPES

Member synset pointer types

MEMBER_SYMBOLS

Member indicator -> type map

POINTER_SUBTYPES

Map of primary types to maps of their subtypes

DELIM

Record-part delimiter

DELIM_RE
(Not documented)
SUB_DELIM

Record-subpart delimiter

SUB_DELIM_RE
(Not documented)
LEXFILES

Lexicographer file index — from lexnames(5WN)

VERB_SENTS

Verb sentences (?) — used in building verb frames.

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.