learning how to cap up letters,
No, not learning anything. It's really a specialist type of human fed/curated database with query system.
A lot of supposed Christmas songs and carols don't make much sense anyway. It's going to make less sense mixed through an algorithmic mincer that has no intelligence and few rules of context added.
This sort of thing is hardly new (about 30 years older than the Harry Potter experiment the other week).
It's curious when you analyse the Brilliant Douglas Adams' HHGTTG series that the 1st book (actually the radio play is the best) has most original content, which falls with each book in the series. I mused on this as I read the approximately 60th Chalet School story and considered other series, such as Pern and Dune. Obviously the readers expect the same "world" and kind of stuff to keep going back ...