hse-aml / natural-language-processing

Resources for "Natural Language Processing" Coursera course.

Home Page:https://www.coursera.org/learn/language-processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Week 1: Traceback & Name Error

ashraf21c opened this issue · comments

Hello, this piece of code returns aftermentioned errors:

print(test_text_prepare())

`---------------------------------------------------------------------------
NameError Traceback (most recent call last)
in ()
----> 1 print(test_text_prepare())

in test_text_prepare()
5 "free c++ memory vectorint arr"]
6 for ex, ans in zip(examples, answers):
----> 7 if text_prepare(ex) != ans:
8 return "Wrong answer for the case: '%s'" % ex
9 return 'Basic tests are passed.'

NameError: name 'text_prepare' is not defined`

This problem was automatically solved after solving issue no.91.
Link: #91