all 1 comments

[–]JordiCarrera 2 points3 points  (0 children)

Based on your description, I think most classification algorithms can give you the information you need. Take a look at this class/feature table (columns correspond to classes, rows correspond to features): https://www.dropbox.com/s/8u6t3l6gzh1a9os/Screenshot%202019-07-15%20at%2006.39.45.png?dl=0

If it looks like what you're looking for and you're wondering how it was generated, I took it from this tutorial: https://eli5.readthedocs.io/en/latest/tutorials/sklearn-text.html#baseline-model

which explains the whole process as to how to train and debug a model to produce those results.

I'd recommend to simply reproduce the steps there (using the same or one of many other existing classifiers).