class_docstr: Defines the mixin for text explanations.
class_docstr_tok: ["Defines","the","mixin","for","text","explanations","."]
docstr: Feature names sorted by importance.
  
  This property exists for text explanations only and not for local because currently
  we are doing text explanations for a single document and it is more difficult to
  define order for multiple instances.  Note this is subject to change if we eventually
  add global explanations for text explainers.
  
  :return: The feature names sorted by importance.
  :rtype: list
docstr_tok: ["Feature","names","sorted","by","importance",".","This","property","exists","for","text","explanations","only","and","not","for","local","because","currently","we","are","doing","text","explanations","for","a","single","document","and","it","is","more","difficult","to","define","order","for","multiple","instances",".","Note","this","is","subject","to","change","if","we","eventually","add","global","explanations","for","text","explainers",".",":","return",":","The","feature","names","sorted","by","importance",".",":","rtype",":","list"]
code: def local_importance_rank(self):
      """Feature names sorted by importance.
  
      This property exists for text explanations only and not for local because currently
      we are doing text explanations for a single document and it is more difficult to
      define order for multiple instances.  Note this is subject to change if we eventually
      add global explanations for text explainers.
  
      :return: The feature names sorted by importance.
      :rtype: list
      """
      return self._local_importance_rank.tolist()
  
file_path: interpret-text/python/interpret_text/experimental/explanation.py
imports: import numpy
  import uuid
  from interpret_community.common.explanation_utils import _sort_values, _order_imp
  from interpret_community.common.constants import Dynamic, ExplanationParams, ExplainParams
  from interpret_community.explanation.explanation import LocalExplanation, ExpectedValuesMixin, ClassesMixin
label_desc: Use image node_id 3 for calling the TextExplanation obj's underlying member method code with example usage: obj.local_importance_rank() and returns: self