Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you handle missing characters #3

Open
iandoug opened this issue Jul 10, 2016 · 6 comments
Open

How do you handle missing characters #3

iandoug opened this issue Jul 10, 2016 · 6 comments

Comments

@iandoug
Copy link
Contributor

iandoug commented Jul 10, 2016

Hi

Just wondering how your program handles characters not on the keyboard ... for example I tested a layout with perl and PHP code, but the keyboard layout I set up didn't have any brackets (or even < and > ) and it got the high score. Was this because you simply assigned a zero to the missing keys?

FWIW my layout only managed to beat AZERTY on your inputs, but not the rest....

(Can't load the brackets because keyboard physical layout is non-standard).

Thanks, Ian

@patorjk
Copy link
Owner

patorjk commented Jul 11, 2016

Hi Ian,

The app will ignore characters that aren't mapped on the keyboard. If you open up the JavaScript console (Ctrl+Shift+i), you'll see a list of warnings for keys that weren't processed. At one point I think I was putting this on the result page, but at some point I must have taken it out.

  • Pat

@iandoug
Copy link
Contributor Author

iandoug commented Jul 11, 2016

Mmm. I was also missing the minus sign. Alice uses it a lot. When I added it in, my score dropped... tried many different places, but could not get back to score on keyboard where it is missing.
So that's a puzzle for me... :-)

@HughP
Copy link

HughP commented May 20, 2018

I noticed that Andreas the programmer at http://adnw.de has an penalty score option in his optimizer for characters that are not mapped to the keyboard. Presumably the author of a text would still find an input method for a special character and copy/paste it into their text. The penalty score should cover that use case.

@iandoug
Copy link
Contributor Author

iandoug commented May 21, 2018

In the time since then (and in all the testing I've done) I've put in checks along the way that complain when a character is not found... which leads to either fixing the text to replace the input with something typeable, or fixing the layout (it it's reasonably obvious where a missing glyph could/should be) or in extreme cases, removing the layout from the test suite.

@HughP , you sorted out your African layouts yet? I've gained a whack of experience in optimising layouts since 2016.... :-)

@HughP
Copy link

HughP commented May 21, 2018

@iandoug I'm finishing up that project this summer. Starting now. I was trying to get this repo to work locally but I wasn't able to something with the grunt command would work. I've never used it before, so I'm pretty new to grunt. I was also looking at getting AdNW's optimizer up and working because it can do a third shift state. But if you have any pointers I am all ears. we could even Skype if you want. http://hughandbecky.us/Hugh-CV

@iandoug
Copy link
Contributor Author

iandoug commented May 21, 2018

@HughP : See email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants