Lingua::LinkParser::FindPath - Find paths in diagrams generated by Link Grammar Parser
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'),$/;
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 (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.
To install Lingua::LinkParser::FindPath, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::LinkParser::FindPath
CPAN shell
perl -MCPAN -e shell install Lingua::LinkParser::FindPath
For more information on module installation, please visit the detailed CPAN module installation guide.