Skip Menu |

This queue is for tickets about the Lingua-EN-AddressParse CPAN distribution.

Report information
The Basics
Id: 127140
Status: resolved
Priority: 0/
Queue: Lingua-EN-AddressParse

People
Owner: Nobody in particular
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.27
Fixed in: 1.27



Subject: Can't parse address in New York
I can't Lingua::EN::AddressParse to get this address to parse: 131 107th St, Manhattan, New York, New York, USA
You have specified 2 suburbs, Manhattan and New York, plus the sate of New York. This parser can only handle a single suburb. If either Manhattan or New York is removed, parsing works and the suburb is found. A work around would a pre-parse step to check how many comma delimited fields you have. And then flag or filter when then are too many .