Generative and Discriminative Methods for Online Adaptation in SMT