coli-saar / am-parser

Modular implementation of an AM dependency parser in AllenNLP.
Apache License 2.0
30 stars 10 forks source link

Stanford URLs no longer available #83

Closed alexanderkoller closed 4 years ago

alexanderkoller commented 4 years ago

Some URLs that scripts/setupAMR.sh is trying to download are no longer available.

These URLs indeed give a 404 when I try to access them with a browser. We should fix this asap.

(dozat) koller@tony-2:~/workspace/am-parser$ ./scripts/setup_AMR.sh 
mkdir: cannot create directory ‘tmp’: File exists
NER model not found at downloaded_models/stanford/english.conll.4class.distsim.crf.ser.gz, downloading it
--2020-05-25 18:14:34--  https://nlp.stanford.edu/software/stanford-ner-2018-10-16.zip
Resolving proxy.coli.uni-saarland.de (proxy.coli.uni-saarland.de)... 134.96.104.25
Connecting to proxy.coli.uni-saarland.de (proxy.coli.uni-saarland.de)|134.96.104.25|:3128... connected.
Proxy request sent, awaiting response... 404 NOT FOUND
2020-05-25 18:14:35 ERROR 404: NOT FOUND.

Archive:  tmp/stanford-ner-2018-10-16.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of tmp/stanford-ner-2018-10-16.zip or
        tmp/stanford-ner-2018-10-16.zip.zip, and cannot find tmp/stanford-ner-2018-10-16.zip.ZIP, period.
mv: cannot stat 'tmp/stanford-ner-2018-10-16/classifiers/english.conll.4class.distsim.crf.ser.gz': No such file or directory
POS model not found at downloaded_models/stanford/english-bidirectional-distsim.tagger, downloading it
--2020-05-25 18:14:35--  https://nlp.stanford.edu/software/stanford-postagger-2018-10-16.zip
Resolving proxy.coli.uni-saarland.de (proxy.coli.uni-saarland.de)... 134.96.104.25
Connecting to proxy.coli.uni-saarland.de (proxy.coli.uni-saarland.de)|134.96.104.25|:3128... connected.
Proxy request sent, awaiting response... 404 NOT FOUND
2020-05-25 18:14:36 ERROR 404: NOT FOUND.

Archive:  tmp/stanford-postagger-2018-10-16.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of tmp/stanford-postagger-2018-10-16.zip or
        tmp/stanford-postagger-2018-10-16.zip.zip, and cannot find tmp/stanford-postagger-2018-10-16.zip.ZIP, period.
mv: cannot stat 'tmp/stanford-postagger-2018-10-16/models/english-bidirectional-distsim.tagger': No such file or directory
namednil commented 4 years ago

Mhm, seems to work for me currently. Can you try again, just to make sure?

alexanderkoller commented 4 years ago

Hm, yes. Perhaps a temporary bug on their end? Closing the issue for now.