Python Rule Based Machine Translation