When the script find a address with 2 possible street type, it grabs the first one as street type and not the last. Blvd should be considered the street type, and not Beach, but it is now ignored and left as part of the City name
Not sure if this is possible in your particular use case but adding a comma before the city seems give the correct results
760 South Beach Blvd, La Habra, CA 90631-6416
When the script find a address with 2 possible street type, it grabs the first one as street type and not the last. Blvd should be considered the street type, and not Beach, but it is now ignored and left as part of the City name
760 South Beach Blvd La Habra, CA 90631-6416
the result is
{ "number": "760", "street": "South", "type": "Bch", "city": "Blvd La Habra", "state": "CA", "zip": "90631", "plus4": "6416" }