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: Famous example from Hávamál 77
  
  >>> text = "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(text)
  >>> [sl.text for sl in lj.short_lines]
  ['Deyr fé,', 'deyja frændr,', 'deyr sjalfr it sama,', 'ek veit einn,', 'at aldrei deyr:', 'dómr um dauðan hvern.']
  >>> [[sl.text for sl in long_line] for long_line in lj.long_lines]
  [['Deyr fé,', 'deyja frændr,'], ['deyr sjalfr it sama,'], ['ek veit einn,', 'at aldrei deyr:'], ['dómr um dauðan hvern.']]
  
  :param text:
  :return:
docstr_tok: ["Famous","example","from","H\u00e1vam\u00e1l","77",">",">",">","text","=","``","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","(","text",")",">",">",">","[","sl.text","for","sl","in","lj.short_lines","]","[","'Deyr","f\u00e9",",","'",",","'deyja","fr\u00e6ndr",",","'",",","'deyr","sjalfr","it","sama",",","'",",","'ek","veit","einn",",","'",",","'at","aldrei","deyr",":","'",",","'d\u00f3mr","um","dau\u00f0an","hvern",".","'","]",">",">",">","[","[","sl.text","for","sl","in","long_line","]","for","long_line","in","lj.long_lines","]","[","[","'Deyr","f\u00e9",",","'",",","'deyja","fr\u00e6ndr",",","'","]",",","[","'deyr","sjalfr","it","sama",",","'","]",",","[","'ek","veit","einn",",","'",",","'at","aldrei","deyr",":","'","]",",","[","'d\u00f3mr","um","dau\u00f0an","hvern",".","'","]","]",":","param","text",":",":","return",":"]
code: def from_short_lines_text(self, text: str):
      """
      Famous example from Hávamál 77
  
      >>> text = "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(text)
      >>> [sl.text for sl in lj.short_lines]
      ['Deyr fé,', 'deyja frændr,', 'deyr sjalfr it sama,', 'ek veit einn,', 'at aldrei deyr:', 'dómr um dauðan hvern.']
      >>> [[sl.text for sl in long_line] for long_line in lj.long_lines]
      [['Deyr fé,', 'deyja frændr,'], ['deyr sjalfr it sama,'], ['ek veit einn,', 'at aldrei deyr:'], ['dómr um dauðan hvern.']]
  
      :param text:
      :return:
      """
      Metre.from_short_lines_text(self, text)
      lines = [line for line in text.split("\n") if line]
      self.short_lines = [
          ShortLine(lines[0]),
          ShortLine(lines[1]),
          LongLine(lines[2]),
          ShortLine(lines[3]),
          ShortLine(lines[4]),
          LongLine(lines[5]),
      ]
      self.long_lines = [
          self.short_lines[0:2],
          [self.short_lines[2]],
          self.short_lines[3:5],
          [self.short_lines[5]],
      ]
  
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 2 for calling the Ljoodhhaattr obj's underlying member method code with example usage: obj.from_short_lines_text(text) without return types