Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

"Error whilst attempting to add TIMEX" #5

Open
leondz opened this issue Jun 10, 2011 · 1 comment
Open

"Error whilst attempting to add TIMEX" #5

leondz opened this issue Jun 10, 2011 · 1 comment

Comments

@leondz
Copy link

leondz commented Jun 10, 2011

From TimeBank:

wsj_0586.tml

TERNIP: WARNING: Error whilst attempting to add TIMEX
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 640, in reconcile
self._add_timex(timex, sents[i], s_nodes[i])
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 521, in _add_timex
self._add_timex_child(timex, sent, s_node, start, end)
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 487, in _add_timex_child
raise nesting_error('Can not tag TIMEX (' + str(timex) + ') without causing invalid XML nesting')
nesting_error: Can not tag TIMEX (<ternip.timex.timex instance at 0x235eb00>) without causing invalid XML nesting

when called with annotate_timex -s -t timeml

@leondz
Copy link
Author

leondz commented Jul 29, 2011

Also in TAC_2010_KBP_Source_Data/data/2010/wb/eng-WL-11-174596-12957493.sgm (http://pastebin.com/Wz2QKEAZ):

..

..TERNIP: WARNING: Error whilst attempting to add TIMEX
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 640, in reconcile
self._add_timex(timex, sents[i], s_nodes[i])
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 521, in _add_timex
self._add_timex_child(timex, sent, s_node, start, end)
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 487, in _add_timex_child
raise nesting_error('Can not tag TIMEX (' + str(timex) + ') without causing invalid XML nesting')
nesting_error: Can not tag TIMEX (<ternip.timex.timex instance at 0x3a09c20>) without causing invalid XML nesting

TERNIP: WARNING: Error whilst attempting to add TIMEX
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 640, in reconcile
self._add_timex(timex, sents[i], s_nodes[i])
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 515, in _add_timex
self._add_timex(timex, sent[start_extent:end_extent], child)
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 515, in _add_timex
self._add_timex(timex, sent[start_extent:end_extent], child)
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 515, in _add_timex
self._add_timex(timex, sent[start_extent:end_extent], child)
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 521, in _add_timex
self._add_timex_child(timex, sent, s_node, start, end)
File "/usr/local/lib/python2.6/dist-packages/ternip/formats/xml_doc.py", line 487, in _add_timex_child
raise nesting_error('Can not tag TIMEX (' + str(timex) + ') without causing invalid XML nesting')
nesting_error: Can not tag TIMEX (<ternip.timex.timex instance at 0x512cc68>) without causing invalid XML nesting

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant