You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue happens in utils.py line 183
I check the source code of corenlp, the function of word_tokenize() only has two arguments that are self and sent, i don't know where the boolean argument come from.
If possible, could you please help me to solve this problem? Or provide the processed ACE data?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hi, thanks for your reply.
I found the problem!
My corenlp version is 3.7.0.2, when i upgrade its version, it works.
However, another problem has happened, the log is:
Traceback (most recent call last):
File "train.py", line 26, in
tf.app.run()
File "/home/.conda/envs/ace/lib/python3.8/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/home/.conda/envs/ace/lib/python3.8/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/.conda/envs/ace/lib/python3.8/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "train.py", line 15, in main
extractor.Extract()
File "/home/HMEAE-master/utils.py", line 386, in Extract
self.Event_Extract()
File "/home/HMEAE-master/utils.py", line 198, in Event_Extract
idx_start,idx_end = self.find_index(find_offsets,(e['start'],e['end']))
File "/home/HMEAE-master/utils.py", line 43, in find_index
assert idx_start!=-1 and idx_end!=-1
AssertionError
Could you please help me to solve this problem?
Thank you very much!
The issue happens in utils.py line 183
I check the source code of corenlp, the function of word_tokenize() only has two arguments that are self and sent, i don't know where the boolean argument come from.
If possible, could you please help me to solve this problem? Or provide the processed ACE data?
Thanks a lot!
The text was updated successfully, but these errors were encountered: