class_docstr: Verse, strophe or stanza. This is here a regular set of meters.
  'Abstract' class which implements global methods on verse.
class_docstr_tok: ["Verse",",","strophe","or","stanza",".","This","is","here","a","regular","set","of","meters",".","'Abstract","'","class","which","implements","global","methods","on","verse","."]
docstr: Find alliterations in the complete verse.
  :return:
docstr_tok: ["Find","alliterations","in","the","complete","verse",".",":","return",":"]
code: def find_alliteration(self):
      """
      Find alliterations in the complete verse.
      :return:
      """
      if len(self.phonological_features_text) == 0:
          logger.error("No phonological transcription found")
          raise ValueError
      else:
          first_sounds = []
          for i, line in enumerate(self.phonological_features_text):
              first_sounds.append([])
              for j, short_line in enumerate(line):
                  first_sounds[i].append([])
                  for viisuord in short_line:
                      first_sounds[i][j].append(viisuord[0])
  
          verse_alliterations = []
          n_alliterations_lines = []
          for i, first_sound_line in enumerate(first_sounds):
              if isinstance(
                  self.long_lines[i][0], ShortLine
              ) and isinstance(self.long_lines[i][1], ShortLine):
                  alli, counter = self.long_lines[i][
                      0
                  ].find_alliterations(self.long_lines[i][1])
                  verse_alliterations.append(alli)
                  n_alliterations_lines.append(counter)
              elif isinstance(self.long_lines[i][0], LongLine):
                  alli, counter = self.long_lines[i][
                      0
                  ].find_alliterations()
                  verse_alliterations.append(alli)
                  n_alliterations_lines.append(counter)
          return verse_alliterations, n_alliterations_lines
  
imports: import re
  from math import floor
  from typing import Dict, List, Tuple, Union
  import cltk.phonology.non.syllabifier
  import cltk.phonology.non.transcription
  from cltk.core.cltk_logger import logger
  from cltk.phonology.non.utils import Transcriber
  from cltk.phonology.syllabify import Syllabifier
  from cltk.stops.non import STOPS
  from cltk.tag.pos import POSTag
  from cltk.tokenizers.non import OldNorseWordTokenizer
label_desc: Use image node_id 5 for calling the Metre obj's underlying member method code with example usage: obj.find_alliteration() and returns: verse_alliterations,  n_alliterations_lines