class_docstr: Ljóðaháttr is a stanzaic verse form that created four line stanzas.
  The odd numbered lines were almost standard lines of alliterative verse
  with four lifts and two or three alliterations, with cæsura;
  the even numbered lines had three lifts and two alliterations, and no cæsura.
  
  See https://en.wikipedia.org/wiki/Alliterative_verse#Lj%C3%B3%C3%B0ah%C3%A1ttr.
class_docstr_tok: ["Lj\u00f3\u00f0ah\u00e1ttr","is","a","stanzaic","verse","form","that","created","four","line","stanzas",".","The","odd","numbered","lines","were","almost","standard","lines","of","alliterative","verse","with","four","lifts","and","two","or","three","alliterations",",","with","c\u00e6sura",";","the","even","numbered","lines","had","three","lifts","and","two","alliterations",",","and","no","c\u00e6sura",".","See","https",":","\/\/en.wikipedia.org\/wiki\/Alliterative_verse","#","Lj","%","C3","%","B3","%","C3","%","B0ah","%","C3","%","A1ttr","."]
docstr: >>> poem = "Deyr fé,\ndeyja frændr,\ndeyr sjalfr it sama,\nek veit einn,\nat aldrei deyr:\ndómr um dauðan hvern."
  >>> lj = Ljoodhhaattr()
  >>> lj.from_short_lines_text(poem)
  >>> lj.to_phonetics()
  >>> verse_alliterations, n_alliterations_lines = lj.find_alliteration()
  >>> verse_alliterations
  [[('deyr', 'deyja'), ('fé', 'frændr')], [('sjalfr', 'sjalfr')], [('einn', 'aldrei')], [('dómr', 'um')]]
  >>> n_alliterations_lines
  [2, 1, 1, 1]
  
  :return:
docstr_tok: [">",">",">","poem","=","``","Deyr","f\u00e9",",","\\ndeyja","fr\u00e6ndr",",","\\ndeyr","sjalfr","it","sama",",","\\nek","veit","einn",",","\\nat","aldrei","deyr",":","\\nd\u00f3mr","um","dau\u00f0an","hvern",".","''",">",">",">","lj","=","Ljoodhhaattr","(",")",">",">",">","lj.from_short_lines_text","(","poem",")",">",">",">","lj.to_phonetics","(",")",">",">",">","verse_alliterations",",","n_alliterations_lines","=","lj.find_alliteration","(",")",">",">",">","verse_alliterations","[","[","(","'deyr","'",",","'deyja","'",")",",","(","'f\u00e9","'",",","'fr\u00e6ndr","'",")","]",",","[","(","'sjalfr","'",",","'sjalfr","'",")","]",",","[","(","'einn","'",",","'aldrei","'",")","]",",","[","(","'d\u00f3mr","'",",","'um","'",")","]","]",">",">",">","n_alliterations_lines","[","2",",","1",",","1",",","1","]",":","return",":"]
code: def find_alliteration(self) -> Tuple[list, list]:
      """
      >>> poem = "Deyr fé,\\ndeyja frændr,\\ndeyr sjalfr it sama,\\nek veit einn,\\nat aldrei deyr:\\ndómr um dauðan hvern."
      >>> lj = Ljoodhhaattr()
      >>> lj.from_short_lines_text(poem)
      >>> lj.to_phonetics()
      >>> verse_alliterations, n_alliterations_lines = lj.find_alliteration()
      >>> verse_alliterations
      [[('deyr', 'deyja'), ('fé', 'frændr')], [('sjalfr', 'sjalfr')], [('einn', 'aldrei')], [('dómr', 'um')]]
      >>> n_alliterations_lines
      [2, 1, 1, 1]
  
      :return:
      """
      return Metre.find_alliteration(self)
  
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 Ljoodhhaattr obj's underlying member method code with example usage: obj.find_alliteration() and returns: Metre