N-Gram Precision Score for Text Generation Evaluation - Coding problem | OneNoughtOne