Happy 8th birthday to the Maveryx Community! Take a walk down memory lane in our birthday blog, and don't miss out on the awesome birthday present that all Maveryx Community members get to take advantage of!
Nice approach. I like the idea of removing all the punctuation for this problem. What would happen if there was punctuation in one of the strings, i.e, "Mary, the dog enthusiast, had a little lamb!". This could alter the structure of the sentence if you just removed all the punctuation though. I think the idea is to just target the quotes at the start and the end of the string.
Also, on your last part of your solution (you used int64) for the poemID datatype. You'd be better off using int16 as it wouldn't use as much memory space. Int16 will store numbers between these values:-32,768 to 32,767 and the poem IDs are definitely between these values