aboSamoor / polyglot

Multilingual text (NLP) processing toolkit
http://polyglot-nlp.com
Other
2.32k stars 338 forks source link

downloading pos2.zh has errors #200

Open cici-tan opened 5 years ago

cici-tan commented 5 years ago

localhost:NLP_4_memo cicitan$ polyglot download pos2.zh [polyglot_data] Error loading pos2.zh: Package 'pos2.zh' not found in [polyglot_data] index Error installing package. Retry? [n/y/e] y Traceback (most recent call last): File "/usr/local/bin/polyglot", line 11, in sys.exit(main()) File "/usr/local/lib/python3.7/site-packages/polyglot/main.py", line 280, in main args.func(args) File "/usr/local/lib/python3.7/site-packages/polyglot/main.py", line 110, in download halt_on_error=args.halt_on_error) File "/usr/local/lib/python3.7/site-packages/polyglot/downloader.py", line 676, in download if not self.download(msg.package.id, download_dir, AttributeError: 'NoneType' object has no attribute 'id' localhost:NLP_4_memo cicitan$ !polyglot download pos2.zh polyglot download pos2.zh download pos2.zh [polyglot_data] Error loading pos2.zh: Package 'pos2.zh' not found in [polyglot_data] index Error installing package. Retry? [n/y/e] y Traceback (most recent call last): File "/usr/local/bin/polyglot", line 11, in sys.exit(main()) File "/usr/local/lib/python3.7/site-packages/polyglot/main.py", line 280, in main args.func(args) File "/usr/local/lib/python3.7/site-packages/polyglot/main.py", line 110, in download halt_on_error=args.halt_on_error) File "/usr/local/lib/python3.7/site-packages/polyglot/downloader.py", line 676, in download if not self.download(msg.package.id, download_dir, AttributeError: 'NoneType' object has no attribute 'id'