Open I-himawari opened 6 years ago
the issue is actually that parts of speech tagging for japanese is not supported by polyglot. The error misleads you to believe that pos2.ja exists and is not downloaded. See this documentation for pos page to see which all language is supported for pos.
When I do tokenization Japanese, displayed "ValueError: Package 'pos2.ja' not found in index". But, I installed TASK:post and TASK:unipos and pos2.ja package is not found
I tried to install 'pos2.ka' by cli. But not found.
[polyglot_data] Error loading pos2.ja: Package 'pos2.ja' 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.5/dist-packages/polyglot/main.py", line 280, in main
args.func(args)
File "/usr/local/lib/python3.5/dist-packages/polyglot/main.py", line 110, in download
halt_on_error=args.halt_on_error)
File "/usr/local/lib/python3.5/dist-packages/polyglot/downloader.py", line 676, in download
if not self.download(msg.package.id, download_dir,
AttributeError: 'NoneType' object has no attribute 'id'
Please help.