{"action":"created","issue":{"url":"https://api.github.com/repos/opencog/link-grammar/issues/404","repository_url":"https://api.github.com/repos/opencog/link-grammar","labels_url":"https://api.github.com/repos/opencog/link-grammar/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/opencog/link-grammar/issues/404/comments","events_url":"https://api.github.com/repos/opencog/link-grammar/issues/404/events","html_url":"https://github.com/opencog/link-grammar/issues/404","id":177549121,"number":404,"title":"spell-guessing mis-handles capitalized words","user":{"login":"linas","id":94368,"avatar_url":"https://avatars.githubusercontent.com/u/94368?v=3","gravatar_id":"","url":"https://api.github.com/users/linas","html_url":"https://github.com/linas","followers_url":"https://api.github.com/users/linas/followers","following_url":"https://api.github.com/users/linas/following{/other_user}","gists_url":"https://api.github.com/users/linas/gists{/gist_id}","starred_url":"https://api.github.com/users/linas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linas/subscriptions","organizations_url":"https://api.github.com/users/linas/orgs","repos_url":"https://api.github.com/users/linas/repos","events_url":"https://api.github.com/users/linas/events{/privacy}","received_events_url":"https://api.github.com/users/linas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-17T01:44:25Z","updated_at":"2016-09-26T23:20:15Z","closed_at":null,"body":"Even with spell-guessing enabled, the sentence \" Therefo, I declare I love Computer Science\" is not fixed.  However, the lower-case version of this works fine.  I suggest that spell-guessing should down-case words before trying to correct them.  (for aspell, I did not attempt Hunspell)"},"comment":{"url":"https://api.github.com/repos/opencog/link-grammar/issues/comments/249725638","html_url":"https://github.com/opencog/link-grammar/issues/404#issuecomment-249725638","issue_url":"https://api.github.com/repos/opencog/link-grammar/issues/404","id":249725638,"user":{"login":"linas","id":94368,"avatar_url":"https://avatars.githubusercontent.com/u/94368?v=3","gravatar_id":"","url":"https://api.github.com/users/linas","html_url":"https://github.com/linas","followers_url":"https://api.github.com/users/linas/followers","following_url":"https://api.github.com/users/linas/following{/other_user}","gists_url":"https://api.github.com/users/linas/gists{/gist_id}","starred_url":"https://api.github.com/users/linas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linas/subscriptions","organizations_url":"https://api.github.com/users/linas/orgs","repos_url":"https://api.github.com/users/linas/repos","events_url":"https://api.github.com/users/linas/events{/privacy}","received_events_url":"https://api.github.com/users/linas/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T23:20:15Z","updated_at":"2016-09-26T23:20:15Z","body":"Hmm. \r\n\r\nIf a word is capitalized and unknown, we should spell-guess the lower-case version.\r\nIf a word ends with an s and is unknown,  we should spell-guess it.\r\n\r\nIn other cases, we should not do so?\r\n\r\nThe point is, I don't want to run roman numerals through the spell-guesser, since I already think I know what they are.\r\n\r\nMaybe in some ideal world, we should allow the dictionary to contain something like\r\n```\r\nfoo: BAr+ or <spell-guess>;\r\n```\r\nand even assign costs:\r\n```\r\nfoo: BAr+ or [<spell-guess>]3.14159;\r\n```\r\nso that the BAr+ connector gets priority, else the spell-cheeked version.  .. Something like that.  This would allow common typos to be automaitcally handled: e.g.\r\n```\r\nthere: ... or [[<spell-guess>]];\r\n```\r\nwhich would add their, they're as possibilities, but at a large cost."}}
{"actor":{"display_login":"linas"}}