{"action":"created","issue":{"url":"https://api.github.com/repos/johnmyleswhite/TextAnalysis.jl/issues/46","repository_url":"https://api.github.com/repos/johnmyleswhite/TextAnalysis.jl","labels_url":"https://api.github.com/repos/johnmyleswhite/TextAnalysis.jl/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/johnmyleswhite/TextAnalysis.jl/issues/46/comments","events_url":"https://api.github.com/repos/johnmyleswhite/TextAnalysis.jl/issues/46/events","html_url":"https://github.com/johnmyleswhite/TextAnalysis.jl/issues/46","id":182300908,"number":46,"title":"Problem creating a Corpus","user":{"login":"rogerwhitney","id":874486,"avatar_url":"https://avatars.githubusercontent.com/u/874486?v=3","gravatar_id":"","url":"https://api.github.com/users/rogerwhitney","html_url":"https://github.com/rogerwhitney","followers_url":"https://api.github.com/users/rogerwhitney/followers","following_url":"https://api.github.com/users/rogerwhitney/following{/other_user}","gists_url":"https://api.github.com/users/rogerwhitney/gists{/gist_id}","starred_url":"https://api.github.com/users/rogerwhitney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogerwhitney/subscriptions","organizations_url":"https://api.github.com/users/rogerwhitney/orgs","repos_url":"https://api.github.com/users/rogerwhitney/repos","events_url":"https://api.github.com/users/rogerwhitney/events{/privacy}","received_events_url":"https://api.github.com/users/rogerwhitney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-11T15:45:29Z","updated_at":"2016-10-11T17:44:11Z","closed_at":null,"body":"I am still a bit new to Julia so perhaps I am missing something basic here. When I try to create a Corpus following the example in the documentation (after correcting for the change in syntax) using:\r\n\r\nCorpus([StringDocument(\"Document 1\"), StringDocument(\"Document 2\")])\r\n\r\nI get the error:\r\n\r\nMethodError: Cannot `convert` an object of type Array{TextAnalysis.StringDocument,1} to an object of type TextAnalysis.Corpus\r\n\r\nI am using Julia 0.5 and the latest tag version of TextAnalysis"},"comment":{"url":"https://api.github.com/repos/johnmyleswhite/TextAnalysis.jl/issues/comments/252990706","html_url":"https://github.com/johnmyleswhite/TextAnalysis.jl/issues/46#issuecomment-252990706","issue_url":"https://api.github.com/repos/johnmyleswhite/TextAnalysis.jl/issues/46","id":252990706,"user":{"login":"aviks","id":378918,"avatar_url":"https://avatars.githubusercontent.com/u/378918?v=3","gravatar_id":"","url":"https://api.github.com/users/aviks","html_url":"https://github.com/aviks","followers_url":"https://api.github.com/users/aviks/followers","following_url":"https://api.github.com/users/aviks/following{/other_user}","gists_url":"https://api.github.com/users/aviks/gists{/gist_id}","starred_url":"https://api.github.com/users/aviks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviks/subscriptions","organizations_url":"https://api.github.com/users/aviks/orgs","repos_url":"https://api.github.com/users/aviks/repos","events_url":"https://api.github.com/users/aviks/events{/privacy}","received_events_url":"https://api.github.com/users/aviks/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T17:44:10Z","updated_at":"2016-10-11T17:44:10Z","body":"Yes, actually, the way you wrote the code originally should be possible, needs an additional constructor.  I'll fix this soon, but for now you have the correct workaround. "}}
{"actor":{"display_login":"aviks"}}