Upgraded module Lingua::JA::FindDates
I have upgraded a module, Lingua::JA::FindDates, for scanning text to find dates in Japanese format.
This module is for parsing Japanese text, extracting dates, and then, for example, converting them into another language. It is meant to be a component of a translation or data extraction system.
The code is basically a very big set of regular expressions. I have improved the internals of the code using qr// (quotes for regular expression) and /x (the extended regular expression flag) to make the regular expressions more readable. There is also one bug fix.
I blog about Perl.
Leave a comment