FrameNet::WordNet::Detour::Frame - A class representing one single frame.
my $frame = {$result->get_best_frames}->[0]; print "Frame ".$frame->name."\n"; print "Weight ".$frame->weight."\n"; print "Fees: ".join(",", @{$frame->fees});
Note: Some of the methods allow writing of properties. This is only used during the creation of the module and should not be used and needed at all.
If an argument is provided, the name of the frame is set to that value. The method returns the name (after assignment to a provided value, if appropriate).
Same as name, except that it works for the weight instead of the name.
name
Several Uses: If called without arguments, it returns the list of frame evoking elements in list context and a reference to that list in scalar context. Can also be called with an argument, that list replaces the current value.
Same as fees, except that it works on the list of similarities of the fees.
fees
Returns the name of the frame
Returns the weight of the frame
Please report bugs to mailto:reiter@cpan.org.
Copyright 2005 Aljoscha Burchardt and Nils Reiter. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install FrameNet::WordNet::Detour, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FrameNet::WordNet::Detour
CPAN shell
perl -MCPAN -e shell install FrameNet::WordNet::Detour
For more information on module installation, please visit the detailed CPAN module installation guide.