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.
Copyright (C) 2006 by Yung-chung Lin (a.k.a. xern) <email@example.com>
This library is free software; Redistribution and/or modification under the same terms as Perl itself is allowed.