WordNet::SenseRelate::Context::NearestWords - Perl module for selecting the N nearest words as


WordNet-SenseRelate-TargetWord documentation  | view source Contained in the WordNet-SenseRelate-TargetWord distribution.

Index


NAME

Top

WordNet::SenseRelate::Context::NearestWords - Perl module for selecting the N nearest words as the context of the target word.

SYNOPSIS

Top

  use WordNet::SenseRelate::Context::NearestWords;

  $selector = WordNet::SenseRelate::NearestWords->new($wntools);

  $context = $selector->process($instance);

DESCRIPTION

Top

This module selects the N words nearest the target word, as the context of the target word. By default the value of N is 5, however this can be changed using the options hash. The selected context object includes the target word.

EXPORT

None by default.

SEE ALSO

Top

perl(1)

WordNet::SenseRelate::TargetWord(3)

AUTHOR

Top

Ted Pedersen, tpederse at d.umn.edu

Siddharth Patwardhan, sidd at cs.utah.edu

Satanjeev Banerjee, banerjee+ at cs.cmu.edu

COPYRIGHT AND LICENSE

Top


WordNet-SenseRelate-TargetWord documentation  | view source Contained in the WordNet-SenseRelate-TargetWord distribution.