use Data::Dumper; use Juman::Sexp qw/ parse /; print &Dumper( &parse( file => "Noun.dic" ) );
"Juman::Sexp" XXJuman XXXXXXXXXXXXXXXXXSXXXXX XXXXXX "parse" XXXXXXXX
Example:
&parse( file => "example.dat", comment => undef );
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Example:
&parse( string =>
"(XX (XXXX ((XX XX)(XXXX X XX XX))))" );
XXXXXXXXXXXXXXXXXXXX
( [ 'XX',
[ 'XXXX',
[ [ 'XX', 'XX' ],
[ 'XXXX', 'X', 'XX', 'XX' ]
]
]
] )
XXXXXXXXXXXX GPL2 XXX Artistic License XXXXXXXXX
Hey! The above document had some coding errors, which are explained below: