prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Double-check code and data for new French PR
  This issue is for @nat1881 to follow up on her large PR #571 for Old and Middle French.
  
  Natasha, I would like you to do the following steps, to be certain that the code works as you intended:
  
  * Start a brand new clone of (this) cltk repo.
  * Make a new virtual env
  * Mk source tarball and install (this should install all dependencies, too): `python setup.py sdist install`
  * Temporarily rename your `~/cltk_data` dir (eg, `mv ~/cltk_data ~/cltk_data_backup`)
  * Import the french corpora and make sure they appear as they should
  * Check in ipython all of your commands that you have added to the docs. Copy-paste these exactly as they are in the docs.
  * Follow up on any bugs in your own updated branch ([this is what I recommend for updating your branch](https://github.com/cltk/cltk/wiki/Example-Git-and-Python-workflow))
  * Bump the version in `setup.py` and make PR for this
  * Then @diyclassics or I will push the code to PyPI
  
  You may be tired of this, but you're getting close! :weary:
  
  cc @mlj 
  
  </issue>
  <code>
  [start of setup.py]
  1 """Config for PyPI."""
  2 
  3 from setuptools import find_packages
  4 from setuptools import setup
  5 
  6 
  7 setup(
  8     author='Kyle P. Johnson',
  9     author_email='kyle@kyle-p-johnson.com',
  10     classifiers=[
  11         'Intended Audience :: Education',
  12         'Intended Audience :: Science/Research',
  13         'License :: OSI Approved :: MIT License',
  14         'Natural Language :: Chinese (Traditional)',
  15         'Natural Language :: English',
  16         'Natural Language :: Greek',
  17         'Natural Language :: Latin',
  18         'Operating System :: POSIX',
  19         'Programming Language :: Python :: 3.6',
  20         'Topic :: Scientific/Engineering :: Artificial Intelligence',
  21         'Topic :: Text Processing',
  22         'Topic :: Text Processing :: General',
  23         'Topic :: Text Processing :: Linguistic',
  24     ],
  25     description='NLP for the ancient world',
  26     install_requires=['gitpython',
  27                       'nltk',
  28                       'python-crfsuite',
  29                       'pyuca',
  30                       'pyyaml',
  31                       'regex',
  32                       'whoosh'],
  33     keywords=['nlp', 'nltk', 'greek', 'latin', 'chinese', 'sanskrit', 'pali', 'tibetan'],
  34     license='MIT',
  35     long_description='The Classical Language Toolkit (CLTK) is a framework for natural language processing for Classical languages.',  # pylint: disable=C0301,
  36     name='cltk',
  37     packages=find_packages(),
  38     url='https://github.com/cltk/cltk',
  39     version='0.1.63',
  40     zip_safe=True,
  41     test_suite='cltk.tests.test_cltk',
  42 )
  43
  [end of setup.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/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -36,7 +36,7 @@
       name='cltk',
       packages=find_packages(),
       url='https://github.com/cltk/cltk',
  -    version='0.1.63',
  +    version='0.1.64',
       zip_safe=True,
       test_suite='cltk.tests.test_cltk',
   )
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -36,7 +36,7 @@\n     name='cltk',\n     packages=find_packages(),\n     url='https://github.com/cltk/cltk',\n-    version='0.1.63',\n+    version='0.1.64',\n     zip_safe=True,\n     test_suite='cltk.tests.test_cltk',\n )\n", "issue": "Double-check code and data for new French PR\nThis issue is for @nat1881 to follow up on her large PR #571 for Old and Middle French.\r\n\r\nNatasha, I would like you to do the following steps, to be certain that the code works as you intended:\r\n\r\n* Start a brand new clone of (this) cltk repo.\r\n* Make a new virtual env\r\n* Mk source tarball and install (this should install all dependencies, too): `python setup.py sdist install`\r\n* Temporarily rename your `~/cltk_data` dir (eg, `mv ~/cltk_data ~/cltk_data_backup`)\r\n* Import the french corpora and make sure they appear as they should\r\n* Check in ipython all of your commands that you have added to the docs. Copy-paste these exactly as they are in the docs.\r\n* Follow up on any bugs in your own updated branch ([this is what I recommend for updating your branch](https://github.com/cltk/cltk/wiki/Example-Git-and-Python-workflow))\r\n* Bump the version in `setup.py` and make PR for this\r\n* Then @diyclassics or I will push the code to PyPI\r\n\r\nYou may be tired of this, but you're getting close! :weary:\r\n\r\ncc @mlj \n", "before_files": [{"content": "\"\"\"Config for PyPI.\"\"\"\n\nfrom setuptools import find_packages\nfrom setuptools import setup\n\n\nsetup(\n    author='Kyle P. Johnson',\n    author_email='kyle@kyle-p-johnson.com',\n    classifiers=[\n        'Intended Audience :: Education',\n        'Intended Audience :: Science/Research',\n        'License :: OSI Approved :: MIT License',\n        'Natural Language :: Chinese (Traditional)',\n        'Natural Language :: English',\n        'Natural Language :: Greek',\n        'Natural Language :: Latin',\n        'Operating System :: POSIX',\n        'Programming Language :: Python :: 3.6',\n        'Topic :: Scientific/Engineering :: Artificial Intelligence',\n        'Topic :: Text Processing',\n        'Topic :: Text Processing :: General',\n        'Topic :: Text Processing :: Linguistic',\n    ],\n    description='NLP for the ancient world',\n    install_requires=['gitpython',\n                      'nltk',\n                      'python-crfsuite',\n                      'pyuca',\n                      'pyyaml',\n                      'regex',\n                      'whoosh'],\n    keywords=['nlp', 'nltk', 'greek', 'latin', 'chinese', 'sanskrit', 'pali', 'tibetan'],\n    license='MIT',\n    long_description='The Classical Language Toolkit (CLTK) is a framework for natural language processing for Classical languages.',  # pylint: disable=C0301,\n    name='cltk',\n    packages=find_packages(),\n    url='https://github.com/cltk/cltk',\n    version='0.1.63',\n    zip_safe=True,\n    test_suite='cltk.tests.test_cltk',\n)\n", "path": "setup.py"}]}