This repository wraps the parser module extracted from the Address-Index-API in a Spring Boot App. An address string input will be transformed into a tokenised output following the rules set out in the Address Index API.
Supported OS: Linux, Windows and Mac
- Clone the repo
- Run the code in your IDE of choice
Will return:
{
"organisationName":"ACME FLOWERS LTD",
"departmentName":"",
"subBuildingName":"FIRST AND SECOND FLOOR FLAT",
"buildingName":"39B",
"buildingNumber":"",
"paoStartNumber":"39",
"paoStartSuffix":"B",
"paoEndNumber":"",
"paoEndSuffix":"",
"saoStartNumber":"",
"saoStartSuffix":"",
"saoEndNumber":"",
"saoEndSuffix":"",
"streetName":"CRANBROOK ROAD",
"locality":"WINDLEYBURY",
"townName":"",
"postcode":"GU16 6DE",
"postcodeIn":"6DE",
"postcodeOut":"GU16"
}