practNLPTools-lite icon indicating copy to clipboard operation
practNLPTools-lite copied to clipboard

Error

Open shihuanting opened this issue 3 years ago • 5 comments

from pntl.tools import Annotator text = "Unlike the classic PPP technique, in our new approach, the ionospheric-free linear combination is not used." annotator = Annotator()

'srl'返回字典列表,标识句子中各种动词的语义角色。

result = [] result = annotator.get_annoations(text)['srl'] I reported an error after running this code OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: ''

shihuanting avatar Mar 26 '21 13:03 shihuanting

I have no idea that senna could run non-english🙈 text. This error could be raised from senna directly or from you system terminal

jawahar273 avatar Mar 26 '21 14:03 jawahar273

I have no idea that senna could run non-english🙈 text. This error could be raised from senna directly or from you system terminal I am running English text. Is senna only in win32, not win64?

shihuanting avatar Mar 27 '21 01:03 shihuanting

Senna don't have different between Windows32 or Windows 64. Check you terminal support UTF

jawahar273 avatar Mar 27 '21 06:03 jawahar273

annotator.get_annoations("He created the robot and broke it after making it")["srl"] Why is the output like this[{'A0': 'H e , c r e a t e d , t h e r o b o t a n d b r o k e i', 'V': 't', 'A1': 'a f t e r m a k i n g i t'}]

shihuanting avatar Mar 29 '21 09:03 shihuanting

I count not find the root😑. But you found the issue or like to get your hands dirty please free to PR❤️

jawahar273 avatar Apr 13 '21 03:04 jawahar273