{"action":"created","issue":{"url":"https://api.github.com/repos/chrisport/go-lang-detector/issues/1","labels_url":"https://api.github.com/repos/chrisport/go-lang-detector/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/chrisport/go-lang-detector/issues/1/comments","events_url":"https://api.github.com/repos/chrisport/go-lang-detector/issues/1/events","html_url":"https://github.com/chrisport/go-lang-detector/issues/1","id":69246643,"number":1,"title":"A few questions","user":{"login":"cgilling","id":5093184,"avatar_url":"https://avatars.githubusercontent.com/u/5093184?v=3","gravatar_id":"","url":"https://api.github.com/users/cgilling","html_url":"https://github.com/cgilling","followers_url":"https://api.github.com/users/cgilling/followers","following_url":"https://api.github.com/users/cgilling/following{/other_user}","gists_url":"https://api.github.com/users/cgilling/gists{/gist_id}","starred_url":"https://api.github.com/users/cgilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgilling/subscriptions","organizations_url":"https://api.github.com/users/cgilling/orgs","repos_url":"https://api.github.com/users/cgilling/repos","events_url":"https://api.github.com/users/cgilling/events{/privacy}","received_events_url":"https://api.github.com/users/cgilling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-18T00:28:49Z","updated_at":"2015-04-18T06:17:49Z","closed_at":null,"body":"Hi,\r\n\r\nJust had a few questions I was hoping you could answer:\r\n\r\n1. What languages are supported by default?\r\n2. Have you run comparisons against other open source language detectors to see how much different the results are?\r\n3. Have you benchmarked the performance of this against other open source language detectors in terms of speed?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/chrisport/go-lang-detector/issues/comments/94133457","html_url":"https://github.com/chrisport/go-lang-detector/issues/1#issuecomment-94133457","issue_url":"https://api.github.com/repos/chrisport/go-lang-detector/issues/1","id":94133457,"user":{"login":"chrisport","id":6203829,"avatar_url":"https://avatars.githubusercontent.com/u/6203829?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisport","html_url":"https://github.com/chrisport","followers_url":"https://api.github.com/users/chrisport/followers","following_url":"https://api.github.com/users/chrisport/following{/other_user}","gists_url":"https://api.github.com/users/chrisport/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisport/subscriptions","organizations_url":"https://api.github.com/users/chrisport/orgs","repos_url":"https://api.github.com/users/chrisport/repos","events_url":"https://api.github.com/users/chrisport/events{/privacy}","received_events_url":"https://api.github.com/users/chrisport/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T06:17:48Z","updated_at":"2015-04-18T06:17:48Z","body":"Hi cgilling,\r\n\r\n1. The default language file includes Arabic, English, French, German, Hebrew, Russian and Turkish.\r\n\r\n2./3. I did some comparisons, but since I didn't document them I cannot make a profound statement now, so here just what I remember, nothing granted, no numbers:\r\n\r\nWith the default-level of 70% I had comparable results with https://github.com/pebbe/textcat.\r\nPerformance-wise textcat was slightly faster. You can adjust confidence-level of the Detector easily, higher means less false-positive, but more false-negative, lower means other way round.\r\n\r\nIf you need higher performance you can decrease nDepth-level, but it will decrease accuracy (though not drastically). nDepth = 1 means basically comparing letter frequency. The default-languages must be recreated in this case with same nDepth.\r\n\r\nFurther experience: We were using https://github.com/pebbe/libtextcat in a project, but had problems if the text is mixed (2 or more languages). With go-lang-detector I experienced better results on the same dataset.\r\n\r\nIf you are interested in creating a comparison, I will happily contribute."}}