{"action":"opened","issue":{"url":"https://api.github.com/repos/quanteda/quanteda/issues/1377","repository_url":"https://api.github.com/repos/quanteda/quanteda","labels_url":"https://api.github.com/repos/quanteda/quanteda/issues/1377/labels{/name}","comments_url":"https://api.github.com/repos/quanteda/quanteda/issues/1377/comments","events_url":"https://api.github.com/repos/quanteda/quanteda/issues/1377/events","html_url":"https://github.com/quanteda/quanteda/issues/1377","id":330938377,"node_id":"MDU6SXNzdWUzMzA5MzgzNzc=","number":1377,"title":"Convert a new corpus to a given dfm matrix?","user":{"login":"xinbinhuang","id":27927454,"node_id":"MDQ6VXNlcjI3OTI3NDU0","avatar_url":"https://avatars1.githubusercontent.com/u/27927454?v=4","gravatar_id":"","url":"https://api.github.com/users/xinbinhuang","html_url":"https://github.com/xinbinhuang","followers_url":"https://api.github.com/users/xinbinhuang/followers","following_url":"https://api.github.com/users/xinbinhuang/following{/other_user}","gists_url":"https://api.github.com/users/xinbinhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/xinbinhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinbinhuang/subscriptions","organizations_url":"https://api.github.com/users/xinbinhuang/orgs","repos_url":"https://api.github.com/users/xinbinhuang/repos","events_url":"https://api.github.com/users/xinbinhuang/events{/privacy}","received_events_url":"https://api.github.com/users/xinbinhuang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-10T04:02:15Z","updated_at":"2018-06-10T04:02:15Z","closed_at":null,"author_association":"NONE","body":"I am doing topic modeling with the package `topicmodels`. So I new to split the data into train set and test set. I wonder is it possible to transform the test data into a predefined `dfm` object (generated by the training data). \r\n\r\nThanks"}}
{"actor":{"display_login":"xinbinhuang"}}