Hi

I have set of data for unigrams, bigrams and trigrams. For each one, i just have a column of numbers followed by a list of words.

for example, for unigrams, the data is:

2 assign
18 assigned
1 assigning
2 assignment
1 assignments
3 assigns
2 assimilation
30 assist
52 assistance

etc.....

and for bigrams, the data is:

1 aboriginal or
2 aboriginal organizations
32 aboriginal people
65 aboriginal peoples
1 aboriginal persons
2 aboriginal right
21 aboriginal rights
7 aboriginal self
1 aboriginal senators

etc..

How do i calculate the Unigram, Bigram and Trigram Probabilities??

Thanks