{"action":"created","issue":{"url":"https://api.github.com/repos/explosion/spaCy/issues/1737","repository_url":"https://api.github.com/repos/explosion/spaCy","labels_url":"https://api.github.com/repos/explosion/spaCy/issues/1737/labels{/name}","comments_url":"https://api.github.com/repos/explosion/spaCy/issues/1737/comments","events_url":"https://api.github.com/repos/explosion/spaCy/issues/1737/events","html_url":"https://github.com/explosion/spaCy/issues/1737","id":282857867,"number":1737,"title":"unable load new language in spacy after installed te model and set up shortcut link to load installed package as \"te\"","user":{"login":"mdp0999","id":26684241,"avatar_url":"https://avatars2.githubusercontent.com/u/26684241?v=4","gravatar_id":"","url":"https://api.github.com/users/mdp0999","html_url":"https://github.com/mdp0999","followers_url":"https://api.github.com/users/mdp0999/followers","following_url":"https://api.github.com/users/mdp0999/following{/other_user}","gists_url":"https://api.github.com/users/mdp0999/gists{/gist_id}","starred_url":"https://api.github.com/users/mdp0999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdp0999/subscriptions","organizations_url":"https://api.github.com/users/mdp0999/orgs","repos_url":"https://api.github.com/users/mdp0999/repos","events_url":"https://api.github.com/users/mdp0999/events{/privacy}","received_events_url":"https://api.github.com/users/mdp0999/received_events","type":"User","site_admin":false},"labels":[{"id":710446668,"url":"https://api.github.com/repos/explosion/spaCy/labels/training","name":"training","color":"087EA6","default":false},{"id":111380490,"url":"https://api.github.com/repos/explosion/spaCy/labels/usage","name":"usage","color":"087EA6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-12-18T12:11:04Z","updated_at":"2018-05-08T02:54:57Z","closed_at":"2018-01-14T14:15:23Z","author_association":"NONE","body":"Hi,\r\n     I created telugu model after that I installed te_model-0.0.0.tar.gz via pip and set up shortcut link to load installed package as \"te\"....it created successfully and after that link created and it shows message \"spacy.load(\"te\")\".........everything is fine but when i tried to execute the line nlp = spacy.load(\"te\").......it gives following error:\r\n\r\n>>> nlp = spacy.load('te')\r\n\r\nTraceback (most recent call last):\r\n  File \"<pyshell#5>\", line 1, in <module>\r\n    nlp = spacy.load('te')\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/__init__.py\", line 19, in load\r\n    return util.load_model(name, **overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 112, in load_model\r\n    return load_model_from_link(name, **overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 131, in load_model_from_link\r\n    return cls.load(**overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/data/te/__init__.py\", line 12, in load\r\n    return load_model_from_init_py(__file__, **overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 176, in load_model_from_init_py\r\n    return load_model_from_path(data_path, meta, **overrides)\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 145, in load_model_from_path\r\n    cls = get_lang_class(meta['lang'])\r\n  File \"/usr/local/lib/python2.7/dist-packages/spacy/util.py\", line 52, in get_lang_class\r\n    raise ImportError(msg % lang)\r\nImportError: Can't import language te from spacy.lang.\r\n\r\n\r\nI am little confused to solve this error because everything is fine. Please help me to solve this error."},"comment":{"url":"https://api.github.com/repos/explosion/spaCy/issues/comments/387268689","html_url":"https://github.com/explosion/spaCy/issues/1737#issuecomment-387268689","issue_url":"https://api.github.com/repos/explosion/spaCy/issues/1737","id":387268689,"user":{"login":"lock[bot]","id":33595554,"avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-05-08T02:54:57Z","updated_at":"2018-05-08T02:54:57Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}