Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'list' object is not callable #2

Open
azir99 opened this issue Jul 27, 2020 · 0 comments
Open

'list' object is not callable #2

azir99 opened this issue Jul 27, 2020 · 0 comments

Comments

@azir99
Copy link

azir99 commented Jul 27, 2020

While reading the lines from the corpus of and saving it to this variables hindi and english.
And passing this variables to the preprocess method. The issue arises that is "list object is not callable" the error arises
in tokenize.py at line line 376, in read_or_stop
return readline()
Even if i pass direct path to the preprocess method that is helper.load(pathtocorpus)
It still gives the same error but this time it says "str object is not callable"
Can you help guide me to solve this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant