class_docstr: Currently supports validation for: hexameter, hendecasyllables, pentameter.
class_docstr_tok: ["Currently","supports","validation","for",":","hexameter",",","hendecasyllables",",","pentameter","."]
code: def __init__(self, constants=ScansionConstants()):
      self.constants = constants
      self.VALID_HEXAMETERS = [
          self._build_hexameter_template(bin(x)[3:])
          for x in range(32, 64)
      ]
      self.VALID_HENDECASYLLABLES = (
          self._build_hendecasyllable_templates()
      )
      self.VALID_PENTAMETERS = self._build_pentameter_templates()
  
file_path: cltk/src/cltk/prosody/lat/metrical_validator.py
imports: import logging
  from typing import List
  from rapidfuzz.distance import DamerauLevenshtein
  from cltk.prosody.lat.scansion_constants import ScansionConstants
label_desc: Use image node_id 4 to create a new MetricalValidator object  with example: obj = MetricalValidator(constants)