Traceback (most recent call last):


 "d:\python35\lib\runpy.py", line 184, in _run_module_as_main

"__main__", mod_spec)


 "d:\python35\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "D:\python35\Scripts\hanlp.exe\__main__.py", line 9, in <module>


 "d:\python35\lib\site-packages\pyhanlp\main.py", line 99, in main

print(' '.join(term.toString() for term in segmenter.seg(any2utf8(line))))
TypeError: sequence item 0: expected str instance, java.lang.String found

Traceback (most recent call last):


 "hae.py", line 295, in <module>

main()


 "hae.py", line 275, in main

total_cost.extend(np_loss * np_num_seqs)
TypeError: unsupported operand type(s) for *: 'NoneType' and 'long'
