deep-learning-with-python-notebooks
deep-learning-with-python-notebooks copied to clipboard
Redundant lines
You already called the standardize() function in the tokenize() function.
def tokenize(self, text):
text = self.standardize(text)
return text.split()
Is it necessary to call it again before the tokenize() function call on the following lines?
https://github.com/fchollet/deep-learning-with-python-notebooks/blob/80410086921aa47b1478b9b84f9e155e019bda6d/chapter11_part01_introduction.ipynb?short_path=3ef20b7#L97
https://github.com/fchollet/deep-learning-with-python-notebooks/blob/80410086921aa47b1478b9b84f9e155e019bda6d/chapter11_part01_introduction.ipynb?short_path=3ef20b7#L106
Thank you so much!