practical-machine-learning-with-python
practical-machine-learning-with-python copied to clipboard
Very minor bug in contractions with "ain't"
The word ain't produces "as not" because expand_contractions has the following code:
expanded_contraction = first_char + expanded_contraction[1:]
Ain't does not fit this general rule