class C(chardataeffect.CharDataEffect):
r = ""
#inkex.debug(text+str(line)+str(par))
for c in text:
if c == '.' or c == '!' or c == '?':
elif c == '"' or c == ')':
pass
else:
if not c.isspace():
r = r + c.upper()
r = r + c.lower()
else:
r = r + c
return r
c = C()
c.affect()