prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Inconsistent case of data directory
  [The latin module](https://github.com/cltk/cltk/blob/36b6fe7aa23a8c4f41ef694ddb64b4b02534146c/cltk/corpus/latin/__init__.py#L20) tries to load the latin library from "~/CLTK_DATA", which fails on a case-sensitive filesystem.
  
  All other modules seem to use "~/cltk_data", so that should be standardized. 
  
  (It would probably be best if the path was factored out and also configurable, but fixing at least that one inconsistency lets me actually import stuff without errors.)
  
  Inconsistent case of data directory
  [The latin module](https://github.com/cltk/cltk/blob/36b6fe7aa23a8c4f41ef694ddb64b4b02534146c/cltk/corpus/latin/__init__.py#L20) tries to load the latin library from "~/CLTK_DATA", which fails on a case-sensitive filesystem.
  
  All other modules seem to use "~/cltk_data", so that should be standardized. 
  
  (It would probably be best if the path was factored out and also configurable, but fixing at least that one inconsistency lets me actually import stuff without errors.)
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `cltk/corpus/latin/__init__.py`
  Content:
  ```
  1 # CLTK: Latin Corpus Readers
  2 
  3 __author__ = 'Patrick J. Burns <patrick@diyclassics.org>'
  4 __license__ = 'MIT License. See LICENSE.'
  5 
  6 """
  7 CLTK Latin corpus readers
  8 """
  9 
  10 import os.path
  11 from nltk.corpus.reader.plaintext import PlaintextCorpusReader
  12 from nltk.tokenize.punkt import PunktSentenceTokenizer, PunktParameters
  13 
  14 from cltk.tokenize.sentence import TokenizeSentence
  15 from cltk.tokenize.word import WordTokenizer
  16 
  17 # Would like to have this search through a CLTK_DATA environment variable
  18 # Better to use something like make_cltk_path in cltk.utils.file_operations?
  19 home = os.path.expanduser('~')
  20 cltk_path = os.path.join(home, 'CLTK_DATA')
  21 
  22 word_tokenizer = WordTokenizer('latin')
  23 
  24 if os.path.exists(cltk_path + 'latin/model/latin_models_cltk/tokenizers/sentence'):
  25     sent_tokenizer = TokenizeSentence('latin')
  26 else:
  27     punkt_param = PunktParameters()
  28     abbreviations = ['c', 'l', 'm', 'p', 'q', 't', 'ti', 'sex', 'a', 'd', 'cn', 'sp', "m'", 'ser', 'ap', 'n', 'v', 'k', 'mam', 'post', 'f', 'oct', 'opet', 'paul', 'pro', 'sert', 'st', 'sta', 'v', 'vol', 'vop']
  29     punkt_param.abbrev_types = set(abbreviations)
  30     sent_tokenizer = PunktSentenceTokenizer(punkt_param)
  31 
  32 # Latin Library
  33 try:
  34     latinlibrary = PlaintextCorpusReader(cltk_path + '/latin/text/latin_text_latin_library', 
  35     '.*\.txt',
  36     word_tokenizer=word_tokenizer, 
  37     sent_tokenizer=sent_tokenizer, 
  38     encoding='utf-8')    
  39     pass
  40 except IOError as e:
  41     print("Corpus not found. Please check that the Latin Library is installed in CLTK_DATA.")
  42
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/cltk/corpus/latin/__init__.py b/cltk/corpus/latin/__init__.py
  --- a/cltk/corpus/latin/__init__.py
  +++ b/cltk/corpus/latin/__init__.py
  @@ -17,7 +17,7 @@
   # Would like to have this search through a CLTK_DATA environment variable
   # Better to use something like make_cltk_path in cltk.utils.file_operations?
   home = os.path.expanduser('~')
  -cltk_path = os.path.join(home, 'CLTK_DATA')
  +cltk_path = os.path.join(home, 'cltk_data')
   
   word_tokenizer = WordTokenizer('latin')
  
verification_info: {"golden_diff": "diff --git a/cltk/corpus/latin/__init__.py b/cltk/corpus/latin/__init__.py\n--- a/cltk/corpus/latin/__init__.py\n+++ b/cltk/corpus/latin/__init__.py\n@@ -17,7 +17,7 @@\n # Would like to have this search through a CLTK_DATA environment variable\n # Better to use something like make_cltk_path in cltk.utils.file_operations?\n home = os.path.expanduser('~')\n-cltk_path = os.path.join(home, 'CLTK_DATA')\n+cltk_path = os.path.join(home, 'cltk_data')\n \n word_tokenizer = WordTokenizer('latin')\n", "issue": "Inconsistent case of data directory\n[The latin module](https://github.com/cltk/cltk/blob/36b6fe7aa23a8c4f41ef694ddb64b4b02534146c/cltk/corpus/latin/__init__.py#L20) tries to load the latin library from \"~/CLTK_DATA\", which fails on a case-sensitive filesystem.\n\nAll other modules seem to use \"~/cltk_data\", so that should be standardized. \n\n(It would probably be best if the path was factored out and also configurable, but fixing at least that one inconsistency lets me actually import stuff without errors.)\n\nInconsistent case of data directory\n[The latin module](https://github.com/cltk/cltk/blob/36b6fe7aa23a8c4f41ef694ddb64b4b02534146c/cltk/corpus/latin/__init__.py#L20) tries to load the latin library from \"~/CLTK_DATA\", which fails on a case-sensitive filesystem.\n\nAll other modules seem to use \"~/cltk_data\", so that should be standardized. \n\n(It would probably be best if the path was factored out and also configurable, but fixing at least that one inconsistency lets me actually import stuff without errors.)\n\n", "before_files": [{"content": "# CLTK: Latin Corpus Readers\n\n__author__ = 'Patrick J. Burns <patrick@diyclassics.org>'\n__license__ = 'MIT License. See LICENSE.'\n\n\"\"\"\nCLTK Latin corpus readers\n\"\"\"\n\nimport os.path\nfrom nltk.corpus.reader.plaintext import PlaintextCorpusReader\nfrom nltk.tokenize.punkt import PunktSentenceTokenizer, PunktParameters\n\nfrom cltk.tokenize.sentence import TokenizeSentence\nfrom cltk.tokenize.word import WordTokenizer\n\n# Would like to have this search through a CLTK_DATA environment variable\n# Better to use something like make_cltk_path in cltk.utils.file_operations?\nhome = os.path.expanduser('~')\ncltk_path = os.path.join(home, 'CLTK_DATA')\n\nword_tokenizer = WordTokenizer('latin')\n\nif os.path.exists(cltk_path + 'latin/model/latin_models_cltk/tokenizers/sentence'):\n    sent_tokenizer = TokenizeSentence('latin')\nelse:\n    punkt_param = PunktParameters()\n    abbreviations = ['c', 'l', 'm', 'p', 'q', 't', 'ti', 'sex', 'a', 'd', 'cn', 'sp', \"m'\", 'ser', 'ap', 'n', 'v', 'k', 'mam', 'post', 'f', 'oct', 'opet', 'paul', 'pro', 'sert', 'st', 'sta', 'v', 'vol', 'vop']\n    punkt_param.abbrev_types = set(abbreviations)\n    sent_tokenizer = PunktSentenceTokenizer(punkt_param)\n\n# Latin Library\ntry:\n    latinlibrary = PlaintextCorpusReader(cltk_path + '/latin/text/latin_text_latin_library', \n    '.*\\.txt',\n    word_tokenizer=word_tokenizer, \n    sent_tokenizer=sent_tokenizer, \n    encoding='utf-8')    \n    pass\nexcept IOError as e:\n    print(\"Corpus not found. Please check that the Latin Library is installed in CLTK_DATA.\")\n", "path": "cltk/corpus/latin/__init__.py"}], "after_files": [{"content": "# CLTK: Latin Corpus Readers\n\n__author__ = 'Patrick J. Burns <patrick@diyclassics.org>'\n__license__ = 'MIT License. See LICENSE.'\n\n\"\"\"\nCLTK Latin corpus readers\n\"\"\"\n\nimport os.path\nfrom nltk.corpus.reader.plaintext import PlaintextCorpusReader\nfrom nltk.tokenize.punkt import PunktSentenceTokenizer, PunktParameters\n\nfrom cltk.tokenize.sentence import TokenizeSentence\nfrom cltk.tokenize.word import WordTokenizer\n\n# Would like to have this search through a CLTK_DATA environment variable\n# Better to use something like make_cltk_path in cltk.utils.file_operations?\nhome = os.path.expanduser('~')\ncltk_path = os.path.join(home, 'cltk_data')\n\nword_tokenizer = WordTokenizer('latin')\n\nif os.path.exists(cltk_path + 'latin/model/latin_models_cltk/tokenizers/sentence'):\n    sent_tokenizer = TokenizeSentence('latin')\nelse:\n    punkt_param = PunktParameters()\n    abbreviations = ['c', 'l', 'm', 'p', 'q', 't', 'ti', 'sex', 'a', 'd', 'cn', 'sp', \"m'\", 'ser', 'ap', 'n', 'v', 'k', 'mam', 'post', 'f', 'oct', 'opet', 'paul', 'pro', 'sert', 'st', 'sta', 'v', 'vol', 'vop']\n    punkt_param.abbrev_types = set(abbreviations)\n    sent_tokenizer = PunktSentenceTokenizer(punkt_param)\n\n# Latin Library\ntry:\n    latinlibrary = PlaintextCorpusReader(cltk_path + '/latin/text/latin_text_latin_library', \n    '.*\\.txt',\n    word_tokenizer=word_tokenizer, \n    sent_tokenizer=sent_tokenizer, \n    encoding='utf-8')    \n    pass\nexcept IOError as e:\n    print(\"Corpus not found. Please check that the Latin Library is installed in CLTK_DATA.\")\n", "path": "cltk/corpus/latin/__init__.py"}]}