From 21cd1dc29acb7c8644bded5d6c086ccc115d7ddc Mon Sep 17 00:00:00 2001 From: Victor Salgado <1109234+mcsalgado@users.noreply.github.com> Date: Mon, 23 Jul 2018 16:39:01 -0300 Subject: [PATCH] fix typo --- py/ngrams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/ngrams.py b/py/ngrams.py index 6f03378..6b04c29 100644 --- a/py/ngrams.py +++ b/py/ngrams.py @@ -157,7 +157,7 @@ P3l = Pdist(datafile('count_3l.txt')) P2l = Pdist(datafile('count_2l.txt')) ## We'll need it later def hillclimb(x, f, neighbors, steps=10000): - "Search for an x that miximizes f(x), considering neighbors(x)." + "Search for an x that maximizes f(x), considering neighbors(x)." fx = f(x) neighborhood = iter(neighbors(x)) for i in range(steps):