Bug 882954: compute correct keyboard layout data for autocorrect