Skip to content

Commit

Permalink
Merge pull request #114 from tats-u/deprecate_download_vcc2016data
Browse files Browse the repository at this point in the history
Add warning to download_vcc2016data.py
  • Loading branch information
k2kobayashi committed Aug 23, 2018
2 parents 89f9945 + c6f0944 commit 68d4005
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example/download_vcc2016data.py
Expand Up @@ -24,6 +24,7 @@
import urllib.parse
import urllib.request
from pathlib import Path
from sys import stderr
from tempfile import TemporaryDirectory

from docopt import docopt
Expand Down Expand Up @@ -62,6 +63,10 @@ def download(url, dest=None):


if __name__ == "__main__":
print(
"Warning: This script was replaced by download_corpus_data.py and"
" will be removed soon.",
file=stderr)
args = docopt(__doc__)
is_verbose = not args["--quiet"] # Whether prints regular messages
does_by_force = args["--force"]
Expand Down

0 comments on commit 68d4005

Please sign in to comment.