Transforming early modern English into 20th century spelling using the NLTK?

Ethrema() is not a method of the type str you have to use the following.

Ethrema() is not a method of the type str, you have to use the following : eth1 = ethrema(w) for w in text #AND eth2 = ethremb(w) for w in text EDIT (to answer comment) : ethremb(ethrema(word)) wouldn't work until you made some little changes to your functions : def ethrema(word): if word. Endswith('th'): return word:-2 + 's' else return word def ethremb(word): if word. Endswith('es'): return word:-2 + 's' else return word #OR def ethrema(word): if word.

Endswith('th'): return word:-2 + 's' elif word. Endswith('es'): return word:-2 + 's' else return word.

1 Great. What about doing something like ethremb(ethrema(word))? – magnetar Aug 28 '10 at 17:25.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions