Click4Ai

225.

Medium

Implement a function to calculate the BLEU score between two sentences. **Example:** Given two sentences, calculate the BLEU score. **Constraints:** The sentences will be provided as input.

Test Cases

Test Case 1
Input: 'The cat is on the mat', 'The cat is on the mat'
Expected: 1.0
Test Case 2
Input: 'This is a test sentence', 'This is a test sentence'
Expected: 1.0
+ 3 hidden test cases