some changes in python synonymiser