libpostal-data icon indicating copy to clipboard operation
libpostal-data copied to clipboard

Wrong UK address resolution

Open codekrolik2 opened this issue 1 year ago • 1 comments

Describe the bug Wrong UK address resolution

To Reproduce Run ./address_parser /Users/john/projects/libpostal/senzing/libpostal

> 3 Juvina Cl, Witham CM8 1QL, UK, Braintree, CM81QL

Result:

{
  "house_number": "3",
  "road": "juvina cl",
  "city": "witham",
  "postcode": "cm8 1ql",
  "house": "uk braintree cm81ql"
}

Expected behavior

{
  "house_number": "3",
  "road": "juvina cl",
  "city": "witham",
  "postcode": "cm8 1ql",
  "country": "uk",
  "state": "braintree"
}

Screenshots

Desktop (please complete the following information):

  • OS: MacOs 13 Ventura
  • Browser N/A
  • Version N/A

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser N/A
  • Version N/A

Additional context The rumor has it that this model was created by Senzing Inc. for improved parsing on US, UK and Singapore addresses. Well, this address is from UK, and leaves the model without a clue, let's fix it!

codekrolik2 avatar Dec 12 '23 19:12 codekrolik2

@codekrolik2 Thanks for the information. We will work on this. There will be one change for the expected results: "braintree" will be classified as "state_district".

oskar700 avatar Dec 13 '23 15:12 oskar700