Working implementation of some document classifiers