I need to extract the source and destination terms from the text documents using text mining/NLP/Information Retrieval ?
ex :
- i am travelling from New York to London.
- i am heading towards playground from home.
- i will be going to Sweden from Boston.
- i was flying from School to Home.
the output can be as follows :
S. No. | source | Destination
------ | ----------|------------
1| New York | London
2| playground | home
3| Sweden | Boston
4| School | Home