Skip to content

Commit e4bc956

Browse files
committed
Separate some more nonrandom tests from the random.
1 parent c0cb2bf commit e4bc956

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

text.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
"""Statistical Language Processing tools. (Chapter 23)
1+
"""Statistical Language Processing tools. (Chapter 22)
22
We define Unigram and Ngram text models, use them to generate random text,
33
and show the Viterbi algorithm for segmentatioon of letters into words.
44
Then we show a very simple Information Retrieval system, and an example
55
working on a tiny sample of Unix manual pages."""
66

7-
# (Written for the second edition of AIMA; expect some discrepanciecs
8-
# from the third edition until this gets reviewed.)
9-
107
from utils import *
118
from math import log, exp
129
import heapq, re, search

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy