We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0cb2bf commit e4bc956Copy full SHA for e4bc956
text.py
@@ -1,12 +1,9 @@
1
-"""Statistical Language Processing tools. (Chapter 23)
+"""Statistical Language Processing tools. (Chapter 22)
2
We define Unigram and Ngram text models, use them to generate random text,
3
and show the Viterbi algorithm for segmentatioon of letters into words.
4
Then we show a very simple Information Retrieval system, and an example
5
working on a tiny sample of Unix manual pages."""
6
7
-# (Written for the second edition of AIMA; expect some discrepanciecs
8
-# from the third edition until this gets reviewed.)
9
-
10
from utils import *
11
from math import log, exp
12
import heapq, re, search
0 commit comments