Given a phrase vector representation p and nonterminal X semantic vector v x , Cosine Similarity (CS) is computed as: We set α for the Cosine Similarity between the glue rule and its corresponding phrase as follows: As for Euclidean Distance (ED), it is computed according to the following formula: and similarly we set β for glue rules: We incorporate the proposed model as a new feature into the hierarchical phrase-based translation system.
two features are added into the baseline system: 1.