cdec: A Decoder, Alignment, and Learning Framework for Finite-State and Context-Free Translation Models