implemented word alignment and symmetrization