Choose an appropriate formula for the N-gram LM probability calculation from the options below.
1)
P(yt∣y1,…,yt−1)=N(y1,…,yt−1)N(y1,…,yt−1,yt),
2)
P(wi∣hi)=1/Z(hi)∗exp(j∑λjfj(hiwi))
3)
P(w1,...,wm)=i=1∏mP(wi∣w1,...,wi−1)=i=1∏mP(wi∣wi−(n−1),...,wi−1)