A python implementation of the neural network joint language model and an extension of it using global source context.