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 span of the segment within the document's text."""
54
+
"""A zero-based, half-open span into the Unicode code point space of input text.
55
+
56
+
All spans are globally laminar and well-nested similar to XML—it is impossible for any two spans to partially overlap; they can only be disjoint, adjacent, or wholly nested. Spans of the exact same type (e.g., segments) will never be duplicated.
57
+
58
+
A span cannot be empty and will never start or end at whitespace.
59
+
60
+
Note that, when using programming languages other than Python (which uses zero-based, half-open, Unicode code point-spaced string indexing), indices may need to be translated accordingly (for example, JavaScript slices into UTF-16 code units instead of Unicode code points).
61
+
"""
55
62
56
63
end: int
57
64
"""
@@ -78,7 +85,20 @@ class ResultDocumentCrossreference(BaseModel):
78
85
"""
79
86
80
87
span: ResultDocumentCrossreferenceSpan
81
-
"""The span of the segment within the document's text."""
88
+
"""A zero-based, half-open span into the Unicode code point space of input text.
89
+
90
+
All spans are globally laminar and well-nested similar to XML—it is impossible
91
+
for any two spans to partially overlap; they can only be disjoint, adjacent, or
92
+
wholly nested. Spans of the exact same type (e.g., segments) will never be
93
+
duplicated.
94
+
95
+
A span cannot be empty and will never start or end at whitespace.
96
+
97
+
Note that, when using programming languages other than Python (which uses
98
+
zero-based, half-open, Unicode code point-spaced string indexing), indices may
99
+
need to be translated accordingly (for example, JavaScript slices into UTF-16
100
+
code units instead of Unicode code points).
101
+
"""
82
102
83
103
start: str
84
104
"""
@@ -239,7 +259,14 @@ class ResultDocumentExternalDocumentMention(BaseModel):
"""The span of the segment within the document's text."""
262
+
"""A zero-based, half-open span into the Unicode code point space of input text.
263
+
264
+
All spans are globally laminar and well-nested similar to XML—it is impossible for any two spans to partially overlap; they can only be disjoint, adjacent, or wholly nested. Spans of the exact same type (e.g., segments) will never be duplicated.
265
+
266
+
A span cannot be empty and will never start or end at whitespace.
267
+
268
+
Note that, when using programming languages other than Python (which uses zero-based, half-open, Unicode code point-spaced string indexing), indices may need to be translated accordingly (for example, JavaScript slices into UTF-16 code units instead of Unicode code points).
269
+
"""
243
270
244
271
end: int
245
272
"""
@@ -308,7 +335,20 @@ class ResultDocumentExternalDocument(BaseModel):
308
335
"""
309
336
310
337
name: ResultDocumentExternalDocumentName
311
-
"""The span of the segment within the document's text."""
338
+
"""A zero-based, half-open span into the Unicode code point space of input text.
339
+
340
+
All spans are globally laminar and well-nested similar to XML—it is impossible
341
+
for any two spans to partially overlap; they can only be disjoint, adjacent, or
342
+
wholly nested. Spans of the exact same type (e.g., segments) will never be
343
+
duplicated.
344
+
345
+
A span cannot be empty and will never start or end at whitespace.
346
+
347
+
Note that, when using programming languages other than Python (which uses
348
+
zero-based, half-open, Unicode code point-spaced string indexing), indices may
349
+
need to be translated accordingly (for example, JavaScript slices into UTF-16
@@ -468,7 +508,14 @@ class ResultDocumentLocationMention(BaseModel):
468
508
469
509
470
510
classResultDocumentLocationName(BaseModel):
471
-
"""The span of the segment within the document's text."""
511
+
"""A zero-based, half-open span into the Unicode code point space of input text.
512
+
513
+
All spans are globally laminar and well-nested similar to XML—it is impossible for any two spans to partially overlap; they can only be disjoint, adjacent, or wholly nested. Spans of the exact same type (e.g., segments) will never be duplicated.
514
+
515
+
A span cannot be empty and will never start or end at whitespace.
516
+
517
+
Note that, when using programming languages other than Python (which uses zero-based, half-open, Unicode code point-spaced string indexing), indices may need to be translated accordingly (for example, JavaScript slices into UTF-16 code units instead of Unicode code points).
518
+
"""
472
519
473
520
end: int
474
521
"""
@@ -499,7 +546,20 @@ class ResultDocumentLocation(BaseModel):
499
546
"""
500
547
501
548
name: ResultDocumentLocationName
502
-
"""The span of the segment within the document's text."""
549
+
"""A zero-based, half-open span into the Unicode code point space of input text.
550
+
551
+
All spans are globally laminar and well-nested similar to XML—it is impossible
552
+
for any two spans to partially overlap; they can only be disjoint, adjacent, or
553
+
wholly nested. Spans of the exact same type (e.g., segments) will never be
554
+
duplicated.
555
+
556
+
A span cannot be empty and will never start or end at whitespace.
557
+
558
+
Note that, when using programming languages other than Python (which uses
559
+
zero-based, half-open, Unicode code point-spaced string indexing), indices may
560
+
need to be translated accordingly (for example, JavaScript slices into UTF-16
561
+
code units instead of Unicode code points).
562
+
"""
503
563
504
564
parent: Optional[str] =None
505
565
"""
@@ -538,7 +598,14 @@ class ResultDocumentPersonMention(BaseModel):
538
598
539
599
540
600
classResultDocumentPersonName(BaseModel):
541
-
"""The span of the segment within the document's text."""
601
+
"""A zero-based, half-open span into the Unicode code point space of input text.
602
+
603
+
All spans are globally laminar and well-nested similar to XML—it is impossible for any two spans to partially overlap; they can only be disjoint, adjacent, or wholly nested. Spans of the exact same type (e.g., segments) will never be duplicated.
604
+
605
+
A span cannot be empty and will never start or end at whitespace.
606
+
607
+
Note that, when using programming languages other than Python (which uses zero-based, half-open, Unicode code point-spaced string indexing), indices may need to be translated accordingly (for example, JavaScript slices into UTF-16 code units instead of Unicode code points).
608
+
"""
542
609
543
610
end: int
544
611
"""
@@ -569,7 +636,20 @@ class ResultDocumentPerson(BaseModel):
569
636
"""
570
637
571
638
name: ResultDocumentPersonName
572
-
"""The span of the segment within the document's text."""
639
+
"""A zero-based, half-open span into the Unicode code point space of input text.
640
+
641
+
All spans are globally laminar and well-nested similar to XML—it is impossible
642
+
for any two spans to partially overlap; they can only be disjoint, adjacent, or
643
+
wholly nested. Spans of the exact same type (e.g., segments) will never be
644
+
duplicated.
645
+
646
+
A span cannot be empty and will never start or end at whitespace.
647
+
648
+
Note that, when using programming languages other than Python (which uses
649
+
zero-based, half-open, Unicode code point-spaced string indexing), indices may
650
+
need to be translated accordingly (for example, JavaScript slices into UTF-16
651
+
code units instead of Unicode code points).
652
+
"""
573
653
574
654
parent: Optional[str] =None
575
655
"""
@@ -772,7 +852,14 @@ class ResultDocumentPhoneNumber(BaseModel):
772
852
773
853
774
854
classResultDocumentQuoteSpan(BaseModel):
775
-
"""The span of the segment within the document's text."""
855
+
"""A zero-based, half-open span into the Unicode code point space of input text.
856
+
857
+
All spans are globally laminar and well-nested similar to XML—it is impossible for any two spans to partially overlap; they can only be disjoint, adjacent, or wholly nested. Spans of the exact same type (e.g., segments) will never be duplicated.
858
+
859
+
A span cannot be empty and will never start or end at whitespace.
860
+
861
+
Note that, when using programming languages other than Python (which uses zero-based, half-open, Unicode code point-spaced string indexing), indices may need to be translated accordingly (for example, JavaScript slices into UTF-16 code units instead of Unicode code points).
862
+
"""
776
863
777
864
end: int
778
865
"""
@@ -815,7 +902,20 @@ class ResultDocumentQuote(BaseModel):
815
902
"""
816
903
817
904
span: ResultDocumentQuoteSpan
818
-
"""The span of the segment within the document's text."""
905
+
"""A zero-based, half-open span into the Unicode code point space of input text.
906
+
907
+
All spans are globally laminar and well-nested similar to XML—it is impossible
908
+
for any two spans to partially overlap; they can only be disjoint, adjacent, or
909
+
wholly nested. Spans of the exact same type (e.g., segments) will never be
910
+
duplicated.
911
+
912
+
A span cannot be empty and will never start or end at whitespace.
913
+
914
+
Note that, when using programming languages other than Python (which uses
915
+
zero-based, half-open, Unicode code point-spaced string indexing), indices may
916
+
need to be translated accordingly (for example, JavaScript slices into UTF-16
917
+
code units instead of Unicode code points).
918
+
"""
819
919
820
920
821
921
classResultDocumentSegmentCode(BaseModel):
@@ -842,7 +942,14 @@ class ResultDocumentSegmentCode(BaseModel):
842
942
843
943
844
944
classResultDocumentSegmentSpan(BaseModel):
845
-
"""The span of the segment within the document's text."""
945
+
"""A zero-based, half-open span into the Unicode code point space of input text.
946
+
947
+
All spans are globally laminar and well-nested similar to XML—it is impossible for any two spans to partially overlap; they can only be disjoint, adjacent, or wholly nested. Spans of the exact same type (e.g., segments) will never be duplicated.
948
+
949
+
A span cannot be empty and will never start or end at whitespace.
950
+
951
+
Note that, when using programming languages other than Python (which uses zero-based, half-open, Unicode code point-spaced string indexing), indices may need to be translated accordingly (for example, JavaScript slices into UTF-16 code units instead of Unicode code points).
952
+
"""
846
953
847
954
end: int
848
955
"""
@@ -981,7 +1088,20 @@ class ResultDocumentSegment(BaseModel):
981
1088
"""
982
1089
983
1090
span: ResultDocumentSegmentSpan
984
-
"""The span of the segment within the document's text."""
1091
+
"""A zero-based, half-open span into the Unicode code point space of input text.
1092
+
1093
+
All spans are globally laminar and well-nested similar to XML—it is impossible
1094
+
for any two spans to partially overlap; they can only be disjoint, adjacent, or
1095
+
wholly nested. Spans of the exact same type (e.g., segments) will never be
1096
+
duplicated.
1097
+
1098
+
A span cannot be empty and will never start or end at whitespace.
1099
+
1100
+
Note that, when using programming languages other than Python (which uses
1101
+
zero-based, half-open, Unicode code point-spaced string indexing), indices may
1102
+
need to be translated accordingly (for example, JavaScript slices into UTF-16
1103
+
code units instead of Unicode code points).
1104
+
"""
985
1105
986
1106
title: Optional[ResultDocumentSegmentTitle] =None
987
1107
"""A zero-based, half-open span into the Unicode code point space of input text.
@@ -1110,7 +1230,14 @@ class ResultDocumentSubtitle(BaseModel):
1110
1230
1111
1231
1112
1232
classResultDocumentTermMeaning(BaseModel):
1113
-
"""The span of the segment within the document's text."""
1233
+
"""A zero-based, half-open span into the Unicode code point space of input text.
1234
+
1235
+
All spans are globally laminar and well-nested similar to XML—it is impossible for any two spans to partially overlap; they can only be disjoint, adjacent, or wholly nested. Spans of the exact same type (e.g., segments) will never be duplicated.
1236
+
1237
+
A span cannot be empty and will never start or end at whitespace.
1238
+
1239
+
Note that, when using programming languages other than Python (which uses zero-based, half-open, Unicode code point-spaced string indexing), indices may need to be translated accordingly (for example, JavaScript slices into UTF-16 code units instead of Unicode code points).
1240
+
"""
1114
1241
1115
1242
end: int
1116
1243
"""
@@ -1149,7 +1276,14 @@ class ResultDocumentTermMention(BaseModel):
1149
1276
1150
1277
1151
1278
classResultDocumentTermName(BaseModel):
1152
-
"""The span of the segment within the document's text."""
1279
+
"""A zero-based, half-open span into the Unicode code point space of input text.
1280
+
1281
+
All spans are globally laminar and well-nested similar to XML—it is impossible for any two spans to partially overlap; they can only be disjoint, adjacent, or wholly nested. Spans of the exact same type (e.g., segments) will never be duplicated.
1282
+
1283
+
A span cannot be empty and will never start or end at whitespace.
1284
+
1285
+
Note that, when using programming languages other than Python (which uses zero-based, half-open, Unicode code point-spaced string indexing), indices may need to be translated accordingly (for example, JavaScript slices into UTF-16 code units instead of Unicode code points).
1286
+
"""
1153
1287
1154
1288
end: int
1155
1289
"""
@@ -1174,7 +1308,20 @@ class ResultDocumentTerm(BaseModel):
1174
1308
"""
1175
1309
1176
1310
meaning: ResultDocumentTermMeaning
1177
-
"""The span of the segment within the document's text."""
1311
+
"""A zero-based, half-open span into the Unicode code point space of input text.
1312
+
1313
+
All spans are globally laminar and well-nested similar to XML—it is impossible
1314
+
for any two spans to partially overlap; they can only be disjoint, adjacent, or
1315
+
wholly nested. Spans of the exact same type (e.g., segments) will never be
1316
+
duplicated.
1317
+
1318
+
A span cannot be empty and will never start or end at whitespace.
1319
+
1320
+
Note that, when using programming languages other than Python (which uses
1321
+
zero-based, half-open, Unicode code point-spaced string indexing), indices may
1322
+
need to be translated accordingly (for example, JavaScript slices into UTF-16
1323
+
code units instead of Unicode code points).
1324
+
"""
1178
1325
1179
1326
mentions: List[ResultDocumentTermMention]
1180
1327
"""
@@ -1186,7 +1333,20 @@ class ResultDocumentTerm(BaseModel):
1186
1333
"""
1187
1334
1188
1335
name: ResultDocumentTermName
1189
-
"""The span of the segment within the document's text."""
1336
+
"""A zero-based, half-open span into the Unicode code point space of input text.
1337
+
1338
+
All spans are globally laminar and well-nested similar to XML—it is impossible
1339
+
for any two spans to partially overlap; they can only be disjoint, adjacent, or
1340
+
wholly nested. Spans of the exact same type (e.g., segments) will never be
1341
+
duplicated.
1342
+
1343
+
A span cannot be empty and will never start or end at whitespace.
1344
+
1345
+
Note that, when using programming languages other than Python (which uses
1346
+
zero-based, half-open, Unicode code point-spaced string indexing), indices may
1347
+
need to be translated accordingly (for example, JavaScript slices into UTF-16
0 commit comments