@@ -48,7 +48,7 @@ How to run the program
4848
4949Execute the following command.
5050
51- ``(allofplos)$ python -m allofplos.plos_corpus  ``
51+ ``(allofplos)$ python -m allofplos.update  ``
5252
5353The first time it runs it will download a >4.4 Gb zip file
5454(**allofplos_xml.zip **) with all the XML files inside.
@@ -59,7 +59,7 @@ allofplos\_xml directory inside your installation of `allofplos`.
5959
6060If you want to see the directory on your file system where this is installed run
6161
62- ``python -c "from allofplos.plos_regex  import corpusdir ; print(corpusdir )" ``
62+ ``python -c "from allofplos import get_corpus_dir ; print(get_corpus_dir() )" ``
6363
6464If you ever downloaded the corpus before, it will make an incremental
6565update to the existing corpus, the script checks for and then downloads
@@ -80,8 +80,8 @@ Here’s what the print statements might look like on a typical run:
8080
8181    147 new articles to download. 
8282    147 new articles downloaded. 
83-     3 corrected  articles found. 
84-     0 corrected  articles downloaded with new xml. 
83+     3 amended  articles found. 
84+     0 amended  articles downloaded with new xml. 
8585    Creating new text list of uncorrected proofs from scratch. 
8686    No new VOR articles indexed in Solr. 
8787    17 VOR articles directly downloaded. 
@@ -106,9 +106,9 @@ Should return something like this:
106106
107107::
108108
109-       ...... 
109+       ........  
110110      ---------------------------------------------------------------------- 
111-       Ran 6  tests in 3.327s  
111+       Ran 8  tests in 0.257s  
112112
113113      OK 
114114
0 commit comments