@mailwoman/core 4.16.2 → 5.1.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/data/chromium-i18n/ssl-address-download.ts +110 -0
- package/data/libpostal/resources-download.ts +121 -0
- package/out/api/APIClient.d.ts +2 -2
- package/out/api/APIClient.d.ts.map +1 -1
- package/out/api/APIClient.js +2 -2
- package/out/api/APIClient.js.map +1 -1
- package/out/api/responses.d.ts.map +1 -1
- package/out/api/responses.js.map +1 -1
- package/out/classification/Classification.d.ts +3 -4
- package/out/classification/Classification.d.ts.map +1 -1
- package/out/classification/Classification.js.map +1 -1
- package/out/classification/CompositeClassifier.d.ts +1 -1
- package/out/classification/CompositeClassifier.d.ts.map +1 -1
- package/out/classification/CompositeClassifier.js +1 -1
- package/out/classification/CompositeClassifier.js.map +1 -1
- package/out/classification/PhraseClassifier.d.ts.map +1 -1
- package/out/classification/PhraseClassifier.js.map +1 -1
- package/out/classification/SectionClassifier.d.ts.map +1 -1
- package/out/classification/SectionClassifier.js.map +1 -1
- package/out/classification/WordClassifier.d.ts.map +1 -1
- package/out/classification/WordClassifier.js.map +1 -1
- package/out/classification/scheme.d.ts.map +1 -1
- package/out/classification/scheme.js.map +1 -1
- package/out/coarse-placer/coarse-placer.d.ts +28 -34
- package/out/coarse-placer/coarse-placer.d.ts.map +1 -1
- package/out/coarse-placer/coarse-placer.js +19 -21
- package/out/coarse-placer/coarse-placer.js.map +1 -1
- package/out/coarse-placer/featurize.d.ts +17 -19
- package/out/coarse-placer/featurize.d.ts.map +1 -1
- package/out/coarse-placer/featurize.js +17 -19
- package/out/coarse-placer/featurize.js.map +1 -1
- package/out/collections.d.ts +1 -2
- package/out/collections.d.ts.map +1 -1
- package/out/collections.js +1 -2
- package/out/collections.js.map +1 -1
- package/out/data/chromium-i18n/ssl-address-download.d.ts +30 -0
- package/out/data/chromium-i18n/ssl-address-download.d.ts.map +1 -0
- package/out/data/chromium-i18n/ssl-address-download.js +98 -0
- package/out/data/chromium-i18n/ssl-address-download.js.map +1 -0
- package/out/data/libpostal/resources-download.d.ts +29 -0
- package/out/data/libpostal/resources-download.d.ts.map +1 -0
- package/out/data/libpostal/resources-download.js +107 -0
- package/out/data/libpostal/resources-download.js.map +1 -0
- package/out/db/schema.d.ts +2 -2
- package/out/decoder/arbitrate-tree.d.ts +3 -3
- package/out/decoder/arbitrate-tree.d.ts.map +1 -1
- package/out/decoder/arbitrate-tree.js +5 -5
- package/out/decoder/arbitrate-tree.js.map +1 -1
- package/out/decoder/build-tree.d.ts +12 -14
- package/out/decoder/build-tree.d.ts.map +1 -1
- package/out/decoder/build-tree.js +4 -5
- package/out/decoder/build-tree.js.map +1 -1
- package/out/decoder/calibration.d.ts +3 -4
- package/out/decoder/calibration.d.ts.map +1 -1
- package/out/decoder/calibration.js +3 -4
- package/out/decoder/calibration.js.map +1 -1
- package/out/decoder/containment.d.ts +5 -6
- package/out/decoder/containment.d.ts.map +1 -1
- package/out/decoder/containment.js +5 -6
- package/out/decoder/containment.js.map +1 -1
- package/out/decoder/index.d.ts +1 -0
- package/out/decoder/index.d.ts.map +1 -1
- package/out/decoder/index.js +1 -0
- package/out/decoder/index.js.map +1 -1
- package/out/decoder/proposals-to-tree.d.ts +9 -9
- package/out/decoder/proposals-to-tree.d.ts.map +1 -1
- package/out/decoder/proposals-to-tree.js +11 -11
- package/out/decoder/proposals-to-tree.js.map +1 -1
- package/out/decoder/resolve-proposal-overlaps.d.ts +3 -5
- package/out/decoder/resolve-proposal-overlaps.d.ts.map +1 -1
- package/out/decoder/resolve-proposal-overlaps.js +5 -6
- package/out/decoder/resolve-proposal-overlaps.js.map +1 -1
- package/out/decoder/serialize-json.d.ts +13 -1
- package/out/decoder/serialize-json.d.ts.map +1 -1
- package/out/decoder/serialize-json.js +6 -2
- package/out/decoder/serialize-json.js.map +1 -1
- package/out/decoder/serialize-tuples.d.ts +10 -1
- package/out/decoder/serialize-tuples.d.ts.map +1 -1
- package/out/decoder/serialize-tuples.js +13 -5
- package/out/decoder/serialize-tuples.js.map +1 -1
- package/out/decoder/serialize-xml.d.ts +15 -9
- package/out/decoder/serialize-xml.d.ts.map +1 -1
- package/out/decoder/serialize-xml.js +29 -12
- package/out/decoder/serialize-xml.js.map +1 -1
- package/out/decoder/types.d.ts +52 -61
- package/out/decoder/types.d.ts.map +1 -1
- package/out/decoder/types.js +2 -2
- package/out/decoder/unknown-spans.d.ts +46 -0
- package/out/decoder/unknown-spans.d.ts.map +1 -0
- package/out/decoder/unknown-spans.js +56 -0
- package/out/decoder/unknown-spans.js.map +1 -0
- package/out/decoder/validate-tree.d.ts.map +1 -1
- package/out/decoder/validate-tree.js +2 -3
- package/out/decoder/validate-tree.js.map +1 -1
- package/out/env/index.d.ts +80 -0
- package/out/env/index.d.ts.map +1 -0
- package/out/env/index.js +35 -0
- package/out/env/index.js.map +1 -0
- package/out/env/load.d.ts +7 -0
- package/out/env/load.d.ts.map +1 -0
- package/out/env/load.js +13 -0
- package/out/env/load.js.map +1 -0
- package/out/env/paths.d.ts +13 -0
- package/out/env/paths.d.ts.map +1 -0
- package/out/env/paths.js +34 -0
- package/out/env/paths.js.map +1 -0
- package/out/env/schema.d.ts +81 -0
- package/out/env/schema.d.ts.map +1 -0
- package/out/env/schema.js +92 -0
- package/out/env/schema.js.map +1 -0
- package/out/errors/schema.d.ts +1 -2
- package/out/errors/schema.d.ts.map +1 -1
- package/out/errors/schema.js +1 -2
- package/out/errors/schema.js.map +1 -1
- package/out/filters/RelationshipFilter.d.ts.map +1 -1
- package/out/filters/RelationshipFilter.js.map +1 -1
- package/out/formatter/index.d.ts.map +1 -1
- package/out/formatter/index.js.map +1 -1
- package/out/identifiers.d.ts.map +1 -1
- package/out/identifiers.js.map +1 -1
- package/out/kysley/client.d.ts +3 -4
- package/out/kysley/client.d.ts.map +1 -1
- package/out/kysley/client.js +3 -4
- package/out/kysley/client.js.map +1 -1
- package/out/kysley/dialect-config.d.ts +1 -1
- package/out/kysley/dialect-config.d.ts.map +1 -1
- package/out/kysley/dialect.d.ts +4 -4
- package/out/kysley/dialect.js +4 -4
- package/out/kysley/driver.d.ts.map +1 -1
- package/out/kysley/driver.js +1 -1
- package/out/kysley/driver.js.map +1 -1
- package/out/lifecycle/ServiceSymbol.d.ts +2 -4
- package/out/lifecycle/ServiceSymbol.d.ts.map +1 -1
- package/out/lifecycle/ServiceSymbol.js +2 -4
- package/out/lifecycle/ServiceSymbol.js.map +1 -1
- package/out/lifecycle/services.d.ts +7 -8
- package/out/lifecycle/services.d.ts.map +1 -1
- package/out/lifecycle/services.js +5 -4
- package/out/lifecycle/services.js.map +1 -1
- package/out/locale/locale.d.ts +5 -6
- package/out/locale/locale.d.ts.map +1 -1
- package/out/locale/registry.d.ts.map +1 -1
- package/out/locale/registry.js.map +1 -1
- package/out/logging/index.d.ts +1 -0
- package/out/logging/index.d.ts.map +1 -1
- package/out/logging/index.js +1 -0
- package/out/logging/index.js.map +1 -1
- package/out/logging/shared.d.ts +2 -2
- package/out/logging/shared.js +2 -2
- package/out/logging/utils.d.ts +30 -0
- package/out/logging/utils.d.ts.map +1 -0
- package/out/logging/utils.js +30 -0
- package/out/logging/utils.js.map +1 -0
- package/out/objects.d.ts +3 -4
- package/out/objects.d.ts.map +1 -1
- package/out/objects.js +1 -2
- package/out/objects.js.map +1 -1
- package/out/parser/AddressParser.d.ts +12 -16
- package/out/parser/AddressParser.d.ts.map +1 -1
- package/out/parser/AddressParser.js.map +1 -1
- package/out/parser/proposal-pipeline.d.ts +12 -12
- package/out/parser/proposal-pipeline.d.ts.map +1 -1
- package/out/parser/proposal-pipeline.js +12 -12
- package/out/parser/proposal-pipeline.js.map +1 -1
- package/out/parser/solution-to-proposals.d.ts +4 -4
- package/out/parser/solution-to-proposals.d.ts.map +1 -1
- package/out/parser/solution-to-proposals.js +5 -5
- package/out/parser/solution-to-proposals.js.map +1 -1
- package/out/pipeline/index.d.ts +1 -1
- package/out/pipeline/reconcile-lookups.d.ts +4 -4
- package/out/pipeline/reconcile-lookups.d.ts.map +1 -1
- package/out/pipeline/reconcile-lookups.js +4 -4
- package/out/pipeline/reconcile-lookups.js.map +1 -1
- package/out/pipeline/reconcile.d.ts +21 -23
- package/out/pipeline/reconcile.d.ts.map +1 -1
- package/out/pipeline/reconcile.js +49 -51
- package/out/pipeline/reconcile.js.map +1 -1
- package/out/pipeline/runtime-pipeline.d.ts +14 -16
- package/out/pipeline/runtime-pipeline.d.ts.map +1 -1
- package/out/pipeline/runtime-pipeline.js +33 -37
- package/out/pipeline/runtime-pipeline.js.map +1 -1
- package/out/pipeline/span-logit-aggregation.d.ts +5 -6
- package/out/pipeline/span-logit-aggregation.d.ts.map +1 -1
- package/out/pipeline/span-logit-aggregation.js +7 -8
- package/out/pipeline/span-logit-aggregation.js.map +1 -1
- package/out/pipeline/span-proposer.d.ts +18 -22
- package/out/pipeline/span-proposer.d.ts.map +1 -1
- package/out/pipeline/span-proposer.js +21 -22
- package/out/pipeline/span-proposer.js.map +1 -1
- package/out/pipeline/types.d.ts +77 -86
- package/out/pipeline/types.d.ts.map +1 -1
- package/out/policy/defaults.d.ts +5 -6
- package/out/policy/defaults.d.ts.map +1 -1
- package/out/policy/defaults.js +5 -6
- package/out/policy/defaults.js.map +1 -1
- package/out/policy/from-config.d.ts +8 -9
- package/out/policy/from-config.d.ts.map +1 -1
- package/out/policy/from-config.js +8 -9
- package/out/policy/from-config.js.map +1 -1
- package/out/policy/input-shape-router.d.ts +15 -19
- package/out/policy/input-shape-router.d.ts.map +1 -1
- package/out/policy/input-shape-router.js +11 -14
- package/out/policy/input-shape-router.js.map +1 -1
- package/out/policy/policy.d.ts +10 -13
- package/out/policy/policy.d.ts.map +1 -1
- package/out/policy/registry.d.ts +4 -5
- package/out/policy/registry.d.ts.map +1 -1
- package/out/policy/registry.js +6 -7
- package/out/policy/registry.js.map +1 -1
- package/out/resolver/index.d.ts +1 -1
- package/out/resolver/index.js +1 -1
- package/out/resolver/types.d.ts +212 -216
- package/out/resolver/types.d.ts.map +1 -1
- package/out/resolver/types.js +32 -39
- package/out/resolver/types.js.map +1 -1
- package/out/resources/LocaleIndex.d.ts +1 -2
- package/out/resources/LocaleIndex.d.ts.map +1 -1
- package/out/resources/LocaleIndex.js +1 -2
- package/out/resources/LocaleIndex.js.map +1 -1
- package/out/resources/ResourceMapCache.d.ts.map +1 -1
- package/out/resources/ResourceMapCache.js.map +1 -1
- package/out/resources/collections.d.ts +1 -2
- package/out/resources/collections.d.ts.map +1 -1
- package/out/resources/collections.js +1 -2
- package/out/resources/collections.js.map +1 -1
- package/out/resources/fs.d.ts.map +1 -1
- package/out/resources/fs.js.map +1 -1
- package/out/resources/git.d.ts.map +1 -1
- package/out/resources/git.js.map +1 -1
- package/out/resources/libaddressinput.d.ts +2 -2
- package/out/resources/libaddressinput.js +2 -2
- package/out/resources/libpostal.d.ts +4 -5
- package/out/resources/libpostal.d.ts.map +1 -1
- package/out/resources/libpostal.js +6 -7
- package/out/resources/libpostal.js.map +1 -1
- package/out/resources/set.d.ts +1 -2
- package/out/resources/set.d.ts.map +1 -1
- package/out/resources/set.js +1 -2
- package/out/resources/set.js.map +1 -1
- package/out/resources/whosonfirst/DataSourceCache.d.ts.map +1 -1
- package/out/resources/whosonfirst/DataSourceCache.js.map +1 -1
- package/out/resources/whosonfirst/PlacetypeDataSource.d.ts +1 -1
- package/out/resources/whosonfirst/PlacetypeDataSource.d.ts.map +1 -1
- package/out/resources/whosonfirst/PlacetypeDataSource.js +1 -1
- package/out/resources/whosonfirst/PlacetypeDataSource.js.map +1 -1
- package/out/resources/whosonfirst/loader.d.ts +1 -2
- package/out/resources/whosonfirst/loader.d.ts.map +1 -1
- package/out/resources/whosonfirst/loader.js.map +1 -1
- package/out/resources/whosonfirst/placetypes/Placetype.d.ts +6 -9
- package/out/resources/whosonfirst/placetypes/Placetype.d.ts.map +1 -1
- package/out/resources/whosonfirst/placetypes/Placetype.js +7 -10
- package/out/resources/whosonfirst/placetypes/Placetype.js.map +1 -1
- package/out/resources/whosonfirst/placetypes/admin.d.ts +1 -2
- package/out/resources/whosonfirst/placetypes/admin.d.ts.map +1 -1
- package/out/resources/whosonfirst/placetypes/admin.js +1 -2
- package/out/resources/whosonfirst/placetypes/admin.js.map +1 -1
- package/out/resources/whosonfirst/placetypes/graph.d.ts +10 -10
- package/out/resources/whosonfirst/placetypes/graph.d.ts.map +1 -1
- package/out/resources/whosonfirst/placetypes/graph.js +0 -0
- package/out/resources/whosonfirst/placetypes/graph.js.map +1 -1
- package/out/resources/whosonfirst/placetypes/mermaid.d.ts +16 -19
- package/out/resources/whosonfirst/placetypes/mermaid.d.ts.map +1 -1
- package/out/resources/whosonfirst/placetypes/mermaid.js +15 -16
- package/out/resources/whosonfirst/placetypes/mermaid.js.map +1 -1
- package/out/resources/whosonfirst/placetypes/tree.d.ts +6 -7
- package/out/resources/whosonfirst/placetypes/tree.d.ts.map +1 -1
- package/out/resources/whosonfirst/placetypes/tree.js +3 -4
- package/out/resources/whosonfirst/placetypes/tree.js.map +1 -1
- package/out/routing/index.d.ts +2 -3
- package/out/routing/index.d.ts.map +1 -1
- package/out/routing/index.js +1 -1
- package/out/routing/index.js.map +1 -1
- package/out/solver/HashMapSolver.d.ts.map +1 -1
- package/out/solver/HashMapSolver.js.map +1 -1
- package/out/solver/Solution.d.ts +2 -2
- package/out/solver/Solution.d.ts.map +1 -1
- package/out/solver/Solution.js +2 -2
- package/out/solver/Solution.js.map +1 -1
- package/out/solver/mask.d.ts.map +1 -1
- package/out/solver/mask.js.map +1 -1
- package/out/solvers/LeadingAreaDeclassifier.d.ts.map +1 -1
- package/out/solvers/LeadingAreaDeclassifier.js.map +1 -1
- package/out/solvers/MultiStreetSolver.d.ts +10 -15
- package/out/solvers/MultiStreetSolver.d.ts.map +1 -1
- package/out/solvers/MultiStreetSolver.js +10 -15
- package/out/solvers/MultiStreetSolver.js.map +1 -1
- package/out/solvers/PostcodePositionPenalty.d.ts +2 -2
- package/out/solvers/PostcodePositionPenalty.d.ts.map +1 -1
- package/out/solvers/PostcodePositionPenalty.js +2 -2
- package/out/solvers/PostcodePositionPenalty.js.map +1 -1
- package/out/tokenization/Span.d.ts +1 -3
- package/out/tokenization/Span.d.ts.map +1 -1
- package/out/tokenization/Span.js +1 -3
- package/out/tokenization/Span.js.map +1 -1
- package/out/tokenization/context.d.ts +1 -2
- package/out/tokenization/context.d.ts.map +1 -1
- package/out/tokenization/context.js +1 -2
- package/out/tokenization/context.js.map +1 -1
- package/out/tokenization/normalizer.js +2 -2
- package/out/tokenization/permutate.d.ts +2 -3
- package/out/tokenization/permutate.d.ts.map +1 -1
- package/out/tokenization/permutate.js +4 -5
- package/out/tokenization/permutate.js.map +1 -1
- package/out/types/classifier.d.ts +21 -23
- package/out/types/classifier.d.ts.map +1 -1
- package/out/types/component.d.ts +6 -7
- package/out/types/component.d.ts.map +1 -1
- package/out/types/component.js +5 -6
- package/out/types/component.js.map +1 -1
- package/out/types/mapping.d.ts +8 -8
- package/out/types/mapping.d.ts.map +1 -1
- package/out/types/mapping.js +13 -13
- package/out/types/mapping.js.map +1 -1
- package/out/utils/data-root.d.ts +5 -5
- package/out/utils/data-root.js +7 -7
- package/out/utils/repo.d.ts +3 -3
- package/out/utils/repo.d.ts.map +1 -1
- package/out/utils/repo.js +16 -19
- package/out/utils/repo.js.map +1 -1
- package/out/vitest.config.d.ts.map +1 -1
- package/out/vitest.config.js.map +1 -1
- package/package.json +21 -19
- package/data/chromium-i18n/ssl-address-download.sh +0 -15
- package/data/libpostal/resources-download.sh +0 -44
- package/out/logging/tables.d.ts +0 -7
- package/out/logging/tables.d.ts.map +0 -1
- package/out/logging/tables.js +0 -75
- package/out/logging/tables.js.map +0 -1
- package/out/sets.d.ts +0 -2
- package/out/sets.d.ts.map +0 -1
- package/out/sets.js +0 -2
- package/out/sets.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proposal-pipeline.js","sourceRoot":"","sources":["../../parser/proposal-pipeline.ts"],"names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AM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;QACrD,OAAO,EAAE,CAAA;IACV,CAAC;IAED,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,CAAA;AACtD,CAAC;AAED,8FAA8F;AAC9F,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACxC,OAAqB,EACrB,WAA0C,EAC1C,UAMI,EAAE;IAEN,MAAM,GAAG,GAAG,MAAM,gBAAgB,CAAC,OAAO,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAA;IAClG,MAAM,QAAQ,GAAG,cAAc,CAAC,GAAG,EAAE,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,CAAA;IACzF,MAAM,SAAS,GAAG,uBAAuB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;IAE5D,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAA;AAC1C,CAAC"}
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
import type { SerializedSolution } from "../solver/index.js";
|
|
19
19
|
import { type ClassificationProposal } from "../types/index.js";
|
|
20
20
|
/**
|
|
21
|
-
* Project a solved v0 solution's matches into `rule`-sourced proposals. Matches whose legacy
|
|
22
|
-
*
|
|
21
|
+
* Project a solved v0 solution's matches into `rule`-sourced proposals. Matches whose legacy classification has no
|
|
22
|
+
* `ComponentTag` mapping (e.g. structural-only tags) are skipped.
|
|
23
23
|
*
|
|
24
24
|
* @param solution A `SerializedSolution` from `AddressParser.parse()` (typically the top solution).
|
|
25
|
-
* @param
|
|
25
|
+
* @param sourceID Stable id surfaced as `source_id` (default `"rule"`).
|
|
26
26
|
*/
|
|
27
|
-
export declare function solutionToProposals(solution: SerializedSolution,
|
|
27
|
+
export declare function solutionToProposals(solution: SerializedSolution, sourceID?: string): ClassificationProposal[];
|
|
28
28
|
//# sourceMappingURL=solution-to-proposals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solution-to-proposals.d.ts","sourceRoot":"","sources":["../../parser/solution-to-proposals.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAE5D,OAAO,EAAE,KAAK,sBAAsB,EAAsC,MAAM,mBAAmB,CAAA;AAEnG;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,QAAQ,SAAS,GAAG,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"solution-to-proposals.d.ts","sourceRoot":"","sources":["../../parser/solution-to-proposals.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAE5D,OAAO,EAAE,KAAK,sBAAsB,EAAsC,MAAM,mBAAmB,CAAA;AAEnG;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,QAAQ,SAAS,GAAG,sBAAsB,EAAE,CAoB7G"}
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { legacyClassificationToComponentTag } from "../types/index.js";
|
|
19
19
|
/**
|
|
20
|
-
* Project a solved v0 solution's matches into `rule`-sourced proposals. Matches whose legacy
|
|
21
|
-
*
|
|
20
|
+
* Project a solved v0 solution's matches into `rule`-sourced proposals. Matches whose legacy classification has no
|
|
21
|
+
* `ComponentTag` mapping (e.g. structural-only tags) are skipped.
|
|
22
22
|
*
|
|
23
23
|
* @param solution A `SerializedSolution` from `AddressParser.parse()` (typically the top solution).
|
|
24
|
-
* @param
|
|
24
|
+
* @param sourceID Stable id surfaced as `source_id` (default `"rule"`).
|
|
25
25
|
*/
|
|
26
|
-
export function solutionToProposals(solution,
|
|
26
|
+
export function solutionToProposals(solution, sourceID = "rule") {
|
|
27
27
|
const proposals = [];
|
|
28
28
|
for (const match of solution.matches) {
|
|
29
29
|
const component = legacyClassificationToComponentTag(match.classification);
|
|
@@ -35,7 +35,7 @@ export function solutionToProposals(solution, sourceId = "rule") {
|
|
|
35
35
|
component,
|
|
36
36
|
confidence: match.confidence,
|
|
37
37
|
source: "rule",
|
|
38
|
-
source_id:
|
|
38
|
+
source_id: sourceID,
|
|
39
39
|
penalty: 0,
|
|
40
40
|
});
|
|
41
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solution-to-proposals.js","sourceRoot":"","sources":["../../parser/solution-to-proposals.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAA+B,kCAAkC,EAAE,MAAM,mBAAmB,CAAA;AAEnG;;;;;;GAMG;AACH,MAAM,UAAU,mBAAmB,CAAC,QAA4B,EAAE,QAAQ,GAAG,MAAM;IAClF,MAAM,SAAS,GAA6B,EAAE,CAAA;IAE9C,KAAK,MAAM,KAAK,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;QACtC,MAAM,SAAS,GAAG,kCAAkC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"solution-to-proposals.js","sourceRoot":"","sources":["../../parser/solution-to-proposals.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAA+B,kCAAkC,EAAE,MAAM,mBAAmB,CAAA;AAEnG;;;;;;GAMG;AACH,MAAM,UAAU,mBAAmB,CAAC,QAA4B,EAAE,QAAQ,GAAG,MAAM;IAClF,MAAM,SAAS,GAA6B,EAAE,CAAA;IAE9C,KAAK,MAAM,KAAK,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;QACtC,MAAM,SAAS,GAAG,kCAAkC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA;QAE1E,IAAI,CAAC,SAAS;YAAE,SAAQ;QAExB,MAAM,IAAI,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,EAAqB,CAAA;QACzF,SAAS,CAAC,IAAI,CAAC;YACd,IAAI;YACJ,SAAS;YACT,UAAU,EAAE,KAAK,CAAC,UAAU;YAC5B,MAAM,EAAE,MAAM;YACd,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,CAAC;SACV,CAAC,CAAA;IACH,CAAC;IAED,OAAO,SAAS,CAAA;AACjB,CAAC"}
|
package/out/pipeline/index.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export { aggregateSpanLogits } from "./span-logit-aggregation.js";
|
|
|
12
12
|
export type { SpanBounds, TokenPiece } from "./span-logit-aggregation.js";
|
|
13
13
|
export { EMPTY_SPAN_PROPOSER_LEXICON, proposeSpans } from "./span-proposer.js";
|
|
14
14
|
export type { ProposedSpan, ProposedSpanKind, SpanProposerLexicon } from "./span-proposer.js";
|
|
15
|
-
export type { AddressClassifier, ClassifierOpts,
|
|
15
|
+
export type { AddressClassifier, ClassifierOpts, FSTMatcherLike, LocaleHint, LocaleTag, NormalizedInputLite, PhraseGrouper, PhraseKind, PhraseProposal, PipelineOpts, PipelineResult, PipelineTiming, QueryKind, QueryKindResult, QueryShapeLite, RuntimePipelineStages, UserLocation, } from "./types.js";
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -23,11 +23,11 @@ export interface ReconcileLookups {
|
|
|
23
23
|
/**
|
|
24
24
|
* Build the reconciler's concordance lookups from one bounded pre-fetch pass over the backend.
|
|
25
25
|
*
|
|
26
|
-
* @param backend The gazetteer backend (Stage 6's `
|
|
27
|
-
*
|
|
26
|
+
* @param backend The gazetteer backend (Stage 6's `WOFSqlitePlaceLookup.asResolverBackend()` in production; any
|
|
27
|
+
* structural match in tests).
|
|
28
28
|
* @param raw The normalized input text — span bounds index into this.
|
|
29
|
-
* @param classifierTopK The aggregated per-span tag candidates (score-descending preferred; the
|
|
30
|
-
*
|
|
29
|
+
* @param classifierTopK The aggregated per-span tag candidates (score-descending preferred; the budget follows this
|
|
30
|
+
* order).
|
|
31
31
|
* @param opts.maxLookups Hard cap on `findPlace` calls (default 12).
|
|
32
32
|
* @param opts.candidatesPerPair Max places retained per (span, tag) pair (default 3).
|
|
33
33
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconcile-lookups.d.ts","sourceRoot":"","sources":["../../pipeline/reconcile-lookups.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AAItG,MAAM,WAAW,gBAAgB;IAChC,kBAAkB,EAAE,wBAAwB,CAAA;IAC5C,WAAW,EAAE,iBAAiB,CAAA;CAC9B;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,wBAAwB,CAC7C,OAAO,EAAE,eAAe,EACxB,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAClD,IAAI,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,GACjF,OAAO,CAAC,gBAAgB,CAAC,
|
|
1
|
+
{"version":3,"file":"reconcile-lookups.d.ts","sourceRoot":"","sources":["../../pipeline/reconcile-lookups.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AAItG,MAAM,WAAW,gBAAgB;IAChC,kBAAkB,EAAE,wBAAwB,CAAA;IAC5C,WAAW,EAAE,iBAAiB,CAAA;CAC9B;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,wBAAwB,CAC7C,OAAO,EAAE,eAAe,EACxB,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAClD,IAAI,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,GACjF,OAAO,CAAC,gBAAgB,CAAC,CAgE3B"}
|
|
@@ -18,11 +18,11 @@ const RESOLVABLE_TAGS = new Set(["country", "region", "locality", "dependent_loc
|
|
|
18
18
|
/**
|
|
19
19
|
* Build the reconciler's concordance lookups from one bounded pre-fetch pass over the backend.
|
|
20
20
|
*
|
|
21
|
-
* @param backend The gazetteer backend (Stage 6's `
|
|
22
|
-
*
|
|
21
|
+
* @param backend The gazetteer backend (Stage 6's `WOFSqlitePlaceLookup.asResolverBackend()` in production; any
|
|
22
|
+
* structural match in tests).
|
|
23
23
|
* @param raw The normalized input text — span bounds index into this.
|
|
24
|
-
* @param classifierTopK The aggregated per-span tag candidates (score-descending preferred; the
|
|
25
|
-
*
|
|
24
|
+
* @param classifierTopK The aggregated per-span tag candidates (score-descending preferred; the budget follows this
|
|
25
|
+
* order).
|
|
26
26
|
* @param opts.maxLookups Hard cap on `findPlace` calls (default 12).
|
|
27
27
|
* @param opts.candidatesPerPair Max places retained per (span, tag) pair (default 3).
|
|
28
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconcile-lookups.js","sourceRoot":"","sources":["../../pipeline/reconcile-lookups.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAKH,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,oB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MAAM,EAAE,CAAC;gBAC5B,IAAI,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;oBAAE,SAAQ;gBACtC,MAAM,KAAK,GAAG,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,CAAA;gBAC/C,sFAAsF;gBACtF,4EAA4E;gBAC5E,UAAU,CAAC,GAAG,CACb,KAAK,CAAC,EAAE,EACR,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAkB,CAAC,CACvG,CAAA;YACF,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO;QACN,kBAAkB,EAAE;YACnB,aAAa,CAAC,IAAI,EAAE,GAAG;gBACtB,OAAO,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAA;YACpD,CAAC;SACD;QACD,WAAW,EAAE;YACZ,SAAS,CAAC,KAAK;gBACd,OAAO,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,CAAA;YACtC,CAAC;SACD;KACD,CAAA;AACF,CAAC"}
|
|
@@ -40,13 +40,13 @@ import type { AddressTree, ComponentTag } from "../decoder/types.js";
|
|
|
40
40
|
import type { ResolvedPlace } from "../resolver/types.js";
|
|
41
41
|
import type { PhraseProposal } from "./types.js";
|
|
42
42
|
/**
|
|
43
|
-
* One classifier interpretation for one input span. Pins the Thread C-s contract for the reconciler
|
|
44
|
-
*
|
|
45
|
-
*
|
|
43
|
+
* One classifier interpretation for one input span. Pins the Thread C-s contract for the reconciler — the real
|
|
44
|
+
* classifier emits this directly once that thread lands. Until then, tests hand-build a list of these to simulate top-k
|
|
45
|
+
* output.
|
|
46
46
|
*
|
|
47
|
-
* The classifier may emit multiple candidates for the same span (different tag hypotheses); the
|
|
48
|
-
*
|
|
49
|
-
* phrase
|
|
47
|
+
* The classifier may emit multiple candidates for the same span (different tag hypotheses); the reconciler treats those
|
|
48
|
+
* as the top-k tag axis. Candidates whose `span` does not exactly match a phrase proposal's span are ignored — the
|
|
49
|
+
* phrase grouper is the boundary-discovery authority.
|
|
50
50
|
*/
|
|
51
51
|
export interface ClassifierCandidate {
|
|
52
52
|
span: {
|
|
@@ -58,9 +58,9 @@ export interface ClassifierCandidate {
|
|
|
58
58
|
score: number;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
* Resolver lookup for the (span, tag) axis. In production wraps a `ResolverBackend` (Stage 6); in
|
|
62
|
-
*
|
|
63
|
-
*
|
|
61
|
+
* Resolver lookup for the (span, tag) axis. In production wraps a `ResolverBackend` (Stage 6); in tests an in-memory
|
|
62
|
+
* table built per fixture. Returned candidates must already be sorted descending by score — the reconciler takes the
|
|
63
|
+
* top `kResolver` as-is.
|
|
64
64
|
*/
|
|
65
65
|
export interface ResolverCandidatesLookup {
|
|
66
66
|
candidatesFor(span: {
|
|
@@ -69,9 +69,8 @@ export interface ResolverCandidatesLookup {
|
|
|
69
69
|
}, tag: ComponentTag): ReadonlyArray<ResolvedPlace>;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
* Parent-chain lookup for concordance scoring. WOF SQLite is the source of truth in production
|
|
73
|
-
*
|
|
74
|
-
* reconciler only checks membership).
|
|
72
|
+
* Parent-chain lookup for concordance scoring. WOF SQLite is the source of truth in production (Stage 6); tests pass a
|
|
73
|
+
* `Map`-backed mock. Returns the place's ancestors (order unimportant — the reconciler only checks membership).
|
|
75
74
|
*/
|
|
76
75
|
export interface ParentChainLookup {
|
|
77
76
|
parentsOf(place: ResolvedPlace): ReadonlyArray<ResolvedPlace>;
|
|
@@ -94,9 +93,8 @@ export interface ReconcileOpts {
|
|
|
94
93
|
/** Top-k resolver candidates retained per (span, tag) — default 5. */
|
|
95
94
|
kResolver?: number;
|
|
96
95
|
/**
|
|
97
|
-
* Concordance bonus multiplier. 1.0 weights chain-consistency equal to one classifier-score
|
|
98
|
-
*
|
|
99
|
-
* 1.0.
|
|
96
|
+
* Concordance bonus multiplier. 1.0 weights chain-consistency equal to one classifier-score factor; lower values
|
|
97
|
+
* trust the classifier more, higher values trust the gazetteer more. Default 1.0.
|
|
100
98
|
*/
|
|
101
99
|
concordanceWeight?: number;
|
|
102
100
|
/** Beam width during search — default 16. */
|
|
@@ -120,16 +118,16 @@ export interface ParseTree {
|
|
|
120
118
|
scoreBreakdown: ScoreBreakdown;
|
|
121
119
|
}
|
|
122
120
|
/**
|
|
123
|
-
* Joint-decode the best parse tree from Stage 2.7 phrase proposals, Stage 3 classifier top-k, and
|
|
124
|
-
*
|
|
121
|
+
* Joint-decode the best parse tree from Stage 2.7 phrase proposals, Stage 3 classifier top-k, and Stage 6 resolver
|
|
122
|
+
* candidates. See file header for the scoring formula.
|
|
125
123
|
*
|
|
126
|
-
* The result tree's roots are the winning `(span, tag, place)` triples in source order. Each node's
|
|
127
|
-
* `
|
|
128
|
-
*
|
|
124
|
+
* The result tree's roots are the winning `(span, tag, place)` triples in source order. Each node's `placeID`, `lat`,
|
|
125
|
+
* `lon` come from the chosen resolver candidate; `confidence` reflects the per- factor score for that slot. `runnersUp`
|
|
126
|
+
* are the next-best parses for caller inspection.
|
|
129
127
|
*
|
|
130
|
-
* Empty `classifierTopK` short-circuits to an empty tree at confidence 0 — no joint decode is
|
|
131
|
-
*
|
|
132
|
-
*
|
|
128
|
+
* Empty `classifierTopK` short-circuits to an empty tree at confidence 0 — no joint decode is possible without tag
|
|
129
|
+
* interpretations. Callers without top-k should use the runtime-pipeline fallback (which keeps classifier-emitted spans
|
|
130
|
+
* sorted by start).
|
|
133
131
|
*/
|
|
134
132
|
export declare function reconcileSpans(inputs: ReconcileInputs): ParseTree;
|
|
135
133
|
//# sourceMappingURL=reconcile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconcile.d.ts","sourceRoot":"","sources":["../../pipeline/reconcile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,OAAO,KAAK,EAAe,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAEhD;;;;;;;;GAQG;AACH,MAAM,WAAW,mBAAmB;IACnC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;IACpC,GAAG,EAAE,YAAY,CAAA;IACjB,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAA;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACxC,aAAa,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,GAAG,EAAE,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,CAAA;CACpG;AAED
|
|
1
|
+
{"version":3,"file":"reconcile.d.ts","sourceRoot":"","sources":["../../pipeline/reconcile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,OAAO,KAAK,EAAe,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAEhD;;;;;;;;GAQG;AACH,MAAM,WAAW,mBAAmB;IACnC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAA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,KAAK,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,SAAS;IACzB,IAAI,EAAE,WAAW,CAAA;IACjB,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,WAAW,EAAE,CAAA;IACxB,cAAc,EAAE,cAAc,CAAA;CAC9B;AAkED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,eAAe,GAAG,SAAS,CA4DjE"}
|
|
@@ -45,52 +45,50 @@ const DEFAULTS = {
|
|
|
45
45
|
runnersUp: 3,
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
|
-
* Log-space bonus per **word covered** by an accepted slot. Counterweight for the multiplicative
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* the search prefers to skip.
|
|
48
|
+
* Log-space bonus per **word covered** by an accepted slot. Counterweight for the multiplicative penalty inherent in
|
|
49
|
+
* "score = ∏ confidences": each factor in [0, 1] strictly lowers the running score, which would otherwise make the
|
|
50
|
+
* empty parse always win. With per-word scaling, a slot is worth including when the per-word geometric mean of its
|
|
51
|
+
* factors exceeds 1/2.5 = 0.4; below that, the search prefers to skip.
|
|
53
52
|
*
|
|
54
|
-
* Why per-word and not per-slot: a constant per-slot bonus carries two structural biases, both
|
|
55
|
-
*
|
|
53
|
+
* Why per-word and not per-slot: a constant per-slot bonus carries two structural biases, both measured on `"New York
|
|
54
|
+
* City"` (2026-06-11):
|
|
56
55
|
*
|
|
57
|
-
* 1. **Fragments beat coverage.** The per-token logit aggregation gives interior fragments inflated
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* 2. **More spans collect more bonuses.** For two interpretations covering the same words, the one
|
|
63
|
-
*
|
|
56
|
+
* 1. **Fragments beat coverage.** The per-token logit aggregation gives interior fragments inflated confidence (`City`
|
|
57
|
+
* aggregates I-locality mass → locality 0.92 vs 0.60 for the full span), and a per-slot bonus charges nothing for
|
|
58
|
+
* leaving the rest of the input unexplained — so the beam picked the bare `locality="City"` (+0.475) over
|
|
59
|
+
* `locality="New York City"` (+0.199) and the grouper-audit then promoted the orphaned `York` to a spurious
|
|
60
|
+
* `region`.
|
|
61
|
+
* 2. **More spans collect more bonuses.** For two interpretations covering the same words, the one split into more slots
|
|
62
|
+
* banked one bonus per slot — a fragmentation subsidy.
|
|
64
63
|
*
|
|
65
|
-
* Scaling the bonus by the slot's word count makes coverage the thing being rewarded:
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
64
|
+
* Scaling the bonus by the slot's word count makes coverage the thing being rewarded: equal-coverage interpretations
|
|
65
|
+
* collect equal bonus (the classifier/phrase/resolver factors alone decide), and an interpretation that explains more
|
|
66
|
+
* of the input out-scores one that silently drops words unless the extra evidence is weak (per-word factor mean <
|
|
67
|
+
* 0.4).
|
|
69
68
|
*
|
|
70
|
-
* The choice of 2.5 is a tuning constant, not a free parameter we expose — exposing it would invite
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* per-slot behavior rather than misbehaving.
|
|
69
|
+
* The choice of 2.5 is a tuning constant, not a free parameter we expose — exposing it would invite callers to disable
|
|
70
|
+
* inclusion entirely (defeating the purpose of the reconciler) and the sensible range is narrow. Lives here rather than
|
|
71
|
+
* `ReconcileOpts` for that reason. Words are whitespace-delimited; scripts without spaces (CJK) count as one word,
|
|
72
|
+
* which degrades to the old per-slot behavior rather than misbehaving.
|
|
75
73
|
*/
|
|
76
74
|
const INCLUSION_LOG_BONUS = Math.log(2.5);
|
|
77
75
|
/**
|
|
78
|
-
* Admin levels from coarse to fine. Concordance scoring walks pairs (parent_level, child_level) and
|
|
79
|
-
*
|
|
76
|
+
* Admin levels from coarse to fine. Concordance scoring walks pairs (parent_level, child_level) and checks the child's
|
|
77
|
+
* parent_id chain for the parent's place id.
|
|
80
78
|
*/
|
|
81
79
|
const ADMIN_LEVELS = ["country", "region", "locality", "dependent_locality"];
|
|
82
80
|
const ADMIN_LEVEL_SET = new Set(ADMIN_LEVELS);
|
|
83
81
|
/**
|
|
84
|
-
* Joint-decode the best parse tree from Stage 2.7 phrase proposals, Stage 3 classifier top-k, and
|
|
85
|
-
*
|
|
82
|
+
* Joint-decode the best parse tree from Stage 2.7 phrase proposals, Stage 3 classifier top-k, and Stage 6 resolver
|
|
83
|
+
* candidates. See file header for the scoring formula.
|
|
86
84
|
*
|
|
87
|
-
* The result tree's roots are the winning `(span, tag, place)` triples in source order. Each node's
|
|
88
|
-
* `
|
|
89
|
-
*
|
|
85
|
+
* The result tree's roots are the winning `(span, tag, place)` triples in source order. Each node's `placeID`, `lat`,
|
|
86
|
+
* `lon` come from the chosen resolver candidate; `confidence` reflects the per- factor score for that slot. `runnersUp`
|
|
87
|
+
* are the next-best parses for caller inspection.
|
|
90
88
|
*
|
|
91
|
-
* Empty `classifierTopK` short-circuits to an empty tree at confidence 0 — no joint decode is
|
|
92
|
-
*
|
|
93
|
-
*
|
|
89
|
+
* Empty `classifierTopK` short-circuits to an empty tree at confidence 0 — no joint decode is possible without tag
|
|
90
|
+
* interpretations. Callers without top-k should use the runtime-pipeline fallback (which keeps classifier-emitted spans
|
|
91
|
+
* sorted by start).
|
|
94
92
|
*/
|
|
95
93
|
export function reconcileSpans(inputs) {
|
|
96
94
|
const opts = { ...DEFAULTS, ...inputs.opts };
|
|
@@ -143,12 +141,12 @@ export function reconcileSpans(inputs) {
|
|
|
143
141
|
};
|
|
144
142
|
}
|
|
145
143
|
/**
|
|
146
|
-
* Build the candidate slot set: dedupe phrase proposals by (start, end), join with classifier top-k
|
|
147
|
-
*
|
|
144
|
+
* Build the candidate slot set: dedupe phrase proposals by (start, end), join with classifier top-k tag candidates,
|
|
145
|
+
* join with resolver places per (span, tag).
|
|
148
146
|
*
|
|
149
|
-
* Spans with no classifier candidate are dropped — the reconciler cannot tag them. Spans with no
|
|
150
|
-
*
|
|
151
|
-
*
|
|
147
|
+
* Spans with no classifier candidate are dropped — the reconciler cannot tag them. Spans with no resolver candidate
|
|
148
|
+
* still survive; the resolver score defaults to 1 (neutral) and the slot's place is null (won't contribute to
|
|
149
|
+
* concordance).
|
|
152
150
|
*/
|
|
153
151
|
function buildSlots(inputs, opts) {
|
|
154
152
|
const bySpanKey = new Map();
|
|
@@ -218,8 +216,8 @@ function buildSlots(inputs, opts) {
|
|
|
218
216
|
return slots;
|
|
219
217
|
}
|
|
220
218
|
/**
|
|
221
|
-
* Whitespace-delimited word count of a span's surface text, floor 1. Scales the per-slot inclusion
|
|
222
|
-
*
|
|
219
|
+
* Whitespace-delimited word count of a span's surface text, floor 1. Scales the per-slot inclusion bonus so coverage —
|
|
220
|
+
* not slot count — is what the search rewards (see `INCLUSION_LOG_BONUS`).
|
|
223
221
|
*/
|
|
224
222
|
function wordCountOf(raw, span) {
|
|
225
223
|
const text = raw.slice(span.start, span.end).trim();
|
|
@@ -228,9 +226,9 @@ function wordCountOf(raw, span) {
|
|
|
228
226
|
return text.split(/\s+/).length;
|
|
229
227
|
}
|
|
230
228
|
/**
|
|
231
|
-
* Concordance delta for adding `slot` to an existing beam. Returns the log-space contribution to
|
|
232
|
-
*
|
|
233
|
-
*
|
|
229
|
+
* Concordance delta for adding `slot` to an existing beam. Returns the log-space contribution to add to the beam's
|
|
230
|
+
* running score, or `-Infinity` if the slot introduces a hard contradiction (would be admissible into the beam's admin
|
|
231
|
+
* chain but explicitly disagrees).
|
|
234
232
|
*
|
|
235
233
|
* Behavior at the boundaries:
|
|
236
234
|
*
|
|
@@ -284,9 +282,9 @@ function idsEqual(a, b) {
|
|
|
284
282
|
return String(a) === String(b);
|
|
285
283
|
}
|
|
286
284
|
/**
|
|
287
|
-
* Compute the per-factor breakdown for the winning beam. Independently of the search's `logScore`
|
|
288
|
-
*
|
|
289
|
-
*
|
|
285
|
+
* Compute the per-factor breakdown for the winning beam. Independently of the search's `logScore` (which carries the
|
|
286
|
+
* inclusion-bonus prior), the breakdown surfaces the bare `phrase × classifier × resolver × concordance` product so
|
|
287
|
+
* callers can introspect why a tree won.
|
|
290
288
|
*/
|
|
291
289
|
function breakdownFor(beam, inputs, opts) {
|
|
292
290
|
let phrase = 1;
|
|
@@ -303,8 +301,8 @@ function breakdownFor(beam, inputs, opts) {
|
|
|
303
301
|
return { phrase, classifier, resolver, concordance, total };
|
|
304
302
|
}
|
|
305
303
|
/**
|
|
306
|
-
* Recompute the joint concordance contribution for the entire assignment list (vs the incremental
|
|
307
|
-
*
|
|
304
|
+
* Recompute the joint concordance contribution for the entire assignment list (vs the incremental `concordanceDeltaFor`
|
|
305
|
+
* used during search). Used by the breakdown.
|
|
308
306
|
*/
|
|
309
307
|
function totalConcordanceLog(assignments, inputs, opts) {
|
|
310
308
|
if (!inputs.parentChain)
|
|
@@ -330,12 +328,12 @@ function buildTree(beam, raw) {
|
|
|
330
328
|
confidence: slot.classifierScore * slot.phraseConf,
|
|
331
329
|
children: [],
|
|
332
330
|
source: "reconcile",
|
|
333
|
-
|
|
331
|
+
sourceID: "reconcile:stage-5-joint",
|
|
334
332
|
...(slot.place
|
|
335
333
|
? {
|
|
336
334
|
lat: slot.place.lat,
|
|
337
335
|
lon: slot.place.lon,
|
|
338
|
-
|
|
336
|
+
placeID: `${placeIDPrefix(slot.place)}:${slot.place.id}`,
|
|
339
337
|
}
|
|
340
338
|
: {}),
|
|
341
339
|
}));
|
|
@@ -349,7 +347,7 @@ function emptyParseTree(raw) {
|
|
|
349
347
|
scoreBreakdown: { phrase: 0, classifier: 0, resolver: 0, concordance: 1, total: 0 },
|
|
350
348
|
};
|
|
351
349
|
}
|
|
352
|
-
function
|
|
350
|
+
function placeIDPrefix(place) {
|
|
353
351
|
// Mirror the convention used by @mailwoman/core/resolver-wof-sqlite (`wof:<id>`). Resolver
|
|
354
352
|
// backends that don't carry an implicit vendor in `id` get a neutral `place:` prefix.
|
|
355
353
|
return typeof place.id === "number" ? "wof" : "place";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"re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,GAAG,CAAC,GAAG,MAAM,CAAC,CAAA;IAC/B,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAA;IACjD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAA;IAE3C,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAA;AAChC,CAAC"}
|
|
@@ -16,12 +16,11 @@ import type { ClassifierCandidate } from "./reconcile.js";
|
|
|
16
16
|
import type { PhraseProposal, PipelineOpts, PipelineResult, RuntimePipelineStages } from "./types.js";
|
|
17
17
|
export declare const HARD_PLACE_COUNTRY_SAFELIST: ReadonlySet<string>;
|
|
18
18
|
/**
|
|
19
|
-
* #743/#194: the shared coverage-guard gate — decide whether a confident coarse-placer country
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* the country to hard-filter, or `undefined` to stay on the soft prior.
|
|
19
|
+
* #743/#194: the shared coverage-guard gate — decide whether a confident coarse-placer country should become a HARD
|
|
20
|
+
* candidate filter. Exported so the two production placeCountry call sites (the runtime pipeline AND `geocodeAddress`)
|
|
21
|
+
* apply the SAME three gates and can't drift: confidence ≥ {@link HARD_PLACE_COUNTRY_MIN_CONF}, country in the safelist
|
|
22
|
+
* (override or the default {@link HARD_PLACE_COUNTRY_SAFELIST}), and no caller-set hard/default country to respect.
|
|
23
|
+
* Returns the country to hard-filter, or `undefined` to stay on the soft prior.
|
|
25
24
|
*/
|
|
26
25
|
export declare function hardCountryFor(placedCountry: string, placedConfidence: number, existing: {
|
|
27
26
|
hardCountry?: string;
|
|
@@ -42,17 +41,16 @@ export declare function hardCountryFor(placedCountry: string, placedConfidence:
|
|
|
42
41
|
*/
|
|
43
42
|
export declare function runPipeline(raw: string, stages: RuntimePipelineStages, opts?: PipelineOpts): Promise<PipelineResult>;
|
|
44
43
|
/**
|
|
45
|
-
* Post-classification audit: for each phrase-grouper proposal whose span is entirely unlabeled
|
|
46
|
-
*
|
|
47
|
-
*
|
|
44
|
+
* Post-classification audit: for each phrase-grouper proposal whose span is entirely unlabeled (all-O) in the
|
|
45
|
+
* classifier output, inject a provisional node using the grouper's structural hypothesis. This rescues spans the neural
|
|
46
|
+
* model couldn't type — primarily venue text.
|
|
48
47
|
*
|
|
49
|
-
* When `classifierTopK` is supplied (the joint-reconcile path), the audit defers to the
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* said `street:0.73` for `Via`; trust it (#425).
|
|
48
|
+
* When `classifierTopK` is supplied (the joint-reconcile path), the audit defers to the classifier's own verdict for
|
|
49
|
+
* the orphaned span: if the classifier confidently typed it as a DIFFERENT component than the phrase kind, we inject
|
|
50
|
+
* the classifier's tag rather than the structural guess. Without this, a reconciler that leaves a street-prefix word
|
|
51
|
+
* like `Via` orphaned (because it picked the single `Trento` street span) would see the audit promote `Via`'s
|
|
52
|
+
* LOCALITY_PHRASE to a spurious `locality` node — burying the real trailing city. The classifier said `street:0.73` for
|
|
53
|
+
* `Via`; trust it (#425).
|
|
56
54
|
*/
|
|
57
55
|
export declare function grouperAudit(tree: AddressTree, proposals: PhraseProposal[], text: string, classifierTopK?: ClassifierCandidate[]): AddressTree;
|
|
58
56
|
//# sourceMappingURL=runtime-pipeline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-pipeline.d.ts","sourceRoot":"","sources":["../../pipeline/runtime-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAe,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAInE,OAAO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