Preprocessing
Integrate the query preprocessing
Vector space
NaiveBayes classification
Database operations