{"action":"created","issue":{"url":"https://api.github.com/repos/HeidelTime/heideltime/issues/26","labels_url":"https://api.github.com/repos/HeidelTime/heideltime/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/HeidelTime/heideltime/issues/26/comments","events_url":"https://api.github.com/repos/HeidelTime/heideltime/issues/26/events","html_url":"https://github.com/HeidelTime/heideltime/issues/26","id":78634085,"number":26,"title":"StanfordPOSTaggerWrapper model path","user":{"login":"jzell","id":12528451,"avatar_url":"https://avatars.githubusercontent.com/u/12528451?v=3","gravatar_id":"","url":"https://api.github.com/users/jzell","html_url":"https://github.com/jzell","followers_url":"https://api.github.com/users/jzell/followers","following_url":"https://api.github.com/users/jzell/following{/other_user}","gists_url":"https://api.github.com/users/jzell/gists{/gist_id}","starred_url":"https://api.github.com/users/jzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzell/subscriptions","organizations_url":"https://api.github.com/users/jzell/orgs","repos_url":"https://api.github.com/users/jzell/repos","events_url":"https://api.github.com/users/jzell/events{/privacy}","received_events_url":"https://api.github.com/users/jzell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HeidelTime/heideltime/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/HeidelTime/heideltime/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"HeidelTime","id":12529012,"avatar_url":"https://avatars.githubusercontent.com/u/12529012?v=3","gravatar_id":"","url":"https://api.github.com/users/HeidelTime","html_url":"https://github.com/HeidelTime","followers_url":"https://api.github.com/users/HeidelTime/followers","following_url":"https://api.github.com/users/HeidelTime/following{/other_user}","gists_url":"https://api.github.com/users/HeidelTime/gists{/gist_id}","starred_url":"https://api.github.com/users/HeidelTime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeidelTime/subscriptions","organizations_url":"https://api.github.com/users/HeidelTime/orgs","repos_url":"https://api.github.com/users/HeidelTime/repos","events_url":"https://api.github.com/users/HeidelTime/events{/privacy}","received_events_url":"https://api.github.com/users/HeidelTime/received_events","type":"Organization","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-05-20T18:18:56Z","updated_at":"2015-05-30T13:26:20Z","closed_at":"2015-05-30T13:26:20Z","body":"```\nHi,\r\n\r\nThe initialize method of StanfordPOSTaggerWrapper class tests whether the file denoted\nby model_path exists, and then attempts to instantiate a MaxentTagger object with it.\nThe Javadoc for the MaxentTagger constructor says that the modelFile parameter can\nbe interpreted as a URL if it starts with \"https?://\" or can be loaded directly from\nthe classpath as in \"com/example/models/model.tagger\".\r\n\r\nI put my model file in my project's classpath (and I configured my config.props according\nto this resource path). Heidel Time fails because of the check of the pathname's existence.\nIf I remove this check, it works like a charm.\r\n\r\nIt would be nice to reflect the MaxentTagger specification in StanfordPOSTaggerWrapper.\nI think StanfordPOSTaggerWrapper should only check that model_path is not null, and\nshould leave the responsibility of the other checks to MaxentTagger. What do you think?\r\n\r\nThank you for this great library and the work you have done so far!\n```\n\nOriginal issue reported on code.google.com by `pascalgill3t` on 2015-01-17 13:56:49"},"comment":{"url":"https://api.github.com/repos/HeidelTime/heideltime/issues/comments/107040540","html_url":"https://github.com/HeidelTime/heideltime/issues/26#issuecomment-107040540","issue_url":"https://api.github.com/repos/HeidelTime/heideltime/issues/26","id":107040540,"user":{"login":"jzell","id":12528451,"avatar_url":"https://avatars.githubusercontent.com/u/12528451?v=3","gravatar_id":"","url":"https://api.github.com/users/jzell","html_url":"https://github.com/jzell","followers_url":"https://api.github.com/users/jzell/followers","following_url":"https://api.github.com/users/jzell/following{/other_user}","gists_url":"https://api.github.com/users/jzell/gists{/gist_id}","starred_url":"https://api.github.com/users/jzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzell/subscriptions","organizations_url":"https://api.github.com/users/jzell/orgs","repos_url":"https://api.github.com/users/jzell/repos","events_url":"https://api.github.com/users/jzell/events{/privacy}","received_events_url":"https://api.github.com/users/jzell/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T13:26:20Z","updated_at":"2015-05-30T13:26:20Z","body":"imported issue, closing."}}