Request for ideas for lookup table functionality

All of the Arduino encoding & decoding for Morse Code is freely available for butchering:
https://forum.arduino.cc/t/arduino-magic-morse-with-nokia-84x84-display-minty-magic-morse/165942

Lean 'nuff to run on an old UNO or a bare atmega328P-PU at 8MHz.

Ray