added CCB's script to get the best translation of a sentence