Changeset 70 for trunk/.irbrc

Show
Ignore:
Timestamp:
12/08/05 16:33:06 (3 years ago)
Author:
ged
Message:

- Load the default lexicon into a global.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/.irbrc

    r39 r70  
    2828    puts "Requiring 'wordnet'..." 
    2929    require 'wordnet' 
     30 
     31    puts "Instantiating the lexicon as $lex" 
     32    $lex = WordNet::Lexicon.new 
    3033rescue => e 
    3134    $stderr.puts "Ack! WordNet failed to load: #{e.message}\n\t" +