NAME

Date::Extract::ID - Extract probable dates from Indonesian text

VERSION

version 0.002

SYNOPSIS

 my $parser = Date::Extract::ID->new();
 my $dt = $parser->extract($arbitrary_text)
     or die "No date found.";
 return $dt->ymd;

DESCRIPTION

This is a version of Date::Extract-compatible module to handle Indonesian text. Underneath, it uses DateTime::Format::Alami::ID instead of DateTime::Format::Natural (because the latter does not handle non-English text). So actually this module is just a wrapper for DateTime::Format::Alami::ID.

METHODS

new

extract($text)

SEE ALSO

Date::Extract, DateTime::Format::Alami

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.