It is not really learning the language, think of it has having such a good memory he can keep and process (to formulate strategies over the board) hundreds of thousands of strings, he might or not keep metadata on the strings but what matters is knowing they can be played.