Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is the steps to calculate the BLEU score. Please help me understand how to do step 1 count for an n-gram as shown in
This is the steps to calculate the BLEU score. Please help me understand how to do step 1 count for an n-gram as shown in the picture! I understand what max ref count (just taking max value of the recurrences of the n-gram) is but I have no idea what the difference between count and max ref count is. Please provide details using examples from the table. For example, why does the n-gram "of" have 0 count?
Thank you! Your explanation will be highly appreciated and rated positively!
calculated. We have three human reference translation and a machine- translated candidate Candidate 1: It is a guide to action which ensures that the military always obeys the commands of the party. Reference 1: It is a guide to action that ensures that the military will forever heed Party commands. Reference 2: It is the guiding principle which guarantees the military forces always being under the command of the Party. Reference 3: It is the practical guide for the army always to heed the directions of the party. We first calculate Count clip for any n-gram using the following steps Step1: Count the maximum number of times a candidate n-gram occurs in any single reference translation; this is referred to as Count. Step 2: For each reference sentence, count the number of times a candidate n-gram occurs. As we have three reference translations, we calculate, Ref 1 count, Ref2 count, and Ref 3 count. Step 3: Take the maximum number of n-grams occurrences in any reference count. Also known as Max Ref Count. Count Clip Count Candidate Count It Refl Ref2 Ref3 Max Ref Count Count Count Count 1 1 1 1 1 1 is 1 1 1 1 1 1 1 1 0 0 1 1 guide 1 1 0 1 1 1 to 1 1 0 1 1 1 action 1 1 0 0 1 1 which 1 0 1 0 1 1 ensures 1 1 1 0 0 1 1 that N N 0 0 0 2 2 2 the 3 1 4 4 4 3 military 1 1 1 0 1 1 always 1 0 1 1 1 1 obeys 0 0 0 0 0 0 commands 1 1 0 0 1 1 1 of 0 0 1 1 1 1 0 party 1 0 0 1 1 1 1 1 18 17 Clip Count for unigram calculated. We have three human reference translation and a machine- translated candidate Candidate 1: It is a guide to action which ensures that the military always obeys the commands of the party. Reference 1: It is a guide to action that ensures that the military will forever heed Party commands. Reference 2: It is the guiding principle which guarantees the military forces always being under the command of the Party. Reference 3: It is the practical guide for the army always to heed the directions of the party. We first calculate Count clip for any n-gram using the following steps Step1: Count the maximum number of times a candidate n-gram occurs in any single reference translation; this is referred to as Count. Step 2: For each reference sentence, count the number of times a candidate n-gram occurs. As we have three reference translations, we calculate, Ref 1 count, Ref2 count, and Ref 3 count. Step 3: Take the maximum number of n-grams occurrences in any reference count. Also known as Max Ref Count. Count Clip Count Candidate Count It Refl Ref2 Ref3 Max Ref Count Count Count Count 1 1 1 1 1 1 is 1 1 1 1 1 1 1 1 0 0 1 1 guide 1 1 0 1 1 1 to 1 1 0 1 1 1 action 1 1 0 0 1 1 which 1 0 1 0 1 1 ensures 1 1 1 0 0 1 1 that N N 0 0 0 2 2 2 the 3 1 4 4 4 3 military 1 1 1 0 1 1 always 1 0 1 1 1 1 obeys 0 0 0 0 0 0 commands 1 1 0 0 1 1 1 of 0 0 1 1 1 1 0 party 1 0 0 1 1 1 1 1 18 17 Clip Count for unigramStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started