Skip to content

Commit cbfcd7b

Browse files
committed
remove legacy nltk vars
1 parent 719e408 commit cbfcd7b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ from PIL import Image
153153
from PIL import ImageFilter
154154
from StringIO import StringIO
155155
156-
_ALL_WORDS = words.words() # we'll use it later don't worry
157-
158-
159156
def process_image(url):
160157
image = _get_image(url)
161158
image.filter(ImageFilter.SHARPEN)
@@ -181,10 +178,6 @@ import pytesseract
181178
from PIL import Image
182179
from StringIO import StringIO
183180

184-
185-
_ALL_WORDS = words.words() # we use this later
186-
187-
188181
def get_image(url):
189182
return Image.open(StringIO(requests.get(url).content))
190183

0 commit comments

Comments
 (0)