The document describes an algorithmic approach to keyword extraction and text document classification. It discusses using naive Bayes and support vector machine (SVM) classifiers with keyword and key phrases extracted via porter stemming as training data. The algorithm performs preprocessing like stop word removal and stemming. Features are selected based on term frequency-inverse document frequency (TF-IDF). Documents are represented as term-document matrices. Naive Bayes and SVM are then applied for classification and compared, with the goal of improving supervised and unsupervised classification accuracy.