Implementation of IBM models 1 and 2 for machine translation.