class_docstr: Users can specify which scansion symbols to use in the formatting.
  
  >>> print(ScansionFormatter().hexameter( "-UU-UU-UU---UU--"))
  -UU|-UU|-UU|--|-UU|--
  >>> constants = ScansionConstants(unstressed="˘",             stressed= "¯", optional_terminal_ending="x")
  >>> formatter = ScansionFormatter(constants)
  >>> print(formatter.hexameter( "¯˘˘¯˘˘¯˘˘¯¯¯˘˘¯¯"))
  ¯˘˘|¯˘˘|¯˘˘|¯¯|¯˘˘|¯¯
class_docstr_tok: ["Users","can","specify","which","scansion","symbols","to","use","in","the","formatting",".",">",">",">","print","(","ScansionFormatter","(",")",".hexameter","(","``","-UU-UU-UU","--","-UU","--","''",")",")","-UU|-UU|-UU|","--","|-UU|","--",">",">",">","constants","=","ScansionConstants","(","unstressed=","''","\u02d8","''",",","stressed=","``","\u00af","''",",","optional_terminal_ending=","''","x","''",")",">",">",">","formatter","=","ScansionFormatter","(","constants",")",">",">",">","print","(","formatter.hexameter","(","``","\u00af\u02d8\u02d8\u00af\u02d8\u02d8\u00af\u02d8\u02d8\u00af\u00af\u00af\u02d8\u02d8\u00af\u00af","''",")",")","\u00af\u02d8\u02d8|\u00af\u02d8\u02d8|\u00af\u02d8\u02d8|\u00af\u00af|\u00af\u02d8\u02d8|\u00af\u00af"]
code: def __init__(self, constants=ScansionConstants()):
      self.constants = constants
      self.stress_accent_dict = dict(
          zip(
              list(
                  self.constants.VOWELS + self.constants.ACCENTED_VOWELS
              ),
              list(
                  self.constants.ACCENTED_VOWELS
                  + self.constants.ACCENTED_VOWELS
              ),
          )
      )
  
imports: import logging
  from cltk.prosody.lat.scansion_constants import ScansionConstants
label_desc: Use image node_id 1 to create a new ScansionFormatter object  with example: obj = ScansionFormatter(constants)