I\'m trying to write a script in Python using nltk which changes a sentence from second person to first person. Example: the sentence
I went to see Avatar and yo
Um, not sure about using a built in function, but you can try .replace()
.replace()
For example:
.replace("I","You")
would change every "I" in the string to "You"