Spaces:
Runtime error
Runtime error
handle UnboundLocalError in ar_spelling_checker
#4
by
imjunaidafzal
- opened
You forgot to initialize tmp_corrections, when if not word in vocab:
becomes false
, exception occur at line 127:UnboundLocalError: local variable 'tmp_corrections' referenced before assignment
mohamedabdullah
changed pull request status to
merged