The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

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

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

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

DESCRIPTION

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

perl(1)

WordNet::SenseRelate::TargetWord(3)

AUTHOR

Siddharth Patwardhan, sidd at cs.utah.edu

Satanjeev Banerjee, banerjee+ at cs.cmu.edu

Ted Pedersen, tpederse at d.umn.edu

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Siddharth Patwardhan, Satanjeev Banerjee and Ted Pedersen

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.