Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/338.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 使用Geography检索美国地区时出现问题3_Python_Geolocation_Geograpy - Fatal编程技术网

Python 使用Geography检索美国地区时出现问题3

Python 使用Geography检索美国地区时出现问题3,python,geolocation,geograpy,Python,Geolocation,Geograpy,使用Geography3(): 有我需要下载的软件包或数据集吗?我是作为Geography 3的提交人回答的。有一个新的定位器接口,旨在改进消歧和定位。它还没有完全集成到自然语言处理部分-问题和拉请求是受欢迎的 def testStackOverflow64418919(自): ''' https://stackoverflow.com/questions/64418919/problem-retrieving-region-in-us-with-geograpy3 ''' 示例=['西雅图']

使用Geography3():


有我需要下载的软件包或数据集吗?

我是作为Geography 3的提交人回答的。有一个新的定位器接口,旨在改进消歧和定位。它还没有完全集成到自然语言处理部分-问题和拉请求是受欢迎的

def testStackOverflow64418919(自):
'''
https://stackoverflow.com/questions/64418919/problem-retrieving-region-in-us-with-geograpy3
'''
示例=['西雅图']
例如,在示例中:
city=geography.locateCity(示例,debug=False)
印刷品(城市)
结果:

Seattle (US-WA(Washington) - US(United States))

我是作为地理学的提交人回答的。有一个新的定位器接口,旨在改进消歧和定位。它还没有完全集成到自然语言处理部分-问题和拉请求是受欢迎的

def testStackOverflow64418919(自):
'''
https://stackoverflow.com/questions/64418919/problem-retrieving-region-in-us-with-geograpy3
'''
示例=['西雅图']
例如,在示例中:
city=geography.locateCity(示例,debug=False)
印刷品(城市)
结果:

Seattle (US-WA(Washington) - US(United States))