-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Less than common #24
Comments
One of the definitions of "run" is:
*A trail or way made or frequented by animals.*
For example, "Turtle Run", in Monticello, Florida:
https://geographic.org/streetview/view.php?place=Turtle%20Run,%20Monticello,%20fl,%20USA
…On Wed, Jan 30, 2019 at 11:05 AM Jerry Harrison ***@***.***> wrote:
Hi Damon,
I use your js module for parsing addresses -- and it's awesome, great job
and thank you for maintaining it.
I recently came into several circumstances where an odd street type such
as Run caused the parser to fail. Personally I've never heard of that
street type, and if I did I had just assumed it was Run St or Rd... that's
bad on my part for assuming.
Cutting to the chase I would like to know if I can submit a PR with an
updated list of street types per the USPS, the body in the US that
determines valid street types. I can also update/add a "beefier" unit
designation list as well as addressit right now only accepts APT or
APARTMENT.
I understand if you do not wish to bloat the module with US suffixes as
you're from Australia, I just would rather contribute than make another
module.
US Street Type List: https://pe.usps.com/text/pub28/28apc_002.htm
Unit Designation: https://pe.usps.com/text/pub28/28apc_003.htm
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#24>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABk5ZBFL1YU0f48wccJapvD94MJPSopks5vIcKwgaJpZM4aaheD>
.
--
Mark Stosberg
Director of Systems and Security
RideAmigos
|
@jerryharrison It would also be interesting to compare this list against what https://github.com/thrustlabs/contact-parser/blob/master/src/contact-parser.coffee |
heya, I'd recommend this dictionary. |
@missinglink Great source! Duh! I already use libpostal on the serverside for our go server. |
@missinglink yep, great reference thanks for dropping it into the issue. I still have at the back of my mind the intention to rewrite addressit without the regexes and that's an excellent resource for potentially kicking that off. @jerryharrison Ideally I'd like to implement a system that would support that style of Given most bundlers (webpack, rollup, et al) support dead code elimination at module boundaries it's likely that something like the following might be a good pattern (note - I'm completely spitballing potential APIs here): import { parse } from 'addressit';
import { streetNames } from 'addressit/dictionaries/en';
const result = parse(..., { streetNames }); It's likely that the Anyway... like I said this is just spit balling some potential approaches. I think the majority of folks are pretty happy with |
Hi Damon,
I use your js module for parsing addresses -- and it's awesome, great job and thank you for maintaining it.
I recently came into several circumstances where an odd street type such as Run caused the parser to fail. Personally I've never heard of that street type, and if I did I had just assumed it was Run St or Rd... that's bad on my part for assuming.
Cutting to the chase I would like to know if I can submit a PR with an updated list of street types per the USPS, the body in the US that determines valid street types. I can also update/add a "beefier" unit designation list as well as addressit right now only accepts APT or APARTMENT.
I understand if you do not wish to bloat the module with US suffixes as you're from Australia, I just would rather contribute than make another module.
US Street Type List: https://pe.usps.com/text/pub28/28apc_002.htm
Unit Designation: https://pe.usps.com/text/pub28/28apc_003.htm
Thank you!
The text was updated successfully, but these errors were encountered: