I'm trying to code a text. I created the code and I put the code to each individual unique character in the text. My map now looks like this:
{{"l", {1, 0}}, {"a", {1, 1}}, {"j", {0, 1, 0}}, {"u", {0, 1, 1}}, {"e", {0, 0}}}
How do I take these code words and apply them to a text, then put the final text in the output? Example with this map:
text="lea"
Output: {100011}