News for hackers. Stuff that matters.
Re:Parsing city of origin and destination city from a string by nmstoker on Monday July 06, 2020 @01:48PM (#23750577)
Although the SO question is focused on the goal, this broad kind of task is quite a common requirement for chatbots, so looking at tools like RASA and Spacy for this are good places to explore (for those not opting for the commercial API approach others sensibly suggested)

https://rasa.com/docs/rasa/nlu/entity-extraction/

Spacy have a handy demo of NER (although it appears down for me right now): https://explosion.ai/demos/displacy-ent/

Re:Parsing city of origin and destination city from a string by walterkrankheit on Tuesday July 07, 2020 @06:39AM (#23757700)
Just checked spaCy's NER demo and it seems to be working fine now. :)