Efficient Handling of N-gram Language Models for Statistical Machine Translation