added finding similar doc samples, added translate function to vocab