Get location coordinates using bing or google API in python
问题 Here is my problem. I have a sample text file where I store the text data by crawling various html pages. This text contains information about various events and its time and location. I want to fetch the coordinates of these locations. I have no idea on how I can do that in python. I am using nltk to recognize named entities in this sample text. Here is the code: import nltk with open('sample.txt', 'r') as f: sample = f.read() sentences = nltk.sent_tokenize(sample) tokenized_sentences =