class_docstr: Currently supports validation for: hexameter, hendecasyllables, pentameter.
class_docstr_tok: ["Currently","supports","validation","for",":","hexameter",",","hendecasyllables",",","pentameter","."]
docstr: Determine if a scansion pattern is one of the valid Hendecasyllables metrical patterns
  
  :param scanned_line: a line containing a sequence of stressed and unstressed syllables
  
  >>> print(MetricalValidator().is_valid_hendecasyllables("-U-UU-U-U-U"))
  True
docstr_tok: ["Determine","if","a","scansion","pattern","is","one","of","the","valid","Hendecasyllables","metrical","patterns",":","param","scanned_line",":","a","line","containing","a","sequence","of","stressed","and","unstressed","syllables",">",">",">","print","(","MetricalValidator","(",")",".is_valid_hendecasyllables","(","``","-U-UU-U-U-U","''",")",")","True"]
code: def is_valid_hendecasyllables(self, scanned_line: str) -> bool:
      """Determine if a scansion pattern is one of the valid Hendecasyllables metrical patterns
  
      :param scanned_line: a line containing a sequence of stressed and unstressed syllables
  
      >>> print(MetricalValidator().is_valid_hendecasyllables("-U-UU-U-U-U"))
      True
      """
      line = scanned_line.replace(self.constants.FOOT_SEPARATOR, "")
      line = line.replace(" ", "")
      if len(line) < 11:
          return False
      line = line[:-1] + self.constants.OPTIONAL_ENDING
      return self.VALID_HENDECASYLLABLES.__contains__(line)
  
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 2 for calling the MetricalValidator obj's underlying member method code with example usage: obj.is_valid_hendecasyllables(scanned_line) and returns: self, False