class_docstr: Cohen's d scores
  
  term_scorer = (CohensD(corpus).set_categories('Positive', ['Negative'], ['Plot']))
  
  html = st.produce_frequency_explorer(
      corpus,
      category='Positive',
      not_categories=['Negative'],
      neutral_categories=['Plot'],
      term_scorer=term_scorer,
      metadata=rdf['movie_name'],
      grey_threshold=0,
      show_neutral=True
  )
  file_name = 'rotten_fresh_fre.html'
  open(file_name, 'wb').write(html.encode('utf-8'))
  IFrame(src=file_name, width=1300, height=700)
class_docstr_tok: ["Cohen","'s","d","scores","term_scorer","=","(","CohensD","(","corpus",")",".set_categories","(","'Positive","'",",","[","'Negative","'","]",",","[","'Plot","'","]",")",")","html","=","st.produce_frequency_explorer","(","corpus",",","category='Positive","'",",","not_categories=","[","'Negative","'","]",",","neutral_categories=","[","'Plot","'","]",",","term_scorer=term_scorer",",","metadata=rdf","[","'movie_name","'","]",",","grey_threshold=0",",","show_neutral=True",")","file_name","=","'rotten_fresh_fre.html'","open","(","file_name",",","'wb","'",")",".write","(","html.encode","(","'utf-8","'",")",")","IFrame","(","src=file_name",",","width=1300",",","height=700",")"]
code: def get_name(self):
      return "Cohen's d"
  
file_path: scattertext/scattertext/termscoring/CohensD.py
imports: import numpy
  from scattertext.termscoring.CohensDCalculator import CohensDCalculator
  from scattertext.termscoring.CorpusBasedTermScorer import CorpusBasedTermScorer
label_desc: Use image node_id 4 for calling the CohensD obj's underlying member method code with example usage: obj.get_name() and returns: str