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
I was wondering if you could explain how you obtained the 'xid' values for the annotations in the dataset. Did you perform breadth or depth first search and number elements in the DOM according to the traversal? Were there any other specifications to count the elements, such as whether they were visible or not?
Thank you!
The text was updated successfully, but these errors were encountered:
Hello. The xids were generated in the order where the open tag appears (which is equivalent to depth-first search). All tags, including invisible ones, get an xid.
The dataset, which was processed by beautifulsoup, uses the following
for x in soup.body(True): # Select all nodes
x['data-xid'] = i
i += 1
Hi,
I was wondering if you could explain how you obtained the 'xid' values for the annotations in the dataset. Did you perform breadth or depth first search and number elements in the DOM according to the traversal? Were there any other specifications to count the elements, such as whether they were visible or not?
Thank you!
The text was updated successfully, but these errors were encountered: