{"action":"created","issue":{"url":"https://api.github.com/repos/liblouis/liblouis/issues/210","repository_url":"https://api.github.com/repos/liblouis/liblouis","labels_url":"https://api.github.com/repos/liblouis/liblouis/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/liblouis/liblouis/issues/210/comments","events_url":"https://api.github.com/repos/liblouis/liblouis/issues/210/events","html_url":"https://github.com/liblouis/liblouis/issues/210","id":182690925,"number":210,"title":"Don't output \"\\xxx/\" when backtranslating undefined patterns","user":{"login":"jcsteh","id":4166475,"avatar_url":"https://avatars.githubusercontent.com/u/4166475?v=3","gravatar_id":"","url":"https://api.github.com/users/jcsteh","html_url":"https://github.com/jcsteh","followers_url":"https://api.github.com/users/jcsteh/followers","following_url":"https://api.github.com/users/jcsteh/following{/other_user}","gists_url":"https://api.github.com/users/jcsteh/gists{/gist_id}","starred_url":"https://api.github.com/users/jcsteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcsteh/subscriptions","organizations_url":"https://api.github.com/users/jcsteh/orgs","repos_url":"https://api.github.com/users/jcsteh/repos","events_url":"https://api.github.com/users/jcsteh/events{/privacy}","received_events_url":"https://api.github.com/users/jcsteh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-13T04:04:36Z","updated_at":"2016-10-18T13:06:34Z","closed_at":null,"body":"TL;DR: Disable (or provide a way to disable) the behaviour in `undefinedDots` in `lou_backTranslate.c`.\r\n\r\nWhen backtranslating uncontracted braille for NVDA, we want to output characters as soon as they are produced. Similarly, when backtranslating contracted braille, we want to be able to provide a \"guess\" to the user of the characters they typed. To do these things, we need liblouis to produce no text when indicators (which don't produce a character by themselves) are not followed by another cell. This works already for indicators liblouis knows about such as capital sign, number sign, etc., but it does not work for indicators which are not (and cannot be) specifically defined as indicators. For example, dots 4 5 6 alone produces the text \"\\456/\".\r\n\r\nThis seems to be intentional. `undefinedDots` in `lou_backTranslate.c` outputs the dots in this format for undefined dots.\r\n\r\n1. Is this behaviour useful at all? I guess it makes it clear that some dots weren't translatable, but given the use cases for backtranslation, I don't see why a user would find this useful. If it isn't useful, we could just remove this behaviour.\r\n2. Otherwise, we could put it behind a mode flag; e.g. noBackUndefined.\r\n\r\nSee also [this mailing list thread](https://www.freelists.org/post/liblouis-liblouisxml/ueb-backtranslation-numbers,2)."},"comment":{"url":"https://api.github.com/repos/liblouis/liblouis/issues/comments/254501364","html_url":"https://github.com/liblouis/liblouis/issues/210#issuecomment-254501364","issue_url":"https://api.github.com/repos/liblouis/liblouis/issues/210","id":254501364,"user":{"login":"MikeGray-APH","id":10440512,"avatar_url":"https://avatars.githubusercontent.com/u/10440512?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeGray-APH","html_url":"https://github.com/MikeGray-APH","followers_url":"https://api.github.com/users/MikeGray-APH/followers","following_url":"https://api.github.com/users/MikeGray-APH/following{/other_user}","gists_url":"https://api.github.com/users/MikeGray-APH/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeGray-APH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeGray-APH/subscriptions","organizations_url":"https://api.github.com/users/MikeGray-APH/orgs","repos_url":"https://api.github.com/users/MikeGray-APH/repos","events_url":"https://api.github.com/users/MikeGray-APH/events{/privacy}","received_events_url":"https://api.github.com/users/MikeGray-APH/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T13:06:34Z","updated_at":"2016-10-18T13:06:34Z","body":"Originally undefined dots produced an error and translation stopped.  We here changed that as to because then there was no way for users of applications that use LibLouis, like BrailleBlaster we are using, to know what the problem was or that there was a problem at all."}}
{"actor":{"display_login":"MikeGray-APH"}}