malt-parser

malt parser gives assertion error when using it with nltk

佐手、 提交于 2020-03-16 06:35:34
问题 I am using malt parser with python nltk. I have successfully downloaded the training data and updated the latest nltk. When I call the malt parser it gives me an asertion error. Below is the code from python which includes the traceback as well. mp = MaltParser("C:/Users/mustufain/Desktop/Python Files/maltparser-1.8.1","C:/Users/mustufain/Desktop/Python Files/maltparser-1.7.2",additional_java_args=['-Xmx512m']) Traceback (most recent call last): File "<pyshell#10>", line 1, in <module> mp =

malt parser gives assertion error when using it with nltk

人盡茶涼 提交于 2020-03-16 06:35:09
问题 I am using malt parser with python nltk. I have successfully downloaded the training data and updated the latest nltk. When I call the malt parser it gives me an asertion error. Below is the code from python which includes the traceback as well. mp = MaltParser("C:/Users/mustufain/Desktop/Python Files/maltparser-1.8.1","C:/Users/mustufain/Desktop/Python Files/maltparser-1.7.2",additional_java_args=['-Xmx512m']) Traceback (most recent call last): File "<pyshell#10>", line 1, in <module> mp =