{"action":"created","issue":{"url":"https://api.github.com/repos/nltk/nltk/issues/1228","labels_url":"https://api.github.com/repos/nltk/nltk/issues/1228/labels{/name}","comments_url":"https://api.github.com/repos/nltk/nltk/issues/1228/comments","events_url":"https://api.github.com/repos/nltk/nltk/issues/1228/events","html_url":"https://github.com/nltk/nltk/issues/1228","id":121308979,"number":1228,"title":"vader_lexicon.txt currently not being included in Python egg","user":{"login":"ewan-klein","id":1103150,"avatar_url":"https://avatars.githubusercontent.com/u/1103150?v=3","gravatar_id":"","url":"https://api.github.com/users/ewan-klein","html_url":"https://github.com/ewan-klein","followers_url":"https://api.github.com/users/ewan-klein/followers","following_url":"https://api.github.com/users/ewan-klein/following{/other_user}","gists_url":"https://api.github.com/users/ewan-klein/gists{/gist_id}","starred_url":"https://api.github.com/users/ewan-klein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewan-klein/subscriptions","organizations_url":"https://api.github.com/users/ewan-klein/orgs","repos_url":"https://api.github.com/users/ewan-klein/repos","events_url":"https://api.github.com/users/ewan-klein/events{/privacy}","received_events_url":"https://api.github.com/users/ewan-klein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-09T18:24:52Z","updated_at":"2015-12-09T19:06:38Z","closed_at":null,"body":"At present, the text file `vader_lexicon.txt` doesn't get included in the Python egg built by NLTK's `setup.py`. Making the following change seems to fix the problem:\r\n```\r\n-    package_data = {'nltk': ['test/*.doctest', 'VERSION']},\r\n+    package_data = {'nltk': ['test/*.doctest', 'VERSION', 'sentiment/vader_lexicon.txt']},\r\n```\r\nIs there a better way of dealing with this?\r\n\r\nNB The very specific information inside `vader_lexicon.txt` means that it's not likely to be used by any code other than `vader.py`, which is why it doesn't make a lot of sense to include it in the NLTK data distribution."},"comment":{"url":"https://api.github.com/repos/nltk/nltk/issues/comments/163359557","html_url":"https://github.com/nltk/nltk/issues/1228#issuecomment-163359557","issue_url":"https://api.github.com/repos/nltk/nltk/issues/1228","id":163359557,"user":{"login":"stevenbird","id":55406,"avatar_url":"https://avatars.githubusercontent.com/u/55406?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbird","html_url":"https://github.com/stevenbird","followers_url":"https://api.github.com/users/stevenbird/followers","following_url":"https://api.github.com/users/stevenbird/following{/other_user}","gists_url":"https://api.github.com/users/stevenbird/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbird/subscriptions","organizations_url":"https://api.github.com/users/stevenbird/orgs","repos_url":"https://api.github.com/users/stevenbird/repos","events_url":"https://api.github.com/users/stevenbird/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbird/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T19:06:38Z","updated_at":"2015-12-09T19:06:38Z","body":"Seems ok to me."}}