We then assume that the words in the name are independent of one another given their label.
we get the following equation: Here w(i) is the ith word from n assigned the label l in l and N (l) is a random variable whose value is the number of words in the name with label l. To put this slightly differently, we first guess the number of words with each label l according to the distribution p(N (l) = n(l)).