Optimizing synonym extraction using monlingual and bilingual