{"action":"created","issue":{"url":"https://api.github.com/repos/kzhai/InfVocLDA/issues/3","labels_url":"https://api.github.com/repos/kzhai/InfVocLDA/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/kzhai/InfVocLDA/issues/3/comments","events_url":"https://api.github.com/repos/kzhai/InfVocLDA/issues/3/events","html_url":"https://github.com/kzhai/InfVocLDA/issues/3","id":107263500,"number":3,"title":"launch issues","user":{"login":"DmitryKey","id":123553,"avatar_url":"https://avatars.githubusercontent.com/u/123553?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryKey","html_url":"https://github.com/DmitryKey","followers_url":"https://api.github.com/users/DmitryKey/followers","following_url":"https://api.github.com/users/DmitryKey/following{/other_user}","gists_url":"https://api.github.com/users/DmitryKey/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryKey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryKey/subscriptions","organizations_url":"https://api.github.com/users/DmitryKey/orgs","repos_url":"https://api.github.com/users/DmitryKey/repos","events_url":"https://api.github.com/users/DmitryKey/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryKey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-18T19:31:29Z","updated_at":"2015-09-28T18:15:13Z","closed_at":null,"body":"Hi,\r\nWhat are the recommended python and nltk versions to run this project?\r\n\r\nAt first, python complained about missing GoodTuringProbDist. I provided SimpleGoodTuringProbDist.\r\n\r\nNow getting:\r\n\r\n```\r\npython launch.py --input_directory=../../input/ --output_directory=../../output/ --corpus_name=de-news --truncation_level=4000 --number_of_topics=10 --number_of_documents=9800 --vocab_prune_interval=10 --batch_size=100 --alpha_beta=1000\r\n========== ========== ========== ========== ==========\r\noutput_directory=../../output/de-news/15Sep18-223048-D9800-K10-T4000-P10-I10-B100-O98-t64-k0.75-at0.1-ab1000/\r\ninput_directory=../../input/de-news\r\ncorpus_name=de-news\r\ndictionary_file=None\r\nnumber_of_documents=9800\r\nnumber_of_topics=10\r\ntruncation_level=4000\r\nvocab_prune_interval=10\r\nsnapshot_interval=10\r\nbatch_size=100\r\nonline_iterations=98\r\ntau=64.0\r\nkappa=0.75\r\nalpha_theta=0.1\r\nalpha_beta=1000.0\r\n========== ========== ========== ========== ==========\r\nsuccessfully load all training documents...\r\nTraceback (most recent call last):\r\n  File \"launch.py\", line 248, in <module>\r\n    main()\r\n  File \"launch.py\", line 189, in main\r\n    import hybrid;\r\n  File \"/home/dmitry/projects/github/topics/InfVocLDA/src/infvoc/hybrid.py\", line 13, in <module>\r\n    import nchar;\r\n  File \"/home/dmitry/projects/github/topics/InfVocLDA/src/infvoc/nchar.py\", line 13, in <module>\r\n    from nltk.util import ingrams\r\nImportError: cannot import name ingrams\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kzhai/InfVocLDA/issues/comments/143832107","html_url":"https://github.com/kzhai/InfVocLDA/issues/3#issuecomment-143832107","issue_url":"https://api.github.com/repos/kzhai/InfVocLDA/issues/3","id":143832107,"user":{"login":"kzhai","id":599366,"avatar_url":"https://avatars.githubusercontent.com/u/599366?v=3","gravatar_id":"","url":"https://api.github.com/users/kzhai","html_url":"https://github.com/kzhai","followers_url":"https://api.github.com/users/kzhai/followers","following_url":"https://api.github.com/users/kzhai/following{/other_user}","gists_url":"https://api.github.com/users/kzhai/gists{/gist_id}","starred_url":"https://api.github.com/users/kzhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzhai/subscriptions","organizations_url":"https://api.github.com/users/kzhai/orgs","repos_url":"https://api.github.com/users/kzhai/repos","events_url":"https://api.github.com/users/kzhai/events{/privacy}","received_events_url":"https://api.github.com/users/kzhai/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T18:15:13Z","updated_at":"2015-09-28T18:15:13Z","body":"I think I have replicate the errors. The problem is due to a major refactoring change in NLTK from 2.0 to 3.0, so many classes and modules are missing. I am still look into the problem.\r\nAs a work around, I have comment out the n-gram character model, you should be able to run it now.\r\nAlso, keep in mind, I am planning to do a structural refactor on this repo very soon.\r\n\r\nBest,\r\nKe"}}