prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Compile Poeti d’Italia for CLTK
  http://www.mqdq.it/mqdq/poetiditalia/indice_autori_alfa.jsp?scelta=AZ&path=metri_opere
  
  
  </issue>
  <code>
  [start of cltk/corpus/latin/corpora.py]
  1 """Latin language corpora available for download or loading locally.
  2 All remote corpora hosted by github on the cltk organization account, eg:
  3 'http://github.com/cltk' + name
  4 """
  5 
  6 LATIN_CORPORA = [
  7     {'encoding': 'utf-8',
  8      'markup': 'tei_xml',
  9      'location': 'remote',
  10      'type': 'text',
  11      'name': 'latin_text_perseus',
  12      'origin': 'https://github.com/cltk/latin_text_perseus.git'},
  13     {'encoding': 'utf-8',
  14      'markup': 'xml',
  15      'name': 'latin_treebank_perseus',
  16      'origin': 'https://github.com/cltk/latin_treebank_perseus.git',
  17      'location': 'remote',
  18      'type': 'treebank'},
  19     {'encoding': 'utf-8',
  20      'markup': 'plaintext',
  21      'name': 'latin_treebank_perseus',
  22      'origin': 'https://github.com/cltk/latin_treebank_perseus.git',
  23      'location': 'remote',
  24      'type': 'text'},
  25     {'encoding': 'utf-8',
  26      'markup': 'plaintext',
  27      'name': 'latin_text_latin_library',
  28      'origin': 'https://github.com/cltk/latin_text_latin_library.git',
  29      'location': 'remote',
  30      'type': 'text'},
  31     {'encoding': 'latin-1',
  32      'markup': 'beta_code',
  33      'name': '',
  34      'location': 'local',
  35      'name': 'phi5',
  36      'origin': None,
  37      'type': 'text'},
  38     {'encoding': 'latin-1',
  39      'markup': 'beta_code',
  40      'origin': None,
  41      'name': 'phi7',
  42      'location': 'local',
  43      'type': 'text'},
  44     {'encoding': 'utf-8',
  45      'markup': 'plaintext',
  46      'name': 'latin_proper_names_cltk',
  47      'origin': 'https://github.com/cltk/latin_proper_names_cltk.git',
  48      'location': 'remote',
  49      'type': 'lexicon'},
  50     {'origin': 'https://github.com/cltk/latin_models_cltk.git',
  51      'name': 'latin_models_cltk',
  52      'location': 'remote',
  53      'type': 'model'},
  54     {'encoding': 'utf-8',
  55      'markup': 'python',
  56      'name': 'latin_pos_lemmata_cltk',
  57      'origin': 'https://github.com/cltk/latin_pos_lemmata_cltk.git',
  58      'location': 'remote',
  59      'type': 'lemma'},
  60     {'encoding': 'utf-8',
  61      'markup': 'xml',
  62      'name': 'latin_treebank_index_thomisticus',
  63      'origin': 'https://github.com/cltk/latin_treebank_index_thomisticus.git',
  64      'location': 'remote',
  65      'type': 'treebank'},
  66     {'encoding': 'xml',
  67      'markup': 'plaintext',
  68      'name': 'latin_lexica_perseus',
  69      'origin': 'https://github.com/cltk/latin_lexica_perseus.git',
  70      'location': 'remote',
  71      'type': 'lexicon'},
  72     {'encoding': 'utf-8',
  73      'markup': 'plaintext',
  74      'name': 'latin_training_set_sentence_cltk',
  75      'origin': 'https://github.com/cltk/latin_training_set_sentence_cltk.git',
  76      'location': 'remote',
  77      'type': 'training_set'},
  78     {'origin': 'https://github.com/cltk/latin_word2vec_cltk.git',
  79      'name': 'latin_word2vec_cltk',
  80      'location': 'remote',
  81      'type': 'model'},
  82     {'encoding': 'utf-8',
  83      'markup': 'tei_xml',
  84      'location': 'remote',
  85      'type': 'text',
  86      'name': 'latin_text_antique_digiliblt',
  87      'origin': 'https://github.com/cltk/latin_text_antique_digiliblt.git'},
  88      {'location': 'remote',
  89      'type': 'text',
  90      'name': 'latin_text_corpus_grammaticorum_latinorum',
  91      'origin': 'https://github.com/cltk/latin_text_corpus_grammaticorum_latinorum.git'}
  92 ]
  93
  [end of cltk/corpus/latin/corpora.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/cltk/corpus/latin/corpora.py b/cltk/corpus/latin/corpora.py
  --- a/cltk/corpus/latin/corpora.py
  +++ b/cltk/corpus/latin/corpora.py
  @@ -88,5 +88,9 @@
        {'location': 'remote',
        'type': 'text',
        'name': 'latin_text_corpus_grammaticorum_latinorum',
  -     'origin': 'https://github.com/cltk/latin_text_corpus_grammaticorum_latinorum.git'}
  +     'origin': 'https://github.com/cltk/latin_text_corpus_grammaticorum_latinorum.git'},
  +    {'location': 'remote',
  +     'type': 'text',
  +     'name': 'latin_text_poeti_ditalia',
  +     'origin': 'https://github.com/cltk/latin_text_poeti_ditalia.git'}
   ]
  
