pelias / parser

natural language classification engine for geocoding
https://parser.demo.geocode.earth
MIT License
55 stars 27 forks source link

feat: add new StreetNumericClassification #176

Open JanF01 opened 1 year ago

JanF01 commented 1 year ago

:wave: I thought about how to solve #175 . I came up with adding a new StreetNumericClassification. I'm aware that it is a very country specific case.


Here's the reason for this change :rocket:

As stated in #175, Poland has a lot of Street Names that start with numbers, we have found over a 1500 such streets in the database and just creating schemes for them is not a possibility as the 2nd, 3rd and so on words should be classified accordingly. I would be open for any different ideas to solving this issue.


Here's what actually got changed


Here's how others can test the changes :eyes:

I have added unit tests for the StreetNumericClassifier

Closes #175

JanF01 commented 1 year ago

@missinglink @Joxit I would appreciate your insights on whether the proposed solution is suitable for inclusion or if it requires revisions. Thank you for your time