I'm not sure if I'm missing something obvious here but does this do what you want?
with open('outputfile5.txt') as input, open('result.txt', 'w') as output:
for line in input:
output.write(''.join([c for c in line if not c.isdigit()]))
result.txt:
അവന് --> രാമന്
അവള്ക്ക് --> സീതയെ
അവള് --> അവള്ക്ക് --> സീതയെ
അത് --> പൂവ്
അവര് --> സീതയെ , രാമന്
അവിടെ --> കോട്ടയത്ത്
അവര്ക്ക് --> സീതയെ , രാമന്
അവിടെ --> അവിടെ --> കോട്ടയത്ത്
അവന് --> രാമന്
അവനെ --> ലക്ഷ്മണന്
അവള്ക്ക് --> സീതയെ
ഈ --> വഴ
അവര് --> സീതയെ , ലക്ഷ്മണന്
അവിടെ --> കോട്ടയം