NAME

FrameNet::WordNet::Detour::Frame - A class representing one single frame.

SYNOPSIS

my $frame = {$result->get_best_frames}->[0];

print "Frame ".$frame->name."\n";
print "Weight ".$frame->weight."\n";
print "Fees: ".join(",", @{$frame->fees});

METHODS

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.

new
name

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).

weight

Same as name, except that it works for the weight instead of the name.

fees

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.

sims

Same as fees, except that it works on the list of similarities of the fees.

BUGS

Please report bugs to mailto:reiter@cpan.org.

COPYRIGHT

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.