TheDataLeek/Python-LSA

Cannot import cvs files correctly

Opened this issue · 3 comments

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].

That's my bad, I mis-typed a function call in there. Will post fix momentarily....

K, problem solved. Please test and report back. If it works I'll close this issue.

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