Very interesting! Just a heads up the if you enter a single letter (e.g. I typed in 'q' thinking that would exit the prompt) they Tokenizer.tokenize will return a query = [ ] which will cause an exception as the code will attempt to call Shell.do_q (or whatever letter you entered).
2
u/m3m3t Sep 12 '20
Very interesting! Just a heads up the if you enter a single letter (e.g. I typed in 'q' thinking that would exit the prompt) they Tokenizer.tokenize will return a query = [ ] which will cause an exception as the code will attempt to call Shell.do_q (or whatever letter you entered).