Generalized Context Model