verification_info: {"golden_diff": "diff --git a/cltk/corpus/latin/corpora.py b/cltk/corpus/latin/corpora.py\n--- a/cltk/corpus/latin/corpora.py\n+++ b/cltk/corpus/latin/corpora.py\n@@ -88,5 +88,9 @@\n      {'location': 'remote',\n      'type': 'text',\n      'name': 'latin_text_corpus_grammaticorum_latinorum',\n-     'origin': 'https://github.com/cltk/latin_text_corpus_grammaticorum_latinorum.git'}\n+     'origin': 'https://github.com/cltk/latin_text_corpus_grammaticorum_latinorum.git'},\n+    {'location': 'remote',\n+     'type': 'text',\n+     'name': 'latin_text_poeti_ditalia',\n+     'origin': 'https://github.com/cltk/latin_text_poeti_ditalia.git'}\n ]\n", "issue": "Compile Poeti d\u2019Italia for CLTK\nhttp://www.mqdq.it/mqdq/poetiditalia/indice_autori_alfa.jsp?scelta=AZ&path=metri_opere\n\n", "before_files": [{"content": "\"\"\"Latin language corpora available for download or loading locally.\nAll remote corpora hosted by github on the cltk organization account, eg:\n'http://github.com/cltk' + name\n\"\"\"\n\nLATIN_CORPORA = [\n    {'encoding': 'utf-8',\n     'markup': 'tei_xml',\n     'location': 'remote',\n     'type': 'text',\n     'name': 'latin_text_perseus',\n     'origin': 'https://github.com/cltk/latin_text_perseus.git'},\n    {'encoding': 'utf-8',\n     'markup': 'xml',\n     'name': 'latin_treebank_perseus',\n     'origin': 'https://github.com/cltk/latin_treebank_perseus.git',\n     'location': 'remote',\n     'type': 'treebank'},\n    {'encoding': 'utf-8',\n     'markup': 'plaintext',\n     'name': 'latin_treebank_perseus',\n     'origin': 'https://github.com/cltk/latin_treebank_perseus.git',\n     'location': 'remote',\n     'type': 'text'},\n    {'encoding': 'utf-8',\n     'markup': 'plaintext',\n     'name': 'latin_text_latin_library',\n     'origin': 'https://github.com/cltk/latin_text_latin_library.git',\n     'location': 'remote',\n     'type': 'text'},\n    {'encoding': 'latin-1',\n     'markup': 'beta_code',\n     'name': '',\n     'location': 'local',\n     'name': 'phi5',\n     'origin': None,\n     'type': 'text'},\n    {'encoding': 'latin-1',\n     'markup': 'beta_code',\n     'origin': None,\n     'name': 'phi7',\n     'location': 'local',\n     'type': 'text'},\n    {'encoding': 'utf-8',\n     'markup': 'plaintext',\n     'name': 'latin_proper_names_cltk',\n     'origin': 'https://github.com/cltk/latin_proper_names_cltk.git',\n     'location': 'remote',\n     'type': 'lexicon'},\n    {'origin': 'https://github.com/cltk/latin_models_cltk.git',\n     'name': 'latin_models_cltk',\n     'location': 'remote',\n     'type': 'model'},\n    {'encoding': 'utf-8',\n     'markup': 'python',\n     'name': 'latin_pos_lemmata_cltk',\n     'origin': 'https://github.com/cltk/latin_pos_lemmata_cltk.git',\n     'location': 'remote',\n     'type': 'lemma'},\n    {'encoding': 'utf-8',\n     'markup': 'xml',\n     'name': 'latin_treebank_index_thomisticus',\n     'origin': 'https://github.com/cltk/latin_treebank_index_thomisticus.git',\n     'location': 'remote',\n     'type': 'treebank'},\n    {'encoding': 'xml',\n     'markup': 'plaintext',\n     'name': 'latin_lexica_perseus',\n     'origin': 'https://github.com/cltk/latin_lexica_perseus.git',\n     'location': 'remote',\n     'type': 'lexicon'},\n    {'encoding': 'utf-8',\n     'markup': 'plaintext',\n     'name': 'latin_training_set_sentence_cltk',\n     'origin': 'https://github.com/cltk/latin_training_set_sentence_cltk.git',\n     'location': 'remote',\n     'type': 'training_set'},\n    {'origin': 'https://github.com/cltk/latin_word2vec_cltk.git',\n     'name': 'latin_word2vec_cltk',\n     'location': 'remote',\n     'type': 'model'},\n    {'encoding': 'utf-8',\n     'markup': 'tei_xml',\n     'location': 'remote',\n     'type': 'text',\n     'name': 'latin_text_antique_digiliblt',\n     'origin': 'https://github.com/cltk/latin_text_antique_digiliblt.git'},\n     {'location': 'remote',\n     'type': 'text',\n     'name': 'latin_text_corpus_grammaticorum_latinorum',\n     'origin': 'https://github.com/cltk/latin_text_corpus_grammaticorum_latinorum.git'}\n]\n", "path": "cltk/corpus/latin/corpora.py"}]}