{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll/classifier-reborn/issues/51","labels_url":"https://api.github.com/repos/jekyll/classifier-reborn/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/classifier-reborn/issues/51/comments","events_url":"https://api.github.com/repos/jekyll/classifier-reborn/issues/51/events","html_url":"https://github.com/jekyll/classifier-reborn/issues/51","id":111835356,"number":51,"title":"Changing language and auto_categorize attributes","user":{"login":"jcomello","id":2027411,"avatar_url":"https://avatars.githubusercontent.com/u/2027411?v=3","gravatar_id":"","url":"https://api.github.com/users/jcomello","html_url":"https://github.com/jcomello","followers_url":"https://api.github.com/users/jcomello/followers","following_url":"https://api.github.com/users/jcomello/following{/other_user}","gists_url":"https://api.github.com/users/jcomello/gists{/gist_id}","starred_url":"https://api.github.com/users/jcomello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcomello/subscriptions","organizations_url":"https://api.github.com/users/jcomello/orgs","repos_url":"https://api.github.com/users/jcomello/repos","events_url":"https://api.github.com/users/jcomello/events{/privacy}","received_events_url":"https://api.github.com/users/jcomello/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekyll/classifier-reborn/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-16T13:47:34Z","updated_at":"2015-10-20T11:27:56Z","closed_at":null,"body":"I have to use the portuguese stopwords at bayes classifier but the initialize method is fixed for english, the auto_categorize has the same issue.\r\n\r\n```ruby\r\ndef initialize(*args)\r\n      @categories = Hash.new\r\n      options = { language: 'en', auto_categorize: false }\r\n      ...\r\nend\r\n```\r\nI search at the gem and I didn't find a setter. There is another way?"},"comment":{"url":"https://api.github.com/repos/jekyll/classifier-reborn/issues/comments/149532703","html_url":"https://github.com/jekyll/classifier-reborn/issues/51#issuecomment-149532703","issue_url":"https://api.github.com/repos/jekyll/classifier-reborn/issues/51","id":149532703,"user":{"login":"jcomello","id":2027411,"avatar_url":"https://avatars.githubusercontent.com/u/2027411?v=3","gravatar_id":"","url":"https://api.github.com/users/jcomello","html_url":"https://github.com/jcomello","followers_url":"https://api.github.com/users/jcomello/followers","following_url":"https://api.github.com/users/jcomello/following{/other_user}","gists_url":"https://api.github.com/users/jcomello/gists{/gist_id}","starred_url":"https://api.github.com/users/jcomello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcomello/subscriptions","organizations_url":"https://api.github.com/users/jcomello/orgs","repos_url":"https://api.github.com/users/jcomello/repos","events_url":"https://api.github.com/users/jcomello/events{/privacy}","received_events_url":"https://api.github.com/users/jcomello/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T11:27:56Z","updated_at":"2015-10-20T11:27:56Z","body":"@MadBomber I figure it out. I just added a new test and attr_reader for language and auto_categorize. I think this is useful."}}