Loading ...
Sorry, an error occurred while loading the content.
 

wn-perl :can not find these words with query!!!

Expand Messages
  • Hla Hla Htay
    Hello Jason, I checked with both window and linux. When I use the listallwords function, I ve got only 114648 words. I haven t check how many words are in
    Message 1 of 2 , Sep 24, 2004
      Hello Jason,
      I checked with both window and linux. When I use the listallwords function, I've got only 114648 words. I haven't check how many words are in WordNet.

      When I use with linux, the following message is shown. But it can create output.
      Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.8.3/WordNet/QueryData.pm line 1023.

      When I use with window,
      Use of uninitialized value in hash element at C:/Perl/lib/WordNet/QueryData.pm line1023.

      I can not find these words..
      new,together,go_to,early,wake_up,as_well,pass_out,next,floral,get_it

      Please check it out for me.
      Thanking you.

      Hla Hla Htay


      _____________________________________________________________
      Get YourName@... at---> http://mail.shizaam.com

      Get YourSite.Xaper.com at---> http://www.xaper.com
    • Jason Rennie
      ... My guess is that you didn t supply the required part-of-speech argument. Try this: print join( n , $wn- listAllWords( n )), n ; print join( n ,
      Message 2 of 2 , Oct 5, 2004
        On Fri, Sep 24, 2004 at 10:05:40AM -0700, Hla Hla Htay wrote:
        > When I use with linux, the following message is shown. But it can create output.
        > Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.8.3/WordNet/QueryData.pm line 1023.

        My guess is that you didn't supply the required part-of-speech
        argument. Try this:

        print join("\n", $wn->listAllWords("n")), "\n";
        print join("\n", $wn->listAllWords("v")), "\n";
        print join("\n", $wn->listAllWords("a")), "\n";
        print join("\n", $wn->listAllWords("r")), "\n";

        Jason
      Your message has been successfully submitted and would be delivered to recipients shortly.