I am very new to R.
I want to check a particular sentence has a location name or not. For example
sentence <- " I am travelling to Tulsa"
.
How should i write a code so that the program can understand that the sentence contains a world called "Tulsa" and which is a location. Should i build a manual dictionary containing the required locations?
Please guide me.