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
"""Provide the ability to find annotations that are contained by another annotation.
285
+
The input is 2 Dataframes of AQAnnotations. We will call them A and B.
286
+
The purpose is to find those annotations in A that are contained in B. What that means is the start/end offset for an annotation from A must be contained by the start/end offset from an annotation in B.
287
+
We of course have to also match on the document id.
288
+
We ultimately return a Dataframe with 2 fields where the first field is an annotation from B and the second field is an array of entries from A
289
+
that are contained in the first entry.
290
+
291
+
Args:
292
+
left: Dataframe of AQAnnotations, the ones we will return (as a list) if they are contained in AQAnnotations from 'right'.
293
+
right: Dataframe of AQAnnotations, the ones we are looking to see if they contain AQAnnotations from 'left'.
0 commit comments