=encoding utf-8

=head1 NAME

Text::CaboCha::Token - CaboCha Token Object

=head1 SYNOPSIS

    use Text::CaboCha;
    my $cabocha = Text::CaboCha->new();
    my $tree = $cabocha->parse($text);

    my $token_size = $tree->token_size;
    for (my $i = 0; $i < $token_size; $i++) {
        my $token = $tree->token($i);
        # do something
    }

    # You can get the chunk value from chunk object using below methods
    $token->surface;
    $token->normalized_surface;
    $token->feature;
    $token->feature_list; # array reference
    $token->feature_list_size;
    $token->ne;
    $token->additional_info;
    $token->chunk; # It will return Text::CaboCha::Chunk object

=head1 DESCRIPTION

Text::CaboCha::Token encapsulates the cabocha token object.

=head1 SEE ALSO

L<Text::CaboCha|Text::CaboCha>  
L<Text::CaboCha::Chunk|Text::CaboCha::Chunk>

=head1 LICENSE

Copyright (C) Kei Kamikawa.

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html

=head1 AUTHOR

Kei Kamikawa E<lt>x00.x7f@gmail.comE<gt>  
L<@codehex|https://twitter.com/CodeHex>

=cut