diff --git a/chapter4/searchengine.py b/chapter4/searchengine.py index b88a018..1b99b62 100755 --- a/chapter4/searchengine.py +++ b/chapter4/searchengine.py @@ -80,7 +80,7 @@ def isindexed(self,url): # Add a link between two pages def addlinkref(self,urlFrom,urlTo,linkText): - words=self.separateWords(linkText) + words=self.separatewords(linkText) fromid=self.getentryid('urllist','url',urlFrom) toid=self.getentryid('urllist','url',urlTo) if fromid==toid: return