Alvis-NLPPlatform
view release on metacpan or search on metacpan
lib/Alvis/NLPPlatform/ParseConstituents.pm view on Meta::CPAN
####################################################################
#
# This file was generated using Parse::Yapp version 1.05.
#
# Don't edit this file, use source file instead.
#
# ANY CHANGE MADE HERE WILL BE LOST !
#
####################################################################
package Alvis::NLPPlatform::ParseConstituents;
use vars qw ( @ISA );
use strict;
@ISA= qw ( Parse::Yapp::Driver );
use Parse::Yapp::Driver;
#line 12 "lib/Alvis/NLPPlatform/ParseConstituents.yp"
use Alvis::NLPPlatform;
use Data::Dumper;
use warnings;
our $VERSION=$Alvis::NLPPlatform::VERSION;
my $doc_hash;
my $decal_phrase_idx;
my $debug_mode=0;
my $lconst = 0;
my $nconst;
my @tab_nconst;
# my @tab_type;
# my @tab_string;
my $tab_type_ref;
my $tab_string_ref;
my $lastword="";
my $word_id_np_ref;
my $word_count;
sub new {
my($class)=shift;
ref($class)
and $class=ref($class);
my($self)=$class->SUPER::new( yyversion => '1.05',
yystates =>
[
{#State 0
DEFAULT => -1,
GOTOS => {
'input' => 1
}
},
{#State 1
ACTIONS => {
'' => 4,
'OPEN' => 2,
"\n" => 6,
'error' => 7
},
GOTOS => {
'open' => 3,
'constituent' => 5,
'line' => 8
}
},
{#State 2
DEFAULT => -12
},
{#State 3
ACTIONS => {
'OPEN' => 2,
'WORD' => 9,
( run in 0.816 second using v1.01-cache-2.11-cpan-f56aa216473 )