eyecite-ts 0.17.5 → 0.18.1
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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +58 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +58 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -575,6 +575,14 @@ declare class DocumentResolver {
|
|
|
575
575
|
private readonly options;
|
|
576
576
|
private readonly context;
|
|
577
577
|
private readonly partyNameTree;
|
|
578
|
+
private readonly quoteZones;
|
|
579
|
+
/** Parenthesis depth at each citation's start (filled lazily by resolve()). */
|
|
580
|
+
private parenDepths;
|
|
581
|
+
/** Resolution results accumulated during the in-flight resolve() pass. */
|
|
582
|
+
private resolutions;
|
|
583
|
+
/** Resolved citations accumulated during the in-flight resolve() pass; used
|
|
584
|
+
* for fullSpan-based parenthetical-child detection on later candidates. */
|
|
585
|
+
private resolvedSoFar;
|
|
578
586
|
/**
|
|
579
587
|
* Creates a new DocumentResolver.
|
|
580
588
|
*
|
|
@@ -599,12 +607,59 @@ declare class DocumentResolver {
|
|
|
599
607
|
*/
|
|
600
608
|
private computeParenDepths;
|
|
601
609
|
/**
|
|
602
|
-
* Resolves Id
|
|
603
|
-
*
|
|
604
|
-
*
|
|
610
|
+
* Resolves `Id.` to the most recent preceding *cited authority*, respecting
|
|
611
|
+
* Bluebook signal categories, block-/inline-quote zones, and the family
|
|
612
|
+
* (case vs. statute) implied by `Id.`'s pincite shape (#480).
|
|
613
|
+
*
|
|
614
|
+
* Algorithm:
|
|
615
|
+
* 1. Walk backward from `currentIndex`, normalizing short-form citations
|
|
616
|
+
* (shortFormCase/supra/Id.) to their resolved antecedent. Dedupe by
|
|
617
|
+
* effective primary index so a case mentioned via a short-form earlier
|
|
618
|
+
* doesn't get double-counted with its full-cite further back.
|
|
619
|
+
* 2. Filter candidates that are parenthetical children (existing #214
|
|
620
|
+
* behavior) or in a quote zone outside `Id.`'s own zone.
|
|
621
|
+
* 3. Score remaining candidates: family-match dominates, then signal
|
|
622
|
+
* strength, then (implicitly) recency (first-added = most recent
|
|
623
|
+
* effective mention).
|
|
624
|
+
* 4. Apply the case-name window check to surface ambiguity when the prose
|
|
625
|
+
* immediately before `Id.` mentions a different case name.
|
|
605
626
|
*/
|
|
606
627
|
private resolveId;
|
|
607
628
|
/**
|
|
629
|
+
* Determines whether `Id.`'s pincite shape implies a case or statute
|
|
630
|
+
* antecedent. We peek at the cleaned text immediately after `Id.`'s span
|
|
631
|
+
* end because the regex in `extractIdCitation` only captures page-style
|
|
632
|
+
* pincites (`at NNN`, `¶ NNN`); a section-style pincite (`§ NNN`) lives
|
|
633
|
+
* in the raw text but not on the IdCitation object.
|
|
634
|
+
*/
|
|
635
|
+
private getIdPreferredFamily;
|
|
636
|
+
/**
|
|
637
|
+
* Computes the "effective" signal for a citation. Citations inside a
|
|
638
|
+
* string-cite group inherit the leading signal of the group's first
|
|
639
|
+
* member when they have no signal of their own — the Bluebook rule that
|
|
640
|
+
* a leading signal governs the entire string cite.
|
|
641
|
+
*/
|
|
642
|
+
private getEffectiveSignal;
|
|
643
|
+
private isCandidateWeakSignal;
|
|
644
|
+
/**
|
|
645
|
+
* `(citing X)` / `(quoting Y)` detection (#214). Two strategies in OR:
|
|
646
|
+
* - paren depth > 0 at the citation's start (works for any prior
|
|
647
|
+
* citation type — statute, journal, etc.);
|
|
648
|
+
* - the citation's clean-span is wholly inside a previously-resolved
|
|
649
|
+
* citation's `fullSpan` (case-name-prefixed citations sometimes have
|
|
650
|
+
* `(...)` ranges that close before the paren-depth scan catches up).
|
|
651
|
+
*/
|
|
652
|
+
private isParentheticalChild;
|
|
653
|
+
/**
|
|
654
|
+
* Scans the prose between the previous citation and `Id.` for a case-name
|
|
655
|
+
* mention. If a name is found and doesn't match the picked antecedent's
|
|
656
|
+
* caseName/plaintiff/defendant, returns a downgraded confidence and an
|
|
657
|
+
* ambiguity warning so consumers can surface it for review. Matching
|
|
658
|
+
* names (or no name in the window) return undefined → caller uses the
|
|
659
|
+
* default Id. confidence of 1.0.
|
|
660
|
+
*/
|
|
661
|
+
private applyCaseNameWindowCheck;
|
|
662
|
+
/**
|
|
608
663
|
* Resolves supra citation by matching party name.
|
|
609
664
|
*/
|
|
610
665
|
private resolveSupra;
|
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/filterFalsePositives.ts","../src/clean/cleanText.ts","../src/tokenize/tokenizer.ts","../src/extract/extractCase.ts","../src/extract/extractConstitutional.ts","../src/extract/extractFederalRegister.ts","../src/extract/extractJournal.ts","../src/extract/extractNeutral.ts","../src/extract/extractPublicLaw.ts","../src/extract/extractStatute.ts","../src/extract/extractStatutesAtLarge.ts","../src/extract/courtNormalization.ts","../src/resolve/DocumentResolver.ts","../src/resolve/index.ts","../src/footnotes/detectFootnotes.ts"],"mappings":";;;;;;;iBAYgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,YAAA;;;;iBAiBhD,mBAAA,CAAoB,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,iBAAA;;;;iBAOrD,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,gBAAA;;AAPhE;;;iBAegB,cAAA,WAAyB,YAAA,CAAA,CACvC,QAAA,EAAU,QAAA,EACV,IAAA,EAAM,CAAA,GACL,QAAA,IAAY,cAAA,CAAe,CAAA;;;;;;;AAX9B;;;;;;;;;;iBA+BgB,iBAAA,CAAkB,CAAA;;;UCnDjB,OAAA;EACf,EAAA;EACA,KAAA,EAAO,MAAA;EACP,WAAA;EACA,IAAA,EAAM,gBAAA;AAAA;;;;ADRR;;UEgDiB,cAAA;EFhD+C;;;;;;;AAiBhE;;;;;;;EE8CE,QAAA,GAAW,KAAA,EAAO,IAAA;;;AFvCpB;;;;;;;;;;AAQA;;EE+CE,QAAA,GAAW,OAAA;;;;;;;;;;;;;;EAeX,OAAA;;;;;AFvCF;;;;;;;;ACnDA;;EC0GE,iBAAA,GAAoB,iBAAA;EDtGd;;;;;;;;;;;;ACwCR;;;;EAgFE,oBAAA;;EAGA,eAAA;AAAA;;;;;;;;;;;;;AA6DF;;;;;;;;;;;AAIA;;;;;;;;;;AAwTA;;;;;;;;;;;;;;;;AAIA;;;;;;;;;iBAhUgB,gBAAA,CACd,IAAA,UACA,OAAA,EAAS,cAAA;EAAmB,OAAA;AAAA,IAC3B,gBAAA;AAAA,iBACa,gBAAA,CAAiB,IAAA,UAAc,OAAA,GAAU,cAAA,GAAiB,QAAA;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/guards.ts","../src/patterns/casePatterns.ts","../src/extract/extractCitations.ts","../src/extract/filterFalsePositives.ts","../src/clean/cleanText.ts","../src/tokenize/tokenizer.ts","../src/extract/extractCase.ts","../src/extract/extractConstitutional.ts","../src/extract/extractFederalRegister.ts","../src/extract/extractJournal.ts","../src/extract/extractNeutral.ts","../src/extract/extractPublicLaw.ts","../src/extract/extractStatute.ts","../src/extract/extractStatutesAtLarge.ts","../src/extract/courtNormalization.ts","../src/resolve/DocumentResolver.ts","../src/resolve/index.ts","../src/footnotes/detectFootnotes.ts"],"mappings":";;;;;;;iBAYgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,YAAA;;;;iBAiBhD,mBAAA,CAAoB,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,iBAAA;;;;iBAOrD,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,gBAAA;;AAPhE;;;iBAegB,cAAA,WAAyB,YAAA,CAAA,CACvC,QAAA,EAAU,QAAA,EACV,IAAA,EAA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577
|
private readonly partyNameTree;
|
|
578
|
+
private readonly quoteZones;
|
|
579
|
+
/** Parenthesis depth at each citation's start (filled lazily by resolve()). */
|
|
580
|
+
private parenDepths;
|
|
581
|
+
/** Resolution results accumulated during the in-flight resolve() pass. */
|
|
582
|
+
private resolutions;
|
|
583
|
+
/** Resolved citations accumulated during the in-flight resolve() pass; used
|
|
584
|
+
* for fullSpan-based parenthetical-child detection on later candidates. */
|
|
585
|
+
private resolvedSoFar;
|
|
578
586
|
/**
|
|
579
587
|
* Creates a new DocumentResolver.
|
|
580
588
|
*
|
|
@@ -599,12 +607,59 @@ declare class DocumentResolver {
|
|
|
599
607
|
*/
|
|
600
608
|
private computeParenDepths;
|
|
601
609
|
/**
|
|
602
|
-
* Resolves Id
|
|
603
|
-
*
|
|
604
|
-
*
|
|
610
|
+
* Resolves `Id.` to the most recent preceding *cited authority*, respecting
|
|
611
|
+
* Bluebook signal categories, block-/inline-quote zones, and the family
|
|
612
|
+
* (case vs. statute) implied by `Id.`'s pincite shape (#480).
|
|
613
|
+
*
|
|
614
|
+
* Algorithm:
|
|
615
|
+
* 1. Walk backward from `currentIndex`, normalizing short-form citations
|
|
616
|
+
* (shortFormCase/supra/Id.) to their resolved antecedent. Dedupe by
|
|
617
|
+
* effective primary index so a case mentioned via a short-form earlier
|
|
618
|
+
* doesn't get double-counted with its full-cite further back.
|
|
619
|
+
* 2. Filter candidates that are parenthetical children (existing #214
|
|
620
|
+
* behavior) or in a quote zone outside `Id.`'s own zone.
|
|
621
|
+
* 3. Score remaining candidates: family-match dominates, then signal
|
|
622
|
+
* strength, then (implicitly) recency (first-added = most recent
|
|
623
|
+
* effective mention).
|
|
624
|
+
* 4. Apply the case-name window check to surface ambiguity when the prose
|
|
625
|
+
* immediately before `Id.` mentions a different case name.
|
|
605
626
|
*/
|
|
606
627
|
private resolveId;
|
|
607
628
|
/**
|
|
629
|
+
* Determines whether `Id.`'s pincite shape implies a case or statute
|
|
630
|
+
* antecedent. We peek at the cleaned text immediately after `Id.`'s span
|
|
631
|
+
* end because the regex in `extractIdCitation` only captures page-style
|
|
632
|
+
* pincites (`at NNN`, `¶ NNN`); a section-style pincite (`§ NNN`) lives
|
|
633
|
+
* in the raw text but not on the IdCitation object.
|
|
634
|
+
*/
|
|
635
|
+
private getIdPreferredFamily;
|
|
636
|
+
/**
|
|
637
|
+
* Computes the "effective" signal for a citation. Citations inside a
|
|
638
|
+
* string-cite group inherit the leading signal of the group's first
|
|
639
|
+
* member when they have no signal of their own — the Bluebook rule that
|
|
640
|
+
* a leading signal governs the entire string cite.
|
|
641
|
+
*/
|
|
642
|
+
private getEffectiveSignal;
|
|
643
|
+
private isCandidateWeakSignal;
|
|
644
|
+
/**
|
|
645
|
+
* `(citing X)` / `(quoting Y)` detection (#214). Two strategies in OR:
|
|
646
|
+
* - paren depth > 0 at the citation's start (works for any prior
|
|
647
|
+
* citation type — statute, journal, etc.);
|
|
648
|
+
* - the citation's clean-span is wholly inside a previously-resolved
|
|
649
|
+
* citation's `fullSpan` (case-name-prefixed citations sometimes have
|
|
650
|
+
* `(...)` ranges that close before the paren-depth scan catches up).
|
|
651
|
+
*/
|
|
652
|
+
private isParentheticalChild;
|
|
653
|
+
/**
|
|
654
|
+
* Scans the prose between the previous citation and `Id.` for a case-name
|
|
655
|
+
* mention. If a name is found and doesn't match the picked antecedent's
|
|
656
|
+
* caseName/plaintiff/defendant, returns a downgraded confidence and an
|
|
657
|
+
* ambiguity warning so consumers can surface it for review. Matching
|
|
658
|
+
* names (or no name in the window) return undefined → caller uses the
|
|
659
|
+
* default Id. confidence of 1.0.
|
|
660
|
+
*/
|
|
661
|
+
private applyCaseNameWindowCheck;
|
|
662
|
+
/**
|
|
608
663
|
* Resolves supra citation by matching party name.
|
|
609
664
|
*/
|
|
610
665
|
private resolveSupra;
|
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/filterFalsePositives.ts","../src/clean/cleanText.ts","../src/tokenize/tokenizer.ts","../src/extract/extractCase.ts","../src/extract/extractConstitutional.ts","../src/extract/extractFederalRegister.ts","../src/extract/extractJournal.ts","../src/extract/extractNeutral.ts","../src/extract/extractPublicLaw.ts","../src/extract/extractStatute.ts","../src/extract/extractStatutesAtLarge.ts","../src/extract/courtNormalization.ts","../src/resolve/DocumentResolver.ts","../src/resolve/index.ts","../src/footnotes/detectFootnotes.ts"],"mappings":";;;;;;;iBAYgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,YAAA;;;;iBAiBhD,mBAAA,CAAoB,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,iBAAA;;;;iBAOrD,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,gBAAA;;AAPhE;;;iBAegB,cAAA,WAAyB,YAAA,CAAA,CACvC,QAAA,EAAU,QAAA,EACV,IAAA,EAAM,CAAA,GACL,QAAA,IAAY,cAAA,CAAe,CAAA;;;;;;;AAX9B;;;;;;;;;;iBA+BgB,iBAAA,CAAkB,CAAA;;;UCnDjB,OAAA;EACf,EAAA;EACA,KAAA,EAAO,MAAA;EACP,WAAA;EACA,IAAA,EAAM,gBAAA;AAAA;;;;ADRR;;UEgDiB,cAAA;EFhD+C;;;;;;;AAiBhE;;;;;;;EE8CE,QAAA,GAAW,KAAA,EAAO,IAAA;;;AFvCpB;;;;;;;;;;AAQA;;EE+CE,QAAA,GAAW,OAAA;;;;;;;;;;;;;;EAeX,OAAA;;;;;AFvCF;;;;;;;;ACnDA;;EC0GE,iBAAA,GAAoB,iBAAA;EDtGd;;;;;;;;;;;;ACwCR;;;;EAgFE,oBAAA;;EAGA,eAAA;AAAA;;;;;;;;;;;;;AA6DF;;;;;;;;;;;AAIA;;;;;;;;;;AAwTA;;;;;;;;;;;;;;;;AAIA;;;;;;;;;iBAhUgB,gBAAA,CACd,IAAA,UACA,OAAA,EAAS,cAAA;EAAmB,OAAA;AAAA,IAC3B,gBAAA;AAAA,iBACa,gBAAA,CAAiB,IAAA,UAAc,OAAA,GAAU,cAAA,GAAiB,QAAA;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/guards.ts","../src/patterns/casePatterns.ts","../src/extract/extractCitations.ts","../src/extract/filterFalsePositives.ts","../src/clean/cleanText.ts","../src/tokenize/tokenizer.ts","../src/extract/extractCase.ts","../src/extract/extractConstitutional.ts","../src/extract/extractFederalRegister.ts","../src/extract/extractJournal.ts","../src/extract/extractNeutral.ts","../src/extract/extractPublicLaw.ts","../src/extract/extractStatute.ts","../src/extract/extractStatutesAtLarge.ts","../src/extract/courtNormalization.ts","../src/resolve/DocumentResolver.ts","../src/resolve/index.ts","../src/footnotes/detectFootnotes.ts"],"mappings":";;;;;;;iBAYgB,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,YAAA;;;;iBAiBhD,mBAAA,CAAoB,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,iBAAA;;;;iBAOrD,cAAA,CAAe,QAAA,EAAU,QAAA,GAAW,QAAA,IAAY,gBAAA;;AAPhE;;;iBAegB,cAAA,WAAyB,YAAA,CAAA,CACvC,QAAA,EAAU,QAAA,EACV,IAAA,EAAM,CAAA,GACL,QAAA,IAAY,cAAA,CAAe,CAAA;;;;;;;AAX9B;;;;;;;;;;iBA+BgB,iBAAA,CAAkB,CAAA;;;UCnDjB,OAAA;EACf,EAAA;EACA,KAAA,EAAO,MAAA;EACP,WAAA;EACA,IAAA,EAAM,gBAAA;AAAA;;;;ADRR;;UEgDiB,cAAA;EFhD+C;;;;;;;AAiBhE;;;;;;;EE8CE,QAAA,GAAW,KAAA,EAAO,IAAA;;;AFvCpB;;;;;;;;;;AAQA;;EE+CE,QAAA,GAAW,OAAA;;;;;;;;;;;;;;EAeX,OAAA;;;;;AFvCF;;;;;;;;ACnDA;;EC0GE,iBAAA,G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