4 ms·
It would be cool if raw text could be parsed into structured data. Something like "Yesterday at 6pm, I took a flight from MIA to LAX airport on Delta" could be
by byoung2 6y ago
It would be cool if raw text could be parsed into structured data. Something like "Yesterday at 6pm, I took a flight from MIA to LAX airport on Delta" could be parsed into:
{
"date": "2020-10-09T06:00:00-0800",
"action": "flight",
"destination": {
"iataCode": "LAX",
"name": "Los Angeles International Airport"
},
"origin": {
"iataCode": "MIA",
"name": "Miami International Airport"
},
"airline": {
"iataCode": "DL",
"name": "Delta",
"url": "https://www.delta.com"
}
}
even better would be to parse it into schema.org entities
- alphagrep12345 6y agoHow would you use this information?
- byoung2 6y agoi would like to be able to search it by attribute, like "find me all flights I took on Delta" or "How many flights did I take to Miami last year"