{"action":"created","issue":{"url":"https://api.github.com/repos/kbenoit/quanteda/issues/188","repository_url":"https://api.github.com/repos/kbenoit/quanteda","labels_url":"https://api.github.com/repos/kbenoit/quanteda/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/kbenoit/quanteda/issues/188/comments","events_url":"https://api.github.com/repos/kbenoit/quanteda/issues/188/events","html_url":"https://github.com/kbenoit/quanteda/issues/188","id":157557996,"number":188,"title":"Multi-word entries in dictionary appear to be ignored","user":{"login":"pablobarbera","id":828570,"avatar_url":"https://avatars.githubusercontent.com/u/828570?v=3","gravatar_id":"","url":"https://api.github.com/users/pablobarbera","html_url":"https://github.com/pablobarbera","followers_url":"https://api.github.com/users/pablobarbera/followers","following_url":"https://api.github.com/users/pablobarbera/following{/other_user}","gists_url":"https://api.github.com/users/pablobarbera/gists{/gist_id}","starred_url":"https://api.github.com/users/pablobarbera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablobarbera/subscriptions","organizations_url":"https://api.github.com/users/pablobarbera/orgs","repos_url":"https://api.github.com/users/pablobarbera/repos","events_url":"https://api.github.com/users/pablobarbera/events{/privacy}","received_events_url":"https://api.github.com/users/pablobarbera/received_events","type":"User","site_admin":false},"labels":[{"id":11645692,"url":"https://api.github.com/repos/kbenoit/quanteda/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":466209768,"url":"https://api.github.com/repos/kbenoit/quanteda/labels/hashing","name":"hashing","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"kbenoit","id":2182246,"avatar_url":"https://avatars.githubusercontent.com/u/2182246?v=3","gravatar_id":"","url":"https://api.github.com/users/kbenoit","html_url":"https://github.com/kbenoit","followers_url":"https://api.github.com/users/kbenoit/followers","following_url":"https://api.github.com/users/kbenoit/following{/other_user}","gists_url":"https://api.github.com/users/kbenoit/gists{/gist_id}","starred_url":"https://api.github.com/users/kbenoit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbenoit/subscriptions","organizations_url":"https://api.github.com/users/kbenoit/orgs","repos_url":"https://api.github.com/users/kbenoit/repos","events_url":"https://api.github.com/users/kbenoit/events{/privacy}","received_events_url":"https://api.github.com/users/kbenoit/received_events","type":"User","site_admin":false},"assignees":[{"login":"kbenoit","id":2182246,"avatar_url":"https://avatars.githubusercontent.com/u/2182246?v=3","gravatar_id":"","url":"https://api.github.com/users/kbenoit","html_url":"https://github.com/kbenoit","followers_url":"https://api.github.com/users/kbenoit/followers","following_url":"https://api.github.com/users/kbenoit/following{/other_user}","gists_url":"https://api.github.com/users/kbenoit/gists{/gist_id}","starred_url":"https://api.github.com/users/kbenoit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbenoit/subscriptions","organizations_url":"https://api.github.com/users/kbenoit/orgs","repos_url":"https://api.github.com/users/kbenoit/repos","events_url":"https://api.github.com/users/kbenoit/events{/privacy}","received_events_url":"https://api.github.com/users/kbenoit/received_events","type":"User","site_admin":false},{"login":"koheiw","id":6572963,"avatar_url":"https://avatars.githubusercontent.com/u/6572963?v=3","gravatar_id":"","url":"https://api.github.com/users/koheiw","html_url":"https://github.com/koheiw","followers_url":"https://api.github.com/users/koheiw/followers","following_url":"https://api.github.com/users/koheiw/following{/other_user}","gists_url":"https://api.github.com/users/koheiw/gists{/gist_id}","starred_url":"https://api.github.com/users/koheiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koheiw/subscriptions","organizations_url":"https://api.github.com/users/koheiw/orgs","repos_url":"https://api.github.com/users/koheiw/repos","events_url":"https://api.github.com/users/koheiw/events{/privacy}","received_events_url":"https://api.github.com/users/koheiw/received_events","type":"User","site_admin":false}],"milestone":null,"comments":23,"created_at":"2016-05-30T21:23:01Z","updated_at":"2016-11-11T16:44:36Z","closed_at":null,"body":"The following code is a simplified version of the example in quanteda::dictionary\n\n``` r\nmycorpus <- subset(inaugCorpus, Year>1900)\nmydict <- dictionary(list(country = \"united states\"))\nsum(dfm(mycorpus, dictionary = mydict)[,\"country\"])\n```\n\nAnother example:\n\n``` r\nmycorpus <- corpus(\"this should work\")\nmydict <- dictionary(list(example = \"should work\"))\nsum(dfm(mycorpus, dictionary = mydict)[,\"example\"])\n```\n\nTrying with \"_\" as concatenator:\n\n``` r\nmycorpus <- corpus(\"this should work\")\nmydict <- dictionary(list(example = \"should_work\"), concatenator=\"_\")\nsum(dfm(mycorpus, dictionary = mydict)[,\"example\"])\n```\n\nAm I missing something? This came up as I was trying to use quanteda with Lexicoder, which has multi-word entries in the dictionary. I'm running quanteda 0.9.6-9\n\n┆Issue is synchronized with this [Asana task](https://app.asana.com/0/9231340245136/156067376936362)\n"},"comment":{"url":"https://api.github.com/repos/kbenoit/quanteda/issues/comments/259999521","html_url":"https://github.com/kbenoit/quanteda/issues/188#issuecomment-259999521","issue_url":"https://api.github.com/repos/kbenoit/quanteda/issues/188","id":259999521,"user":{"login":"koheiw","id":6572963,"avatar_url":"https://avatars.githubusercontent.com/u/6572963?v=3","gravatar_id":"","url":"https://api.github.com/users/koheiw","html_url":"https://github.com/koheiw","followers_url":"https://api.github.com/users/koheiw/followers","following_url":"https://api.github.com/users/koheiw/following{/other_user}","gists_url":"https://api.github.com/users/koheiw/gists{/gist_id}","starred_url":"https://api.github.com/users/koheiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koheiw/subscriptions","organizations_url":"https://api.github.com/users/koheiw/orgs","repos_url":"https://api.github.com/users/koheiw/repos","events_url":"https://api.github.com/users/koheiw/events{/privacy}","received_events_url":"https://api.github.com/users/koheiw/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T16:44:36Z","updated_at":"2016-11-11T16:44:36Z","body":"This time lag is the issue, I know you are a busy man, but I am working on different issues/features. This makes my branches obsolete and incompatible with each other.  "}}
{"actor":{"display_login":"koheiw"}}