Questions tagged [geograpy]

For question about geograpy - a python library that extracts place names from a URL or text, and adds context to those names: for example, distinguishing between a country, region or city.

see also https://stackoverflow.com/questions/tagged/geotext for an alternative python library

Links

pypi

20 questions
1
vote
2 answers

Unable to extract city names from a text using geograpy(Python)

I am using Python geograpy library to extract city names from a text Here is my code:- import geograpy text='I live in Kadawatha' places = geograpy.get_place_context(text=text) print(places.country_cities) OUTPUT:- { } When I extract city names…
1
vote
1 answer

Problems installing geograpy with Anaconda Prompt

I am trying to use the geograpy module through the Anaconda Prompt. When I run pip install geograpy I get this warning that terminates the installation newspaper3k is in my AppData/Local/Continuum/Anaconda3/Lib/site-packages folder after I…
1
vote
2 answers

Anaconda and geograpy

First of all, I'm a really newbie to python and anaconda, so please take this under consideration when replying my question :). I have a Jupyter notebook and I would like to use geograpy library there. But I have no idea how to install it into…
PastorPL
  • 968
  • 3
  • 17
  • 36
1
vote
1 answer

Python Geograpy unable to run demo

I am trying to run python's geograpy https://pypi.python.org/pypi/geograpy. I installed geography using both pip install geograpy and python setup.py install I also made sure all the nltk's were installed properly. I installed any dependencies…
user7138786
0
votes
1 answer

Not only extracting places from a text but also other names in geograpy(Python)

I am trying to extract only the City names from a text so I am using geograpy library with python but in the output, some other names have been extracted. Here is my code: from geograpy.extraction import Extractor text6 = u"""Some text...""" e6 =…
1
2