Answer:
The total count of unique bi-grams is 18.
Step-by-step explanation:
A bi-gram, also known as a 2-gram, is a sequence of two adjacent elements in a given text. In this case, we are dealing with words as elements. The total count of unique bi-grams can be calculated by considering all possible pairs of adjacent words in the given corpus and then counting the unique combinations.
Let's break down the sentences to find all unique bi-grams:
- Sentence 1: "today is Nayan's birthday" Bi-grams: "today is", "is Nayan's", "Nayan's birthday"
- Sentence 2: "she loves ice cream" Bi-grams: "she loves", "loves ice", "ice cream"
- Sentence 3: "she is also fond of cream cake" Bi-grams: "she is", "is also", "also fond", "fond of", "of cream", "cream cake"
- Sentence 4: "we will celebrate her birthday with ice cream cake" Bi-grams: "we will", "will celebrate", "celebrate her", "her birthday", "birthday with", "with ice", "ice cream", "cream cake"
Now, let's count the unique bi-grams:
- "today is", "is Nayan's", "Nayan's birthday", "she loves", "loves ice", "ice cream", "she is", "is also", "also fond", "fond of", "of cream", "cream cake", "we will", "will celebrate", "celebrate her", "her birthday", "birthday with", "with ice"