NLTK Documentation
Installation
More
Replaces the old prefix of the original string by a new suffix
original – string
old – string
new – string
string
Replaces the old suffix of the original string by a new suffix