class_docstr: Handles different kinds of meter in Old Norse poetry.
  
  * Fornyrðislag
  * Ljóðaháttr
class_docstr_tok: ["Handles","different","kinds","of","meter","in","Old","Norse","poetry",".","*","Fornyr\u00f0islag","*","Lj\u00f3\u00f0ah\u00e1ttr"]
docstr: Deals with a list of paragraphs:
  - detects its category,
  - processes it.
  
  >>> text1 = "Hljóðs bið ek allar\nhelgar kindir,\nmeiri ok minni\nmögu Heimdallar;\nviltu at ek, Valföðr,\nvel fyr telja\nforn spjöll fira,\nþau er fremst of man."
  >>> text2 = "Deyr fé,\ndeyja frændr,\ndeyr sjalfr it sama,\nek veit einn,\nat aldrei deyr:\ndómr um dauðan hvern."
  
  >>> paragraphs = [text1, text2]
  >>> poem = MetreManager.load_poem_from_paragraphs(paragraphs)
  >>> isinstance(poem[0], Fornyrdhislag)
  True
  >>> isinstance(poem[1], Ljoodhhaattr)
  True
  
  :param paragraphs: list of stanzas (list of strings)
  :return: list of Fornyrdhislag or Ljoodhhaattr instances
docstr_tok: ["Deals","with","a","list","of","paragraphs",":","-","detects","its","category",",","-","processes","it",".",">",">",">","text1","=","``","Hlj\u00f3\u00f0s","bi\u00f0","ek","allar\\nhelgar","kindir",",","\\nmeiri","ok","minni\\nm\u00f6gu","Heimdallar",";","\\nviltu","at","ek",",","Valf\u00f6\u00f0r",",","\\nvel","fyr","telja\\nforn","spj\u00f6ll","fira",",","\\n\u00feau","er","fremst","of","man",".","''",">",">",">","text2","=","``","Deyr","f\u00e9",",","\\ndeyja","fr\u00e6ndr",",","\\ndeyr","sjalfr","it","sama",",","\\nek","veit","einn",",","\\nat","aldrei","deyr",":","\\nd\u00f3mr","um","dau\u00f0an","hvern",".","''",">",">",">","paragraphs","=","[","text1",",","text2","]",">",">",">","poem","=","MetreManager.load_poem_from_paragraphs","(","paragraphs",")",">",">",">","isinstance","(","poem","[","0","]",",","Fornyrdhislag",")","True",">",">",">","isinstance","(","poem","[","1","]",",","Ljoodhhaattr",")","True",":","param","paragraphs",":","list","of","stanzas","(","list","of","strings",")",":","return",":","list","of","Fornyrdhislag","or","Ljoodhhaattr","instances"]
code: def load_poem_from_paragraphs(paragraphs: List[str]):
      """
      Deals with a list of paragraphs:
      - detects its category,
      - processes it.
  
      >>> text1 = "Hljóðs bið ek allar\\nhelgar kindir,\\nmeiri ok minni\\nmögu Heimdallar;\\nviltu at ek, Valföðr,\\nvel fyr telja\\nforn spjöll fira,\\nþau er fremst of man."
      >>> text2 = "Deyr fé,\\ndeyja frændr,\\ndeyr sjalfr it sama,\\nek veit einn,\\nat aldrei deyr:\\ndómr um dauðan hvern."
  
      >>> paragraphs = [text1, text2]
      >>> poem = MetreManager.load_poem_from_paragraphs(paragraphs)
      >>> isinstance(poem[0], Fornyrdhislag)
      True
      >>> isinstance(poem[1], Ljoodhhaattr)
      True
  
      :param paragraphs: list of stanzas (list of strings)
      :return: list of Fornyrdhislag or Ljoodhhaattr instances
      """
      poem = []
      for paragraph in paragraphs:
          if MetreManager.is_fornyrdhislag(paragraph):
              fnl = Fornyrdhislag()
              fnl.from_short_lines_text(paragraph)
              fnl.syllabify(old_norse_syllabifier.hierarchy)
              fnl.to_phonetics()
              poem.append(fnl)
          elif MetreManager.is_ljoodhhaattr(paragraph):
              lh = Ljoodhhaattr()
              lh.from_short_lines_text(paragraph)
              lh.syllabify(old_norse_syllabifier.hierarchy)
              lh.to_phonetics()
              poem.append(lh)
          else:
              stanza = UnspecifiedStanza()
              stanza.from_short_lines_text(paragraph)
              stanza.syllabify(old_norse_syllabifier.hierarchy)
              stanza.to_phonetics()
              poem.append(stanza)
      return poem
  
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 3 for calling the MetreManager obj's underlying member method code with example usage: obj.load_poem_from_paragraphs(paragraphs) and returns: poem