{"action":"created","issue":{"url":"https://api.github.com/repos/alliedmodders/amxmodx/issues/386","repository_url":"https://api.github.com/repos/alliedmodders/amxmodx","labels_url":"https://api.github.com/repos/alliedmodders/amxmodx/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/alliedmodders/amxmodx/issues/386/comments","events_url":"https://api.github.com/repos/alliedmodders/amxmodx/issues/386/events","html_url":"https://github.com/alliedmodders/amxmodx/pull/386","id":175731725,"number":386,"title":"add levenshtein distance","user":{"login":"alldroll","id":2814993,"avatar_url":"https://avatars.githubusercontent.com/u/2814993?v=3","gravatar_id":"","url":"https://api.github.com/users/alldroll","html_url":"https://github.com/alldroll","followers_url":"https://api.github.com/users/alldroll/followers","following_url":"https://api.github.com/users/alldroll/following{/other_user}","gists_url":"https://api.github.com/users/alldroll/gists{/gist_id}","starred_url":"https://api.github.com/users/alldroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alldroll/subscriptions","organizations_url":"https://api.github.com/users/alldroll/orgs","repos_url":"https://api.github.com/users/alldroll/repos","events_url":"https://api.github.com/users/alldroll/events{/privacy}","received_events_url":"https://api.github.com/users/alldroll/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-08T11:39:40Z","updated_at":"2016-09-08T18:28:44Z","closed_at":"2016-09-08T12:34:08Z","pull_request":{"url":"https://api.github.com/repos/alliedmodders/amxmodx/pulls/386","html_url":"https://github.com/alliedmodders/amxmodx/pull/386","diff_url":"https://github.com/alliedmodders/amxmodx/pull/386.diff","patch_url":"https://github.com/alliedmodders/amxmodx/pull/386.patch"},"body":"The games are place where developer has deal with natural language. It would be nice to have tools for processing it. In this PR was implemented algorithm `Levenshtein distance`\r\n with memory usage `O(min(n, m)`) and time complexy `O(mn)`. \r\nThere is list of tools which i am going to implement (If natural language processing tools are welcomed):\r\n* `Soundex`\r\n* `Metaphone`\r\n* Improve Levenshtein distance (`Damerau–Levenshtein distance`)\r\n* `Prefix tree (trie)`\r\n"},"comment":{"url":"https://api.github.com/repos/alliedmodders/amxmodx/issues/comments/245693328","html_url":"https://github.com/alliedmodders/amxmodx/pull/386#issuecomment-245693328","issue_url":"https://api.github.com/repos/alliedmodders/amxmodx/issues/386","id":245693328,"user":{"login":"IgnacioFDM","id":12388603,"avatar_url":"https://avatars.githubusercontent.com/u/12388603?v=3","gravatar_id":"","url":"https://api.github.com/users/IgnacioFDM","html_url":"https://github.com/IgnacioFDM","followers_url":"https://api.github.com/users/IgnacioFDM/followers","following_url":"https://api.github.com/users/IgnacioFDM/following{/other_user}","gists_url":"https://api.github.com/users/IgnacioFDM/gists{/gist_id}","starred_url":"https://api.github.com/users/IgnacioFDM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgnacioFDM/subscriptions","organizations_url":"https://api.github.com/users/IgnacioFDM/orgs","repos_url":"https://api.github.com/users/IgnacioFDM/repos","events_url":"https://api.github.com/users/IgnacioFDM/events{/privacy}","received_events_url":"https://api.github.com/users/IgnacioFDM/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T18:28:44Z","updated_at":"2016-09-08T18:28:44Z","body":"I think this could be a nice feature\r\n\r\nImagine the following\r\n\r\n```amx_kick arksihne```\r\n\r\n```Did you mean \"amx_kick Arkshine\"? ```\r\n```Type \"amx_kick %\" to confirm```\r\n\r\n```amx_kick %```\r\n```Arkshine was kicked from the server```"}}
{"actor":{"display_login":"IgnacioFDM"}}