One way to solve the WTD problem is to calculate the sum of association scores of pairs among translation of the target word and all its surrounding words' translations, and then select the one with the highest score.
since the different surrounding words have different amounts of influence on the target word, it is necessary to add some weighting factors (e.g., word distance).