Cannot import cvs files correctly
Opened this issue · 3 comments
duisburgfrikandel commented
When trying to execute the script with the converted jeopardy csv file and the -lsa parameter I always get the following Error Message:
The following runtime type errors were encountered:
Argument 'lines' was not of type <class 'list'>. Actual type was typing.List[str].
TheDataLeek commented
That's my bad, I mis-typed a function call in there. Will post fix momentarily....
TheDataLeek commented
K, problem solved. Please test and report back. If it works I'll close this issue.
duisburgfrikandel commented
This works fine but, but after entering a word query the following error occurs:
clean_text([input('Enter the query: ')], tokenizer, stemmer)[0].split(' ')
TypeError: clean_text() takes 1 positional argument but 3 were given