Remove em-dashes and en-dashes and replace them with appropriate punctuation using natural language understanding