Generalized vector space model