docstr: Return dictionary in which the key is a type of clausula and the value is its frequency.
  :param prosody: the prosody of a prose text (must be in the format of the scansion produced by the scanner classes.
  :return: dictionary of prosody
  >>> Clausulae().clausulae_analysis(['-uuu-uuu-u--x', 'uu-uu-uu----x'])
  [{'cretic_trochee': 1}, {'cretic_trochee_resolved_a': 0}, {'cretic_trochee_resolved_b': 0}, {'cretic_trochee_resolved_c': 0}, {'double_cretic': 0}, {'molossus_cretic': 0}, {'double_molossus_cretic_resolved_a': 0}, {'double_molossus_cretic_resolved_b': 0}, {'double_molossus_cretic_resolved_c': 0}, {'double_molossus_cretic_resolved_d': 0}, {'double_molossus_cretic_resolved_e': 0}, {'double_molossus_cretic_resolved_f': 0}, {'double_molossus_cretic_resolved_g': 0}, {'double_molossus_cretic_resolved_h': 0}, {'double_trochee': 0}, {'double_trochee_resolved_a': 0}, {'double_trochee_resolved_b': 0}, {'hypodochmiac': 0}, {'hypodochmiac_resolved_a': 0}, {'hypodochmiac_resolved_b': 0}, {'spondaic': 1}, {'heroic': 0}]
docstr_tok: ["Return","dictionary","in","which","the","key","is","a","type","of","clausula","and","the","value","is","its","frequency",".",":","param","prosody",":","the","prosody","of","a","prose","text","(","must","be","in","the","format","of","the","scansion","produced","by","the","scanner","classes",".",":","return",":","dictionary","of","prosody",">",">",">","Clausulae","(",")",".clausulae_analysis","(","[","'-uuu-uuu-u","--","x","'",",","'uu-uu-uu","--","--","x","'","]",")","[","{","'cretic_trochee","'",":","1","}",",","{","'cretic_trochee_resolved_a","'",":","0","}",",","{","'cretic_trochee_resolved_b","'",":","0","}",",","{","'cretic_trochee_resolved_c","'",":","0","}",",","{","'double_cretic","'",":","0","}",",","{","'molossus_cretic","'",":","0","}",",","{","'double_molossus_cretic_resolved_a","'",":","0","}",",","{","'double_molossus_cretic_resolved_b","'",":","0","}",",","{","'double_molossus_cretic_resolved_c","'",":","0","}",",","{","'double_molossus_cretic_resolved_d","'",":","0","}",",","{","'double_molossus_cretic_resolved_e","'",":","0","}",",","{","'double_molossus_cretic_resolved_f","'",":","0","}",",","{","'double_molossus_cretic_resolved_g","'",":","0","}",",","{","'double_molossus_cretic_resolved_h","'",":","0","}",",","{","'double_trochee","'",":","0","}",",","{","'double_trochee_resolved_a","'",":","0","}",",","{","'double_trochee_resolved_b","'",":","0","}",",","{","'hypodochmiac","'",":","0","}",",","{","'hypodochmiac_resolved_a","'",":","0","}",",","{","'hypodochmiac_resolved_b","'",":","0","}",",","{","'spondaic","'",":","1","}",",","{","'heroic","'",":","0","}","]"]
code: def clausulae_analysis(self, prosody: List) -> List[Dict[str, int]]:
      """
      Return dictionary in which the key is a type of clausula and the value is its frequency.
      :param prosody: the prosody of a prose text (must be in the format of the scansion produced by the scanner classes.
      :return: dictionary of prosody
      >>> Clausulae().clausulae_analysis(['-uuu-uuu-u--x', 'uu-uu-uu----x'])
      [{'cretic_trochee': 1}, {'cretic_trochee_resolved_a': 0}, {'cretic_trochee_resolved_b': 0}, {'cretic_trochee_resolved_c': 0}, {'double_cretic': 0}, {'molossus_cretic': 0}, {'double_molossus_cretic_resolved_a': 0}, {'double_molossus_cretic_resolved_b': 0}, {'double_molossus_cretic_resolved_c': 0}, {'double_molossus_cretic_resolved_d': 0}, {'double_molossus_cretic_resolved_e': 0}, {'double_molossus_cretic_resolved_f': 0}, {'double_molossus_cretic_resolved_g': 0}, {'double_molossus_cretic_resolved_h': 0}, {'double_trochee': 0}, {'double_trochee_resolved_a': 0}, {'double_trochee_resolved_b': 0}, {'hypodochmiac': 0}, {'hypodochmiac_resolved_a': 0}, {'hypodochmiac_resolved_b': 0}, {'spondaic': 1}, {'heroic': 0}]
      """
      prosody = " ".join(prosody)
      return [
          {r.rhythm_name: prosody.count(r.rhythm)} for r in self.rhythms
      ]
  
imports: from collections import namedtuple
  from typing import Dict, List
label_desc: Use image node_id 2 for calling the Clausulae obj's underlying member method code with example usage: obj.clausulae_analysis(prosody) and returns: unknown