Lingua::YaTeA::ParsingPatternParser - Perl extension for parsing the file containing the parsing patterns (based on Parse::Yapp)
use Lingua::YaTeA::ParsingPatternParser; my $fh = FileHandle->new("<$file_path"); my $parser = Lingua::YaTeA::ParsingPatternParser->new(); $parser->YYData->{PPRS} = $this; $parser->YYData->{FH} = $fh; $parser->YYData->{CANDIDATES} = $tag_set->getTagList("CANDIDATES"); $parser->YYData->{PREPOSITIONS} = $tag_set->getTagList("PREPOSITIONS"); $parser->YYData->{DETERMINERS} = $tag_set->getTagList("DETERMINERS"); $parser->YYParse(yylex => \&Lingua::YaTeA::ParsingPatternParser::_Lexer, yyerror => \&Lingua::YaTeA::ParsingPatternParser::_Error);
Thierry Hamon <thierry.hamon@limsi.fr>
Copyright (C) 2013 by Thierry Hamon
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.6 or, at your option, any later version of Perl 5 you may have available.
To install Lingua::Ogmios, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::Ogmios
CPAN shell
perl -MCPAN -e shell install Lingua::Ogmios
For more information on module installation, please visit the detailed CPAN module installation guide.