I have data that formatted like this below:
{"input": "250 Hartford Avenue, Bellingham, MA, 2019",
"output": "{
'address': 'Hartford Avenue',
'city': 'Bellingham',
'state': 'MA',
'zip': '2019' }" },
{"input": "700 Oak Street, Brockton, MA, 2301",
"output": "{
'address': 'Oak Street',
'city': 'Brockton',
'state': 'MA',
'zip': '2301' }" },
This can be handled by regex, but I'm requested to make it can predict if the input just- and given output like this:
"input": "Hartford Avenue"
the output should be:
"output": "{
'address': 'Hartford Avenue',
'city': 'Bellingham',
'state': 'MA'}
or
"input": "Bellingham"
the output should be:
"output": "{
'city': 'Bellingham',
'state': 'MA'}
and the others clueless input, output should gives completed address.
anyone can give me a method in deep learning side for handle this data? is this appropriate to using classify approach? or tagging? or text generation?