<record>
<header>
<identifier>oai:CiteSeerX.psu:10.1.1.1.1484</identifier>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [28]: paste | |
def count(c = []): | |
c.append(len(c)) | |
return c | |
## -- End pasted text -- | |
In [29]: count() | |
Out[29]: [0] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- Use the text in VOA.txt for building LM
- Build a dictionary of ngrams and ngram counts (n = 1, 2) (split by newline, lowercase )
- Compute Nr for 1gram and 2gram
- Compute (r, r*), for 1gram and 2gram (k=10)
- Compute the normalization factor N / (N + k Nk)
- Good-Turing Estimation of P(w) and P(w’|w)
- Compute probability P(w1, w2, .., wn) of sentences (w1, w2, .., wn) on the course webpage
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.