Skip to content

Wrong UK address resolution #13

@codekrolik2

Description

@codekrolik2

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!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions