more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Care to be more specific on what looks like a date? 20110112 ? jan twelve ? 12 Janvier ? XII 1 MMXI ? OK, the last couple where a bit silly, but it illustrates the point. If you have a clear idea of what a date looks like, then a series of regular expressions is probably the way to go. If not, then I would start by training a Bayesian classifier, eg: Algorithm::NaiveBayes to find the bits of text, and then using them as examples to write regular expressions from. In reply to Re: Finding dates in unstructured text
by chrestomanci
|
|