{"action":"opened","issue":{"url":"https://api.github.com/repos/hankcs/LDA4j/issues/2","labels_url":"https://api.github.com/repos/hankcs/LDA4j/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hankcs/LDA4j/issues/2/comments","events_url":"https://api.github.com/repos/hankcs/LDA4j/issues/2/events","html_url":"https://github.com/hankcs/LDA4j/issues/2","id":119181916,"number":2,"title":"有相关的api文档吗，如何获得新文档的主题分布？","user":{"login":"haowuseu","id":5171664,"avatar_url":"https://avatars.githubusercontent.com/u/5171664?v=3","gravatar_id":"","url":"https://api.github.com/users/haowuseu","html_url":"https://github.com/haowuseu","followers_url":"https://api.github.com/users/haowuseu/followers","following_url":"https://api.github.com/users/haowuseu/following{/other_user}","gists_url":"https://api.github.com/users/haowuseu/gists{/gist_id}","starred_url":"https://api.github.com/users/haowuseu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haowuseu/subscriptions","organizations_url":"https://api.github.com/users/haowuseu/orgs","repos_url":"https://api.github.com/users/haowuseu/repos","events_url":"https://api.github.com/users/haowuseu/events{/privacy}","received_events_url":"https://api.github.com/users/haowuseu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-27T11:36:23Z","updated_at":"2015-11-27T11:36:23Z","closed_at":null,"body":"有相关的api文档吗，请问如何获得新文档的主题分布？\r\n  int[] document = Corpus.loadDocument(\"data/mini/军事_510.txt\", corpus.getVocabulary());\r\n        double[] tp = LdaGibbsSampler.inference(phi, document);\r\n        Map<String, Double> topic = LdaUtil.translate(tp, phi, corpus.getVocabulary(), 100);\r\n        LdaUtil.explain(topic);"}}