Likely reverse-engineering the words from a form of pic-to-grid format, if that makes sense?
If it can tell the basic, solid, straight outline of something and construct its connections to a complete "picture" (read: letter), it can then continue on to create a sentence, hence, suss its meaning.
…I assume…
…something like that. Kek.