最新克隆的Hanlp部分文件代码是python2的,可能需要改一下,LDC2013T19/ontonotes-release-5.0/conll-2012/v3/scripts/
- 跑多任务训练代码:python3 plugins/hanlp_demo/hanlp_demo/zh/train/open_small.py
1.文件地址:
.hanlp/thirdparty/catalog.ldc.upenn.edu/LDC2013T19/ontonotes-release-5.0/conll-2012/v3/scripts/
2.报错:
SyntaxError: invalid syntax skeleton2conll.sh: line 93: break: only meaningful in a for',
while’, or `until’ loop File “conll-2012/v3/scripts/skeleton2conll.py”, line 392 except InvalidSexprException, e: