We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example:
[3] pry(main)> WordNet::Lemma.find('turtle', :n).synsets[0] => #<WordNet::Synset:0x007ffa3381cd80 @gloss="a sweater or jersey with a high close-fitting collar", @lex_filenum="06", @pointers= [#<WordNet::Pointer:0x007ffa3381c4e8 @offset=4370048, @pos="n", @source="00", @symbol="@", @target="00">, #<WordNet::Pointer:0x007ffa3381c3f8 @offset=3595614, @pos="n", @source="00", @symbol="@", @target="00">, #<WordNet::Pointer:0x007ffa3381c308 @offset=4502364, @pos="n", @source="00", @symbol="%", @target="00">], @pos="n", @pos_offset=4502197, @synset_offset="04502197", @synset_type="n", @word_counts={"turtleneck"=>0, "turtle"=>0, "polo-neck"=>0}>
Notice the third pointer's symbol is %. However, in the data.noun file, the symbol is %p. Looks like the problem is happening at https://github.com/doches/rwordnet/blob/master/lib/rwordnet/synset.rb#L75
%
data.noun
%p
I realize that @pointers is private data, but sometimes I want to see what relations are available by peeking into the private data.
@pointers
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example:
Notice the third pointer's symbol is
%
. However, in thedata.noun
file, the symbol is%p
. Looks like the problem is happening at https://github.com/doches/rwordnet/blob/master/lib/rwordnet/synset.rb#L75I realize that
@pointers
is private data, but sometimes I want to see what relations are available by peeking into the private data.The text was updated successfully, but these errors were encountered: