uses a baye's network and a dictionary for document classification