Bigram Example

The Berkeley Restaurant Project is a defunct experiment in designing a speech recognition system.

Bigram Occurrence Counts
  Iwanttoeatchinesefoodlunchspend
I 5827090002
want 2060816651
to 204686206211
eat 0020162420
chinese 100008210
food 1501501400
lunch 20000100
spend 10100000

Bigram Occurrence Probabilities
  Iwanttoeatchinesefoodlunchspend...Other words...  Total  
I 5/2533827/25330/25339/25330/25330/25330/25332/2533...  1  
want 2/9270/927608/9271/9276/9276/9275/9271/927...  1  
to 2/24170/24174/2417686/24172/24170/24176/2417211/2417...  1  
eat 0/7460/7462/7460/74616/7462/74642/7460/746...  1  
chinese 1/1580/1580/1580/1580/15882/1581/1580/158...  1  
food 15/10930/109315/10930/10931/10934/10930/10930/1093...  1  
lunch 2/34310/34310/34310/34310/34311/34310/34310/3431...  1  
spend 1/2780/2781/2780/2780/2780/2780/2780/278...  1  
:
Other words
:
::::::::...  :  
  proportion of time each word appears second in all bigrams sums up to ⇒  1