Traceback (most recent call last):
File "amr_parsing.py", line 436, in
main()
File "amr_parsing.py", line 169, in main
instances = preprocess(amr_file,START_SNLP=True,INPUT_AMR=args.amrfmt, PRP_FORMAT=args.prpfmt)
File "/home/anjalie/AMRParsing/preprocessing.py", line 504, in preprocess
dparser.parse(tok_sent_filename)
File "/home/anjalie/AMRParsing/depparser.py", line 29, in parse
path_to_model = download_and_install_model(model_type,'./bllip-parser/models')
File "/home/anjalie/.local/lib/python2.7/site-packages/bllipparser/ModelFetcher.py", line 124, in download_and_install_model
reporthook=status_func)
File "/usr/lib/python2.7/urllib.py", line 289, in retrieve
"of %i bytes" % (read, size), result)
urllib.ContentTooShortError: retrieval incomplete: got only 26754356 out of 86444864 bytes
no matter the content of my text file I keep running into this issue:
$ python amr_parsing.py -m preprocess text2 Read token,lemma,name entity file text2.prp...
Traceback (most recent call last): File "amr_parsing.py", line 436, in
main()
File "amr_parsing.py", line 169, in main
instances = preprocess(amr_file,START_SNLP=True,INPUT_AMR=args.amrfmt, PRP_FORMAT=args.prpfmt)
File "/home/anjalie/AMRParsing/preprocessing.py", line 504, in preprocess
dparser.parse(tok_sent_filename)
File "/home/anjalie/AMRParsing/depparser.py", line 29, in parse
path_to_model = download_and_install_model(model_type,'./bllip-parser/models')
File "/home/anjalie/.local/lib/python2.7/site-packages/bllipparser/ModelFetcher.py", line 124, in download_and_install_model
reporthook=status_func)
File "/usr/lib/python2.7/urllib.py", line 289, in retrieve
"of %i bytes" % (read, size), result)
urllib.ContentTooShortError: retrieval incomplete: got only 26754356 out of 86444864 bytes