ushahidi / geograpy

Extract countries, regions and cities from a URL or text
219 stars 133 forks source link

Way to Reset the initial Place Context #7

Open ramannanda9 opened 8 years ago

ramannanda9 commented 8 years ago

Hi,

Ideally I would like if we could reset the place context. It is not being reset. So, let' say I initialize it with Afghanistan and then on next iteration add Libya. It will still display Afghanistan in country_mentions. It should be reset.

WolfgangFahl commented 3 years ago

You might want to start with a new Extraction each time or go thru geography call directly. you might want to use the more recent https://github.com/somnathrakshit/geograpy3