added many tsn search capability to getsynonyms fxn