if you learn something parrot-fashion, you are able to repeat the words, but you do not understand their meaning
Usage notes: A parrot is a bird that can repeat words and noises it has just heard.
When I went to Sunday school, we had to recite passages from the Bible parrot-fashion.