FrameNet::WordNet::Detour

FrameNet::WordNet::Detour is a WordNet to FrameNet Detour.
Download

FrameNet::WordNet::Detour Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Aljoscha Burchardt and Nils Reiter
  • Publisher web site:
  • http://search.cpan.org/~reiter/FrameNet-WordNet-Detour-0.99c/lib/FrameNet/WordNet/Detour.pm

FrameNet::WordNet::Detour Tags


FrameNet::WordNet::Detour Description

FrameNet::WordNet::Detour is a WordNet to FrameNet Detour. FrameNet::WordNet::Detour is a WordNet to FrameNet Detour.SYNOPSIS use FrameNet::WordNet::Detour; # Creation without parameters, $WNHOME and $FNHOME will be used my $detour = FrameNet::WordNet::Detour->new; # Creation with some parameters my $detour2 = FrameNet::WordNet::Detour->new(-wnhome => '/path/to/WordNet', -fnhome => '/path/to/FrameNet' -cached => 1, -limited => undef); my $result = $detour->query("walk#v#1"); if ($result->is_ok) { print "Best frames: n"; print join(' ', @{$result->get_best_framenames})."n"; print "All frames: n"; print join(' ', @{$result->get_all_framenames})."n"; print "All frames with weights: n"; foreach my $frame (@{$result->get_all_frames}) { print $frame->name.": "; print $frame->get_weight."n"; } } else { print $result->message."n"; } Requirements: · Perl


FrameNet::WordNet::Detour Related Software