{"action":"opened","issue":{"url":"https://api.github.com/repos/sujitpal/mlia-examples/issues/4","labels_url":"https://api.github.com/repos/sujitpal/mlia-examples/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/sujitpal/mlia-examples/issues/4/comments","events_url":"https://api.github.com/repos/sujitpal/mlia-examples/issues/4/events","html_url":"https://github.com/sujitpal/mlia-examples/issues/4","id":93184457,"number":4,"title":"rake example with ntlk 3.0","user":{"login":"jayvdb","id":15092,"avatar_url":"https://avatars.githubusercontent.com/u/15092?v=3","gravatar_id":"","url":"https://api.github.com/users/jayvdb","html_url":"https://github.com/jayvdb","followers_url":"https://api.github.com/users/jayvdb/followers","following_url":"https://api.github.com/users/jayvdb/following{/other_user}","gists_url":"https://api.github.com/users/jayvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/jayvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayvdb/subscriptions","organizations_url":"https://api.github.com/users/jayvdb/orgs","repos_url":"https://api.github.com/users/jayvdb/repos","events_url":"https://api.github.com/users/jayvdb/events{/privacy}","received_events_url":"https://api.github.com/users/jayvdb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-06T04:29:44Z","updated_at":"2015-07-06T04:29:44Z","closed_at":null,"body":"In src/salary_pred/rake_nltk.py, with nltk 3, two lines of the example use .inc which no longer exists, and I believe the following code is needed instead:\r\n\r\nhttps://github.com/sujitpal/mlia-examples/blob/master/src/salary_pred/rake_nltk.py#L44\r\n\r\n```\r\n      for word in phrase:\r\n        word_freq[word] += 1\r\n        word_degree[word] += degree # other words\r\n```"}}