I'm trying to work on a Naive Bayes text classifier. I have already created a bag of words approach in code. In my documents I have noticed many features that are unique to certain classifications. Examples of these features include whether or not the document contains a location , date or name. These are all Boolean values and could be determined before the text is classified. There are other features such as what is the first word etc.
I understand the basic Naive Bayes approach. But have failed to find information on incorporating these features within a classifier.
My question is if it is possible to include the features I mentioned above with bag of words? If so is there an example of this, that I could follow. If this is not the case what would you recommend?
Thank You