An overview of machine translation