Grade 2 Braille is the contracted form used in real books and signage, where common words and letter groups become single cells. This encoder applies the most frequent contractions and then maps the remaining letters to Unicode Braille cells.
How it works
The text is processed word by word. Whole-word contractions are checked first:
the → ⠮ and → ⠯ for → ⠿ of → ⠷ with → ⠾
in → ⠔ was → ⠴ but → ⠃ can → ⠉
A word that matches a contraction becomes its single cell. Otherwise each letter
is looked up in the standard Braille alphabet, where every cell is the base
character U+2800 plus the dots for that letter (for example a = dot 1 = ⠁,
b = dots 1-2 = ⠃). Spaces are preserved and unmapped characters pass through.
Example and tips
“the cat” becomes ⠮ ⠉⠁⠞ — the single contraction cell for “the”, a space, then
c-a-t spelled out. Because this applies only the common contractions, it is ideal
for learning the most-used signs and for quick mock-ups, but a full transcription
of a book needs a complete UEB engine that also handles number signs, capital
indicators, and the many contextual rules this tool does not implement.