eyecite-ts 0.31.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/dist/annotate/index.d.cts +1 -1
- package/dist/annotate/index.d.mts +1 -1
- package/dist/{citation-CF4OCqrj.d.cts → citation-B-yowJ6z.d.cts} +48 -1
- package/dist/citation-B-yowJ6z.d.cts.map +1 -0
- package/dist/{citation-D-erWRnr.d.mts → citation-Bua0pebn.d.mts} +48 -1
- package/dist/citation-Bua0pebn.d.mts.map +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -7
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +50 -7
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/{types-51QezvLS.d.cts → types-BI-jP2VF.d.mts} +2 -2
- package/dist/{types-51QezvLS.d.cts.map → types-BI-jP2VF.d.mts.map} +1 -1
- package/dist/{types-BmVt4hE6.d.mts → types-Cgi0FyTj.d.cts} +2 -2
- package/dist/{types-BmVt4hE6.d.mts.map → types-Cgi0FyTj.d.cts.map} +1 -1
- package/dist/utils/index.d.cts +2 -2
- package/dist/utils/index.d.mts +2 -2
- package/package.json +3 -1
- package/dist/citation-CF4OCqrj.d.cts.map +0 -1
- package/dist/citation-D-erWRnr.d.mts.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as spanFromGroupIndex, A as ShortFormCitation, B as CaseComponentSpans, C as ParallelGroup, D as RegulationCitation, E as PublicLawCitation, F as SubsequentHistoryEntry, G as NeutralComponentSpans, H as FederalRegisterComponentSpans, I as SupraCitation, J as StatuteComponentSpans, K as PublicLawComponentSpans, L as TreatiseCitation, M as StatuteCitation, N as StatutesAtLargeCitation, O as RestatementCitation, P as StringCitationGroup, Q as TransformationMap, R as Warning, S as NeutralCitation, T as ParentheticalType, U as FederalRuleComponentSpans, V as ConstitutionalComponentSpans, W as JournalComponentSpans, X as TreatiseComponentSpans, Y as StatutesAtLargeComponentSpans, Z as Span, _ as HistoryChain, a as CitationOfType, b as IdCitation, c as ConstitutionalCitation, d as ExtractorMap, et as PinciteInfo, f as FederalRegisterCitation, g as FullCitationType, h as FullCitation, i as CitationId, j as ShortFormCitationType, k as ShortFormCaseCitation, l as CourtInference, m as FullCaseCitation, n as Citation, o as CitationSignal, p as FederalRuleCitation, q as RestatementComponentSpans, r as CitationBase, s as CitationType, t as AnnotationCitation, tt as parsePincite, u as DocketCitation, v as HistoryLink, w as Parenthetical, x as JournalCitation, y as HistorySignal, z as AnnotationComponentSpans } from "./citation-
|
|
2
|
-
import { a as FootnoteMap, i as ScopeStrategy, n as ResolutionResult, o as FootnoteZone, r as ResolvedCitation, t as ResolutionOptions } from "./types-
|
|
1
|
+
import { $ as spanFromGroupIndex, A as ShortFormCitation, B as CaseComponentSpans, C as ParallelGroup, D as RegulationCitation, E as PublicLawCitation, F as SubsequentHistoryEntry, G as NeutralComponentSpans, H as FederalRegisterComponentSpans, I as SupraCitation, J as StatuteComponentSpans, K as PublicLawComponentSpans, L as TreatiseCitation, M as StatuteCitation, N as StatutesAtLargeCitation, O as RestatementCitation, P as StringCitationGroup, Q as TransformationMap, R as Warning, S as NeutralCitation, T as ParentheticalType, U as FederalRuleComponentSpans, V as ConstitutionalComponentSpans, W as JournalComponentSpans, X as TreatiseComponentSpans, Y as StatutesAtLargeComponentSpans, Z as Span, _ as HistoryChain, a as CitationOfType, b as IdCitation, c as ConstitutionalCitation, d as ExtractorMap, et as PinciteInfo, f as FederalRegisterCitation, g as FullCitationType, h as FullCitation, i as CitationId, j as ShortFormCitationType, k as ShortFormCaseCitation, l as CourtInference, m as FullCaseCitation, n as Citation, o as CitationSignal, p as FederalRuleCitation, q as RestatementComponentSpans, r as CitationBase, s as CitationType, t as AnnotationCitation, tt as parsePincite, u as DocketCitation, v as HistoryLink, w as Parenthetical, x as JournalCitation, y as HistorySignal, z as AnnotationComponentSpans } from "./citation-B-yowJ6z.cjs";
|
|
2
|
+
import { a as FootnoteMap, i as ScopeStrategy, n as ResolutionResult, o as FootnoteZone, r as ResolvedCitation, t as ResolutionOptions } from "./types-Cgi0FyTj.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/types/guards.d.ts
|
|
5
5
|
/**
|
|
@@ -146,6 +146,26 @@ interface ExtractOptions {
|
|
|
146
146
|
filterFalsePositives?: boolean;
|
|
147
147
|
/** Detect footnote zones and annotate citations with inFootnote/footnoteNumber (default: false) */
|
|
148
148
|
detectFootnotes?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Strict subordinate model for citations nested inside explanatory
|
|
151
|
+
* parentheticals — e.g. the `Doe v. City, 100 F.2d 1` in
|
|
152
|
+
* `... (quoting Doe v. City, 100 F.2d 1)` (default: false; #851).
|
|
153
|
+
*
|
|
154
|
+
* Such nested citations are ALWAYS linked onto their host's
|
|
155
|
+
* `Parenthetical.citations` (the `in-parenthetical-of` edge). This flag
|
|
156
|
+
* controls whether they ALSO remain in the top-level result array:
|
|
157
|
+
* - `false` (default): additive and non-breaking — the nested cite stays a
|
|
158
|
+
* top-level peer, so a later case short form can still resolve to a case
|
|
159
|
+
* first cited in a parenthetical (Bluebook Rule 10.9(a)).
|
|
160
|
+
* - `true`: the nested cite is REMOVED from the top-level array and reachable
|
|
161
|
+
* only by traversing its host's `Parenthetical.citations` (it is then absent
|
|
162
|
+
* from `byId(result)`) — the resolver and the cross-citation groupers no
|
|
163
|
+
* longer treat it as a top-level candidate.
|
|
164
|
+
*
|
|
165
|
+
* Either way, `Id.`/`supra` never bind to a paren-child (Rule 4.1/4.2) — that
|
|
166
|
+
* exclusion lives in the resolver and is independent of this flag.
|
|
167
|
+
*/
|
|
168
|
+
excludeParentheticalChildren?: boolean;
|
|
149
169
|
}
|
|
150
170
|
/**
|
|
151
171
|
* Extracts legal citations from text using the full parsing pipeline.
|
|
@@ -242,6 +262,30 @@ declare function extractCitationsAsync(text: string, options: ExtractOptions & {
|
|
|
242
262
|
}): Promise<ResolvedCitation[]>;
|
|
243
263
|
declare function extractCitationsAsync(text: string, options?: ExtractOptions): Promise<Citation[]>;
|
|
244
264
|
//#endregion
|
|
265
|
+
//#region src/extract/errors.d.ts
|
|
266
|
+
/**
|
|
267
|
+
* Extractor error types.
|
|
268
|
+
*
|
|
269
|
+
* @module extract/errors
|
|
270
|
+
*/
|
|
271
|
+
/**
|
|
272
|
+
* Thrown by an extractor when the tokenizer admitted a candidate that the
|
|
273
|
+
* extractor's stricter internal re-parse regex cannot parse — a tokenizer /
|
|
274
|
+
* extractor regex divergence (e.g. a journal name containing an apostrophe,
|
|
275
|
+
* which the extractor's `[A-Za-z.\s]` name class rejects).
|
|
276
|
+
*
|
|
277
|
+
* The orchestrator (`extractCitations`) catches this specific type and
|
|
278
|
+
* **declines the candidate** — skipping that one token — rather than letting
|
|
279
|
+
* a single malformed match crash the whole document (#881). Any other error
|
|
280
|
+
* is treated as a genuine bug and propagates so it stays visible.
|
|
281
|
+
*
|
|
282
|
+
* A direct caller of an individual extractor still receives a thrown
|
|
283
|
+
* `CitationParseError` for a malformed token, and may catch it explicitly.
|
|
284
|
+
*/
|
|
285
|
+
declare class CitationParseError extends Error {
|
|
286
|
+
constructor(message: string);
|
|
287
|
+
}
|
|
288
|
+
//#endregion
|
|
245
289
|
//#region src/extract/assignCitationIds.d.ts
|
|
246
290
|
/**
|
|
247
291
|
* Build a lookup from {@link CitationId} to its citation. Citations without an
|
|
@@ -795,10 +839,9 @@ declare class DocumentResolver {
|
|
|
795
839
|
private selectAntecedent;
|
|
796
840
|
/**
|
|
797
841
|
* Determines whether `Id.`'s pincite shape implies a case or statute
|
|
798
|
-
* antecedent.
|
|
799
|
-
*
|
|
800
|
-
*
|
|
801
|
-
* in the raw text but not on the IdCitation object.
|
|
842
|
+
* antecedent. A section-style pincite (`Id. § 1983`) is captured at
|
|
843
|
+
* extraction time as `sectionPincite` (#847), so we read that structured
|
|
844
|
+
* field instead of re-peeking raw text; page/paragraph/bare `Id.` → case.
|
|
802
845
|
*/
|
|
803
846
|
private getIdPreferredFamily;
|
|
804
847
|
/**
|
|
@@ -1144,5 +1187,5 @@ declare function analyzeDocument(text: string, citations: Citation[], opts?: {
|
|
|
1144
1187
|
transformationMap?: TransformationMap;
|
|
1145
1188
|
}): Document;
|
|
1146
1189
|
//#endregion
|
|
1147
|
-
export { type AnalyzedFootnoteZone, type AnnotationCitation, type AnnotationComponentSpans, type AttributionKind, type CaseComponentSpans, type Citation, type CitationBase, type CitationGraph, type CitationId, type CitationOfType, type CitationSignal, type CitationType, type CleanTextResult, type ConstitutionalCitation, type ConstitutionalComponentSpans, type CourtInference, type DocketCitation, type Document, DocumentResolver, type Edge, type ExtractOptions, type ExtractorMap, type FederalRegisterCitation, type FederalRegisterComponentSpans, type FederalRuleCitation, type FederalRuleComponentSpans, type FootnoteMap, type FootnoteZone, type FullCaseCitation, type FullCitation, type FullCitationType, type HistoryChain, type HistoryLink, type HistorySignal, type IdCitation, type JournalCitation, type JournalComponentSpans, type NeutralCitation, type NeutralComponentSpans, type ParallelGroup, type Parenthetical, type ParentheticalType, type PinciteInfo, type PublicLawCitation, type PublicLawComponentSpans, type QuoteAttribution, type ResolutionOptions, type ResolutionResult, type ResolvedCitation, type RestatementCitation, type RestatementComponentSpans, type ScopeStrategy, type ShortFormCaseCitation, type ShortFormCitation, type ShortFormCitationType, type Span, type StatuteCitation, type StatuteComponentSpans, type StatutesAtLargeCitation, type StatutesAtLargeComponentSpans, type StringCitationGroup, type SubsequentHistoryEntry, type SupraCitation, type Token, type TransformationMap, type TreatiseCitation, type TreatiseComponentSpans, type Warning, analyzeDocument, applyFalsePositiveFilters, assertUnreachable, byId, cleanText, detectFootnotes, extractAnnotation, extractCase, extractCitations, extractCitationsAsync, extractConstitutional, extractFederalRegister, extractFederalRule, extractJournal, extractNeutral, extractPublicLaw, extractRestatement, extractStatute, extractStatutesAtLarge, extractTreatise, isCaseCitation, isCitationType, isFullCitation, isShortFormCitation, normalizeCourt, parsePincite, resolveCitations, spanFromGroupIndex, stripMarkdownEmphasis, tokenize };
|
|
1190
|
+
export { type AnalyzedFootnoteZone, type AnnotationCitation, type AnnotationComponentSpans, type AttributionKind, type CaseComponentSpans, type Citation, type CitationBase, type CitationGraph, type CitationId, type CitationOfType, CitationParseError, type CitationSignal, type CitationType, type CleanTextResult, type ConstitutionalCitation, type ConstitutionalComponentSpans, type CourtInference, type DocketCitation, type Document, DocumentResolver, type Edge, type ExtractOptions, type ExtractorMap, type FederalRegisterCitation, type FederalRegisterComponentSpans, type FederalRuleCitation, type FederalRuleComponentSpans, type FootnoteMap, type FootnoteZone, type FullCaseCitation, type FullCitation, type FullCitationType, type HistoryChain, type HistoryLink, type HistorySignal, type IdCitation, type JournalCitation, type JournalComponentSpans, type NeutralCitation, type NeutralComponentSpans, type ParallelGroup, type Parenthetical, type ParentheticalType, type PinciteInfo, type PublicLawCitation, type PublicLawComponentSpans, type QuoteAttribution, type ResolutionOptions, type ResolutionResult, type ResolvedCitation, type RestatementCitation, type RestatementComponentSpans, type ScopeStrategy, type ShortFormCaseCitation, type ShortFormCitation, type ShortFormCitationType, type Span, type StatuteCitation, type StatuteComponentSpans, type StatutesAtLargeCitation, type StatutesAtLargeComponentSpans, type StringCitationGroup, type SubsequentHistoryEntry, type SupraCitation, type Token, type TransformationMap, type TreatiseCitation, type TreatiseComponentSpans, type Warning, analyzeDocument, applyFalsePositiveFilters, assertUnreachable, byId, cleanText, detectFootnotes, extractAnnotation, extractCase, extractCitations, extractCitationsAsync, extractConstitutional, extractFederalRegister, extractFederalRule, extractJournal, extractNeutral, extractPublicLaw, extractRestatement, extractStatute, extractStatutesAtLarge, extractTreatise, isCaseCitation, isCitationType, isFullCitation, isShortFormCitation, normalizeCourt, parsePincite, resolveCitations, spanFromGroupIndex, stripMarkdownEmphasis, tokenize };
|
|
1148
1191
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/guards.ts","../src/patterns/casePatterns.ts","../src/extract/extractCitations.ts","../src/extract/assignCitationIds.ts","../src/extract/filterFalsePositives.ts","../src/clean/cleaners.ts","../src/clean/cleanText.ts","../src/tokenize/tokenizer.ts","../src/extract/extractAnnotation.ts","../src/extract/extractCase.ts","../src/extract/extractConstitutional.ts","../src/extract/extractFederalRegister.ts","../src/extract/extractFederalRule.ts","../src/extract/extractJournal.ts","../src/extract/extractNeutral.ts","../src/extract/extractPublicLaw.ts","../src/extract/extractRestatement.ts","../src/extract/extractStatute.ts","../src/extract/extractStatutesAtLarge.ts","../src/extract/extractTreatise.ts","../src/extract/courtNormalization.ts","../src/resolve/DocumentResolver.ts","../src/resolve/index.ts","../src/footnotes/detectFootnotes.ts","../src/document/types.ts","../src/document/analyzer.ts"],"mappings":";;;;;;;AAyBA;;;iBAAgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,YAAA;;;;iBAOhD,mBAAA,CAAoB,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,iBAAA;;;AAArE;iBAOgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,gBAAA;;;;;iBAQhD,cAAA,WAAyB,YAAA,CAAA,CACvC,QAAA,EAAU,QAAA,EACV,IAAA,EAAM,CAAA,GACL,QAAA,IAAY,cAAA,CAAe,CAAA;;;;AAX9B;;;;;;;;;;AAQA;;;iBAuBgB,iBAAA,CAAkB,CAAA;;;UCtDjB,OAAA;EACf,EAAA;EACA,KAAA,EAAO,MAAA;EACP,WAAA;EACA,IAAA,EAAM,gBAAA;AAAA;;;;ADKR;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/guards.ts","../src/patterns/casePatterns.ts","../src/extract/extractCitations.ts","../src/extract/errors.ts","../src/extract/assignCitationIds.ts","../src/extract/filterFalsePositives.ts","../src/clean/cleaners.ts","../src/clean/cleanText.ts","../src/tokenize/tokenizer.ts","../src/extract/extractAnnotation.ts","../src/extract/extractCase.ts","../src/extract/extractConstitutional.ts","../src/extract/extractFederalRegister.ts","../src/extract/extractFederalRule.ts","../src/extract/extractJournal.ts","../src/extract/extractNeutral.ts","../src/extract/extractPublicLaw.ts","../src/extract/extractRestatement.ts","../src/extract/extractStatute.ts","../src/extract/extractStatutesAtLarge.ts","../src/extract/extractTreatise.ts","../src/extract/courtNormalization.ts","../src/resolve/DocumentResolver.ts","../src/resolve/index.ts","../src/footnotes/detectFootnotes.ts","../src/document/types.ts","../src/document/analyzer.ts"],"mappings":";;;;;;;AAyBA;;;iBAAgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,YAAA;;;;iBAOhD,mBAAA,CAAoB,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,iBAAA;;;AAArE;iBAOgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,gBAAA;;;;;iBAQhD,cAAA,WAAyB,YAAA,CAAA,CACvC,QAAA,EAAU,QAAA,EACV,IAAA,EAAM,CAAA,GACL,QAAA,IAAY,cAAA,CAAe,CAAA;;;;AAX9B;;;;;;;;;;AAQA;;;iBAuBgB,iBAAA,CAAkB,CAAA;;;UCtDjB,OAAA;EACf,EAAA;EACA,KAAA,EAAO,MAAA;EACP,WAAA;EACA,IAAA,EAAM,gBAAA;AAAA;;;;ADKR;;UEiDiB,cAAA;EFjD+C;;;;;;;AAOhE;;;;;;;EEyDE,QAAA,GAAW,KAAA,EAAO,IAAA;;;AFlDpB;;;;;;;;;;AAQA;;EE0DE,kBAAA,GAAqB,KAAA,EAAO,IAAA;;;;;;;;;;;;;;;EAgB5B,QAAA,GAAW,OAAA;;;;AFnDb;;;;;;;;ACtDA;;ECwHE,OAAA;EDpHM;;;;;;;;;;;;ACsDR;;EA8EE,iBAAA,GAAoB,iBAAA;;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B,IAAA;EAAc,EAAA;EAAY,MAAA,EAAQ,aAAA;AAAA;EACtD,IAAA;EAAyB,IAAA;EAAc,EAAA;AAAA;EACvC,IAAA;EAAqB,IAAA;EAAc,EAAA;EAAY,OAAA;EAAiB,QAAA;AAAA;EAChE,IAAA;EAA6B,IAAA;EAAc,EAAA;AAAA;;;;;;;;;;;;UAahC,aAAA;EACf,KAAA;EACA,KAAA,EAAO,IAAA;AAAA;;;;;;UAQQ,oBAAA;EACf,KAAA;EACA,GAAA;EACA,cAAA;EvB+KF;EuB7KE,eAAA;AAAA;;;;;;;UASe,QAAA;EvBuKd;EuBrKD,SAAA,EAAW,QAAA;EvBsKG;;;EuBjKd,UAAA,EAAY,IAAA;;EAGZ,cAAA,EAAgB,GAAA,SAAY,IAAA;;EAG5B,cAAA,EAAgB,GAAA,SAAY,IAAA;EvB2J4C;AA8b1E;EuBrlBE,iBAAA,EAAmB,gBAAA;;EAGnB,aAAA,EAAe,aAAA;;;EAIf,aAAA,GAAgB,oBAAA;AAAA;;;;AzB1FlB;;;;;;;;;iB0BLgB,eAAA,CACd,IAAA,UACA,SAAA,EAAW,QAAA,IACX,IAAA;EAAS,iBAAA,GAAoB,iBAAA;AAAA,IAC5B,QAAA"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as spanFromGroupIndex, A as ShortFormCitation, B as CaseComponentSpans, C as ParallelGroup, D as RegulationCitation, E as PublicLawCitation, F as SubsequentHistoryEntry, G as NeutralComponentSpans, H as FederalRegisterComponentSpans, I as SupraCitation, J as StatuteComponentSpans, K as PublicLawComponentSpans, L as TreatiseCitation, M as StatuteCitation, N as StatutesAtLargeCitation, O as RestatementCitation, P as StringCitationGroup, Q as TransformationMap, R as Warning, S as NeutralCitation, T as ParentheticalType, U as FederalRuleComponentSpans, V as ConstitutionalComponentSpans, W as JournalComponentSpans, X as TreatiseComponentSpans, Y as StatutesAtLargeComponentSpans, Z as Span, _ as HistoryChain, a as CitationOfType, b as IdCitation, c as ConstitutionalCitation, d as ExtractorMap, et as PinciteInfo, f as FederalRegisterCitation, g as FullCitationType, h as FullCitation, i as CitationId, j as ShortFormCitationType, k as ShortFormCaseCitation, l as CourtInference, m as FullCaseCitation, n as Citation, o as CitationSignal, p as FederalRuleCitation, q as RestatementComponentSpans, r as CitationBase, s as CitationType, t as AnnotationCitation, tt as parsePincite, u as DocketCitation, v as HistoryLink, w as Parenthetical, x as JournalCitation, y as HistorySignal, z as AnnotationComponentSpans } from "./citation-
|
|
2
|
-
import { a as FootnoteMap, i as ScopeStrategy, n as ResolutionResult, o as FootnoteZone, r as ResolvedCitation, t as ResolutionOptions } from "./types-
|
|
1
|
+
import { $ as spanFromGroupIndex, A as ShortFormCitation, B as CaseComponentSpans, C as ParallelGroup, D as RegulationCitation, E as PublicLawCitation, F as SubsequentHistoryEntry, G as NeutralComponentSpans, H as FederalRegisterComponentSpans, I as SupraCitation, J as StatuteComponentSpans, K as PublicLawComponentSpans, L as TreatiseCitation, M as StatuteCitation, N as StatutesAtLargeCitation, O as RestatementCitation, P as StringCitationGroup, Q as TransformationMap, R as Warning, S as NeutralCitation, T as ParentheticalType, U as FederalRuleComponentSpans, V as ConstitutionalComponentSpans, W as JournalComponentSpans, X as TreatiseComponentSpans, Y as StatutesAtLargeComponentSpans, Z as Span, _ as HistoryChain, a as CitationOfType, b as IdCitation, c as ConstitutionalCitation, d as ExtractorMap, et as PinciteInfo, f as FederalRegisterCitation, g as FullCitationType, h as FullCitation, i as CitationId, j as ShortFormCitationType, k as ShortFormCaseCitation, l as CourtInference, m as FullCaseCitation, n as Citation, o as CitationSignal, p as FederalRuleCitation, q as RestatementComponentSpans, r as CitationBase, s as CitationType, t as AnnotationCitation, tt as parsePincite, u as DocketCitation, v as HistoryLink, w as Parenthetical, x as JournalCitation, y as HistorySignal, z as AnnotationComponentSpans } from "./citation-Bua0pebn.mjs";
|
|
2
|
+
import { a as FootnoteMap, i as ScopeStrategy, n as ResolutionResult, o as FootnoteZone, r as ResolvedCitation, t as ResolutionOptions } from "./types-BI-jP2VF.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/types/guards.d.ts
|
|
5
5
|
/**
|
|
@@ -146,6 +146,26 @@ interface ExtractOptions {
|
|
|
146
146
|
filterFalsePositives?: boolean;
|
|
147
147
|
/** Detect footnote zones and annotate citations with inFootnote/footnoteNumber (default: false) */
|
|
148
148
|
detectFootnotes?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Strict subordinate model for citations nested inside explanatory
|
|
151
|
+
* parentheticals — e.g. the `Doe v. City, 100 F.2d 1` in
|
|
152
|
+
* `... (quoting Doe v. City, 100 F.2d 1)` (default: false; #851).
|
|
153
|
+
*
|
|
154
|
+
* Such nested citations are ALWAYS linked onto their host's
|
|
155
|
+
* `Parenthetical.citations` (the `in-parenthetical-of` edge). This flag
|
|
156
|
+
* controls whether they ALSO remain in the top-level result array:
|
|
157
|
+
* - `false` (default): additive and non-breaking — the nested cite stays a
|
|
158
|
+
* top-level peer, so a later case short form can still resolve to a case
|
|
159
|
+
* first cited in a parenthetical (Bluebook Rule 10.9(a)).
|
|
160
|
+
* - `true`: the nested cite is REMOVED from the top-level array and reachable
|
|
161
|
+
* only by traversing its host's `Parenthetical.citations` (it is then absent
|
|
162
|
+
* from `byId(result)`) — the resolver and the cross-citation groupers no
|
|
163
|
+
* longer treat it as a top-level candidate.
|
|
164
|
+
*
|
|
165
|
+
* Either way, `Id.`/`supra` never bind to a paren-child (Rule 4.1/4.2) — that
|
|
166
|
+
* exclusion lives in the resolver and is independent of this flag.
|
|
167
|
+
*/
|
|
168
|
+
excludeParentheticalChildren?: boolean;
|
|
149
169
|
}
|
|
150
170
|
/**
|
|
151
171
|
* Extracts legal citations from text using the full parsing pipeline.
|
|
@@ -242,6 +262,30 @@ declare function extractCitationsAsync(text: string, options: ExtractOptions & {
|
|
|
242
262
|
}): Promise<ResolvedCitation[]>;
|
|
243
263
|
declare function extractCitationsAsync(text: string, options?: ExtractOptions): Promise<Citation[]>;
|
|
244
264
|
//#endregion
|
|
265
|
+
//#region src/extract/errors.d.ts
|
|
266
|
+
/**
|
|
267
|
+
* Extractor error types.
|
|
268
|
+
*
|
|
269
|
+
* @module extract/errors
|
|
270
|
+
*/
|
|
271
|
+
/**
|
|
272
|
+
* Thrown by an extractor when the tokenizer admitted a candidate that the
|
|
273
|
+
* extractor's stricter internal re-parse regex cannot parse — a tokenizer /
|
|
274
|
+
* extractor regex divergence (e.g. a journal name containing an apostrophe,
|
|
275
|
+
* which the extractor's `[A-Za-z.\s]` name class rejects).
|
|
276
|
+
*
|
|
277
|
+
* The orchestrator (`extractCitations`) catches this specific type and
|
|
278
|
+
* **declines the candidate** — skipping that one token — rather than letting
|
|
279
|
+
* a single malformed match crash the whole document (#881). Any other error
|
|
280
|
+
* is treated as a genuine bug and propagates so it stays visible.
|
|
281
|
+
*
|
|
282
|
+
* A direct caller of an individual extractor still receives a thrown
|
|
283
|
+
* `CitationParseError` for a malformed token, and may catch it explicitly.
|
|
284
|
+
*/
|
|
285
|
+
declare class CitationParseError extends Error {
|
|
286
|
+
constructor(message: string);
|
|
287
|
+
}
|
|
288
|
+
//#endregion
|
|
245
289
|
//#region src/extract/assignCitationIds.d.ts
|
|
246
290
|
/**
|
|
247
291
|
* Build a lookup from {@link CitationId} to its citation. Citations without an
|
|
@@ -795,10 +839,9 @@ declare class DocumentResolver {
|
|
|
795
839
|
private selectAntecedent;
|
|
796
840
|
/**
|
|
797
841
|
* Determines whether `Id.`'s pincite shape implies a case or statute
|
|
798
|
-
* antecedent.
|
|
799
|
-
*
|
|
800
|
-
*
|
|
801
|
-
* in the raw text but not on the IdCitation object.
|
|
842
|
+
* antecedent. A section-style pincite (`Id. § 1983`) is captured at
|
|
843
|
+
* extraction time as `sectionPincite` (#847), so we read that structured
|
|
844
|
+
* field instead of re-peeking raw text; page/paragraph/bare `Id.` → case.
|
|
802
845
|
*/
|
|
803
846
|
private getIdPreferredFamily;
|
|
804
847
|
/**
|
|
@@ -1144,5 +1187,5 @@ declare function analyzeDocument(text: string, citations: Citation[], opts?: {
|
|
|
1144
1187
|
transformationMap?: TransformationMap;
|
|
1145
1188
|
}): Document;
|
|
1146
1189
|
//#endregion
|
|
1147
|
-
export { type AnalyzedFootnoteZone, type AnnotationCitation, type AnnotationComponentSpans, type AttributionKind, type CaseComponentSpans, type Citation, type CitationBase, type CitationGraph, type CitationId, type CitationOfType, type CitationSignal, type CitationType, type CleanTextResult, type ConstitutionalCitation, type ConstitutionalComponentSpans, type CourtInference, type DocketCitation, type Document, DocumentResolver, type Edge, type ExtractOptions, type ExtractorMap, type FederalRegisterCitation, type FederalRegisterComponentSpans, type FederalRuleCitation, type FederalRuleComponentSpans, type FootnoteMap, type FootnoteZone, type FullCaseCitation, type FullCitation, type FullCitationType, type HistoryChain, type HistoryLink, type HistorySignal, type IdCitation, type JournalCitation, type JournalComponentSpans, type NeutralCitation, type NeutralComponentSpans, type ParallelGroup, type Parenthetical, type ParentheticalType, type PinciteInfo, type PublicLawCitation, type PublicLawComponentSpans, type QuoteAttribution, type ResolutionOptions, type ResolutionResult, type ResolvedCitation, type RestatementCitation, type RestatementComponentSpans, type ScopeStrategy, type ShortFormCaseCitation, type ShortFormCitation, type ShortFormCitationType, type Span, type StatuteCitation, type StatuteComponentSpans, type StatutesAtLargeCitation, type StatutesAtLargeComponentSpans, type StringCitationGroup, type SubsequentHistoryEntry, type SupraCitation, type Token, type TransformationMap, type TreatiseCitation, type TreatiseComponentSpans, type Warning, analyzeDocument, applyFalsePositiveFilters, assertUnreachable, byId, cleanText, detectFootnotes, extractAnnotation, extractCase, extractCitations, extractCitationsAsync, extractConstitutional, extractFederalRegister, extractFederalRule, extractJournal, extractNeutral, extractPublicLaw, extractRestatement, extractStatute, extractStatutesAtLarge, extractTreatise, isCaseCitation, isCitationType, isFullCitation, isShortFormCitation, normalizeCourt, parsePincite, resolveCitations, spanFromGroupIndex, stripMarkdownEmphasis, tokenize };
|
|
1190
|
+
export { type AnalyzedFootnoteZone, type AnnotationCitation, type AnnotationComponentSpans, type AttributionKind, type CaseComponentSpans, type Citation, type CitationBase, type CitationGraph, type CitationId, type CitationOfType, CitationParseError, type CitationSignal, type CitationType, type CleanTextResult, type ConstitutionalCitation, type ConstitutionalComponentSpans, type CourtInference, type DocketCitation, type Document, DocumentResolver, type Edge, type ExtractOptions, type ExtractorMap, type FederalRegisterCitation, type FederalRegisterComponentSpans, type FederalRuleCitation, type FederalRuleComponentSpans, type FootnoteMap, type FootnoteZone, type FullCaseCitation, type FullCitation, type FullCitationType, type HistoryChain, type HistoryLink, type HistorySignal, type IdCitation, type JournalCitation, type JournalComponentSpans, type NeutralCitation, type NeutralComponentSpans, type ParallelGroup, type Parenthetical, type ParentheticalType, type PinciteInfo, type PublicLawCitation, type PublicLawComponentSpans, type QuoteAttribution, type ResolutionOptions, type ResolutionResult, type ResolvedCitation, type RestatementCitation, type RestatementComponentSpans, type ScopeStrategy, type ShortFormCaseCitation, type ShortFormCitation, type ShortFormCitationType, type Span, type StatuteCitation, type StatuteComponentSpans, type StatutesAtLargeCitation, type StatutesAtLargeComponentSpans, type StringCitationGroup, type SubsequentHistoryEntry, type SupraCitation, type Token, type TransformationMap, type TreatiseCitation, type TreatiseComponentSpans, type Warning, analyzeDocument, applyFalsePositiveFilters, assertUnreachable, byId, cleanText, detectFootnotes, extractAnnotation, extractCase, extractCitations, extractCitationsAsync, extractConstitutional, extractFederalRegister, extractFederalRule, extractJournal, extractNeutral, extractPublicLaw, extractRestatement, extractStatute, extractStatutesAtLarge, extractTreatise, isCaseCitation, isCitationType, isFullCitation, isShortFormCitation, normalizeCourt, parsePincite, resolveCitations, spanFromGroupIndex, stripMarkdownEmphasis, tokenize };
|
|
1148
1191
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/guards.ts","../src/patterns/casePatterns.ts","../src/extract/extractCitations.ts","../src/extract/assignCitationIds.ts","../src/extract/filterFalsePositives.ts","../src/clean/cleaners.ts","../src/clean/cleanText.ts","../src/tokenize/tokenizer.ts","../src/extract/extractAnnotation.ts","../src/extract/extractCase.ts","../src/extract/extractConstitutional.ts","../src/extract/extractFederalRegister.ts","../src/extract/extractFederalRule.ts","../src/extract/extractJournal.ts","../src/extract/extractNeutral.ts","../src/extract/extractPublicLaw.ts","../src/extract/extractRestatement.ts","../src/extract/extractStatute.ts","../src/extract/extractStatutesAtLarge.ts","../src/extract/extractTreatise.ts","../src/extract/courtNormalization.ts","../src/resolve/DocumentResolver.ts","../src/resolve/index.ts","../src/footnotes/detectFootnotes.ts","../src/document/types.ts","../src/document/analyzer.ts"],"mappings":";;;;;;;AAyBA;;;iBAAgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,YAAA;;;;iBAOhD,mBAAA,CAAoB,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,iBAAA;;;AAArE;iBAOgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,gBAAA;;;;;iBAQhD,cAAA,WAAyB,YAAA,CAAA,CACvC,QAAA,EAAU,QAAA,EACV,IAAA,EAAM,CAAA,GACL,QAAA,IAAY,cAAA,CAAe,CAAA;;;;AAX9B;;;;;;;;;;AAQA;;;iBAuBgB,iBAAA,CAAkB,CAAA;;;UCtDjB,OAAA;EACf,EAAA;EACA,KAAA,EAAO,MAAA;EACP,WAAA;EACA,IAAA,EAAM,gBAAA;AAAA;;;;ADKR;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/guards.ts","../src/patterns/casePatterns.ts","../src/extract/extractCitations.ts","../src/extract/errors.ts","../src/extract/assignCitationIds.ts","../src/extract/filterFalsePositives.ts","../src/clean/cleaners.ts","../src/clean/cleanText.ts","../src/tokenize/tokenizer.ts","../src/extract/extractAnnotation.ts","../src/extract/extractCase.ts","../src/extract/extractConstitutional.ts","../src/extract/extractFederalRegister.ts","../src/extract/extractFederalRule.ts","../src/extract/extractJournal.ts","../src/extract/extractNeutral.ts","../src/extract/extractPublicLaw.ts","../src/extract/extractRestatement.ts","../src/extract/extractStatute.ts","../src/extract/extractStatutesAtLarge.ts","../src/extract/extractTreatise.ts","../src/extract/courtNormalization.ts","../src/resolve/DocumentResolver.ts","../src/resolve/index.ts","../src/footnotes/detectFootnotes.ts","../src/document/types.ts","../src/document/analyzer.ts"],"mappings":";;;;;;;AAyBA;;;iBAAgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,YAAA;;;;iBAOhD,mBAAA,CAAoB,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,iBAAA;;;AAArE;iBAOgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,gBAAA;;;;;iBAQhD,cAAA,WAAyB,YAAA,CAAA,CACvC,QAAA,EAAU,QAAA,EACV,IAAA,EAAM,CAAA,GACL,QAAA,IAAY,cAAA,CAAe,CAAA;;;;AAX9B;;;;;;;;;;AAQA;;;iBAuBgB,iBAAA,CAAkB,CAAA;;;UCtDjB,OAAA;EACf,EAAA;EACA,KAAA,EAAO,MAAA;EACP,WAAA;EACA,IAAA,EAAM,gBAAA;AAAA;;;;ADKR;;UEiDiB,cAAA;EFjD+C;;;;;;;AAOhE;;;;;;;EEyDE,QAAA,GAAW,KAAA,EAAO,IAAA;;;AFlDpB;;;;;;;;;;AAQA;;EE0DE,kBAAA,GAAqB,KAAA,EAAO,IAAA;;;;;;;;;;;;;;;EAgB5B,QAAA,GAAW,OAAA;;;;AFnDb;;;;;;;;ACtDA;;ECwHE,OAAA;EDpHM;;;;;;;;;;;;ACsDR;;EA8EE,iBAAA,GAAoB,iBAAA;;;;;;;;;;;;;;;;;EAkBpB,oBAAA;;EAGA,eAAA;;;;AAkFF;;;;;;;;;;;AAIA;;;;;EAjEE,4BAAA;AAAA;;;;AA+fF;;;;;;;;;;;;;;;;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