I'm currently working on a multi-label multi-class text classification problem. In some part of the problem I need to give feedback to user that based on which features, words or phrases the algorithm decide to classify an instance to a certain category?
For example for a text like A B C D E F G H I J K L M N O P Q R I need output like this:

How can I consider this problem? what is the name or keywords of this problems? Is there any ready python package for this type of problem?