for the third example , the expected output for PlaceName is 'SOUTH PADRE ISLE'
Obtained output is
(u'1500', 'AddressNumber'),
(u'PADRE', 'StreetName'),
(u'BLVD', 'StreetNamePostType'),
(u'SOUTH', 'StreetNamePostDirectional'),
(u'PADRE', 'PlaceName'),
(u'ISLE', 'PlaceName'),
(u'TX', 'StateName'),
(u'78597', 'ZipCode')
Noticed an issue with addresses containing StreetNamePostDirectional. The StreetNamePostDirectional gets tagged as a PlaceName.
Sample cases : 4984 HWY 6 NORTH HOUSTON TX 77084 1509 IH 35 NORTH NEW BRAUNFELS TX 78130 1500 PADRE BLVD SOUTH PADRE ISLE TX 78597
Obtained Output - ('AddressNumber', u'4984'), ('StreetNamePreType', u'HWY'), ('StreetName', u'6'), ('PlaceName', u'NORTH HOUSTON'), ('StateName', u'TX'), ('ZipCode', u'77084')
Expected output - ('AddressNumber', u'4984'), ('StreetNamePreType', u'HWY'), ('StreetName', u'6'), ('StreetNamePostDirectional', u'NORTH'), ('PlaceName', u'HOUSTON'), ('StateName', u'TX'), ('ZipCode', u'77084')
for the third example , the expected output for PlaceName is 'SOUTH PADRE ISLE' Obtained output is (u'1500', 'AddressNumber'), (u'PADRE', 'StreetName'), (u'BLVD', 'StreetNamePostType'), (u'SOUTH', 'StreetNamePostDirectional'), (u'PADRE', 'PlaceName'), (u'ISLE', 'PlaceName'), (u'TX', 'StateName'), (u'78597', 'ZipCode')