susanli2016 / NLP-with-Python

Scikit-Learn, NLTK, Spacy, Gensim, Textblob and more
2.74k stars 2.02k forks source link

A typo in figuring out max_length of reviews, just before padding. #18

Open lastmaj opened 4 years ago

lastmaj commented 4 years ago

When we are trying to figure out the max length of the reviews;
"len(min((X_train + X_test), key=len)))) instead of "len(min((X_test + X_test), key=len))))"