NAME

Lingua::LinkParser::FindPath - Find paths in diagrams generated by Link Grammar Parser

SYNOPSIS

   use Data::Dumper;
   use Lingua::LinkParser::FindPath;
   my $f = new Lingua::LinkParser::FindPath;
   $f->sentence('John sees a girl in the park with a telescope');

   print $f->get_diagram;

   print Dumper [ $f->find('John' => 'telescope') ];

   print $f->find_as_string('John' => 'telescope'),$/;

DESCRIPTION

This module helps you to find a path linking from one word to another word in diagrams generated by Link Grammar Parser.

See also Lingua::LinkParser and Lingua::LinkParser::MatchPath.

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Yung-chung Lin (a.k.a. xern) <xern@cpan.org>

This library is free software; Redistribution and/or modification under the same terms as Perl itself is allowed.