{"action":"created","issue":{"url":"https://api.github.com/repos/elyase/geotext/issues/1","repository_url":"https://api.github.com/repos/elyase/geotext","labels_url":"https://api.github.com/repos/elyase/geotext/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/elyase/geotext/issues/1/comments","events_url":"https://api.github.com/repos/elyase/geotext/issues/1/events","html_url":"https://github.com/elyase/geotext/issues/1","id":155005827,"number":1,"title":"Not able to derive city names using Geotext library","user":{"login":"AninditaBhowmik","id":19387206,"avatar_url":"https://avatars.githubusercontent.com/u/19387206?v=3","gravatar_id":"","url":"https://api.github.com/users/AninditaBhowmik","html_url":"https://github.com/AninditaBhowmik","followers_url":"https://api.github.com/users/AninditaBhowmik/followers","following_url":"https://api.github.com/users/AninditaBhowmik/following{/other_user}","gists_url":"https://api.github.com/users/AninditaBhowmik/gists{/gist_id}","starred_url":"https://api.github.com/users/AninditaBhowmik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AninditaBhowmik/subscriptions","organizations_url":"https://api.github.com/users/AninditaBhowmik/orgs","repos_url":"https://api.github.com/users/AninditaBhowmik/repos","events_url":"https://api.github.com/users/AninditaBhowmik/events{/privacy}","received_events_url":"https://api.github.com/users/AninditaBhowmik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-16T10:52:47Z","updated_at":"2016-12-27T01:01:34Z","closed_at":null,"body":"Hi,\n\nI have texts extracted from certain contexts of files like:\n\n'.  Education  :  05/2012  DePaul  University  Graduate  School  Master  of  Science  in  E-Commerce  Technology  Morgan in  E-Commerce  Technology  Morgan  State  University  05/88  BS  in  Computer  Science  Technical  Training  or  Certifications '\n\n'Information  Technology  Southern  New  Hampshire  University  Expected  2015  Associate  of  Arts  ,  Graphic  Design  Penn'\n\nThese contain the name of some university along with some city names like 'Morgan city' in the first sentence and 'New Hampshire' in the second sentence. I am using the code mentioned below to extract the city names from the text using the 'geotext' python library:\n\n```\nfrom geotext import geotext\nplaces = GeoText(sent1) -- or sent2\n        print(places.cities)\n```\n\nI had used `pip install geotext` for the installation on Python 3 Anaconda 3.0 in Windows 7.\nThe output I am getting is ['University'] and ['University', 'University']. These are clearly not city names.\n\nI would like to mention that the post installation I have had some 'expecting bytes not strings' errors and 'cannot find name GeoText' errors which I corrected manually. \n\nI changed the import statement in init.py to contain geotext instead of GeoText and\nI changed the string to string.encode() for the byte array errors.\n"},"comment":{"url":"https://api.github.com/repos/elyase/geotext/issues/comments/269253312","html_url":"https://github.com/elyase/geotext/issues/1#issuecomment-269253312","issue_url":"https://api.github.com/repos/elyase/geotext/issues/1","id":269253312,"user":{"login":"elyase","id":1175888,"avatar_url":"https://avatars.githubusercontent.com/u/1175888?v=3","gravatar_id":"","url":"https://api.github.com/users/elyase","html_url":"https://github.com/elyase","followers_url":"https://api.github.com/users/elyase/followers","following_url":"https://api.github.com/users/elyase/following{/other_user}","gists_url":"https://api.github.com/users/elyase/gists{/gist_id}","starred_url":"https://api.github.com/users/elyase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyase/subscriptions","organizations_url":"https://api.github.com/users/elyase/orgs","repos_url":"https://api.github.com/users/elyase/repos","events_url":"https://api.github.com/users/elyase/events{/privacy}","received_events_url":"https://api.github.com/users/elyase/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T01:01:34Z","updated_at":"2016-12-27T01:01:34Z","body":"Hi Benjamin, I will take a look when I come back from holidays. Right now my internet is somewhat limited. Thanks a lot!"}}
{"actor":{"display_login":"elyase"}}