@mailwoman/corpus 10.7.0 → 10.8.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 +4 -4
- package/data/PROVENANCE.md +28 -5
- package/data/address-source-register.json +11 -5
- package/data/builds/v0.8.10-rebuild/inputs.json +56 -0
- package/data/builds/v0.8.12-geonames-features/inputs.json +10 -0
- package/data/builds/v0.8.3-script-joins/inputs.json +10 -0
- package/data/builds/v0.8.4-cross-language/inputs.json +10 -0
- package/data/builds/v0.8.5-wof-postalcode/inputs.json +8 -0
- package/data/builds/v0.8.5-wof-structure/inputs.json +8 -0
- package/data/builds/v0.8.6-wof-postalcode/inputs.json +16 -0
- package/data/builds/v0.8.6-wof-structure/inputs.json +69 -0
- package/data/corpus-source-inputs.json +278 -221
- package/data/license-decisions.json +4 -3
- package/data/source-additions.json +1 -1
- package/data/source-resolutions.json +7 -0
- package/data/training-configs/stage1-coarse.yaml +82 -0
- package/data/training-configs/stage1-smoke.yaml +46 -0
- package/data/training-configs/stage2.yaml +110 -0
- package/data/training-configs/v0.9.0-pilot-selfcond.yaml +157 -0
- package/data/training-configs/v0.9.1-pilot-anchor-off.yaml +159 -0
- package/data/training-configs/v0.9.1-pilot-anchor-on.yaml +164 -0
- package/data/training-configs/v0.9.10-country-bal.yaml +150 -0
- package/data/training-configs/v0.9.11-country-cw.yaml +126 -0
- package/data/training-configs/v0.9.12-country-gaz.yaml +131 -0
- package/data/training-configs/v0.9.13-country-gaz-curric.yaml +127 -0
- package/data/training-configs/v0.9.14-affix-ml.yaml +129 -0
- package/data/training-configs/v0.9.2-de-bothorder.yaml +156 -0
- package/data/training-configs/v0.9.3-de-regiontail.yaml +127 -0
- package/data/training-configs/v0.9.5-unit.yaml +160 -0
- package/data/training-configs/v0.9.6-unit-v2.yaml +169 -0
- package/data/training-configs/v0.9.7-unit-v3.yaml +155 -0
- package/data/training-configs/v0.9.8-affix.yaml +160 -0
- package/data/training-configs/v0_4_0-ablate-crf.yaml +101 -0
- package/data/training-configs/v0_4_0-ablate-cw.yaml +76 -0
- package/data/training-configs/v0_4_0-final.yaml +106 -0
- package/data/training-configs/v0_4_0-lr1.5e4.yaml +105 -0
- package/data/training-configs/v0_4_0-lr3e4.yaml +104 -0
- package/data/training-configs/v0_4_0-smoke.yaml +103 -0
- package/data/training-configs/v0_4_0-stableLR-crf-only.yaml +73 -0
- package/data/training-configs/v0_4_0-stableLR-cw-only.yaml +92 -0
- package/data/training-configs/v0_4_0-stableLR-source-only.yaml +61 -0
- package/data/training-configs/v0_4_0.yaml +132 -0
- package/data/training-configs/v0_5_0-classifier-ce-only-full.yaml +79 -0
- package/data/training-configs/v0_5_0-classifier-ce-only-smoke.yaml +104 -0
- package/data/training-configs/v0_5_0-classifier-smoke.yaml +148 -0
- package/data/training-configs/v0_5_1-classifier-unchained.yaml +111 -0
- package/data/training-configs/v0_5_2-classifier-rebalanced.yaml +102 -0
- package/data/training-configs/v0_5_3-classifier-diagnostic.yaml +114 -0
- package/data/training-configs/v0_5_4-revert-recipe.yaml +118 -0
- package/data/training-configs/v0_6_0-stage3.yaml +114 -0
- package/data/training-configs/v0_6_1-stage3-streets.yaml +114 -0
- package/data/training-configs/v0_6_2-crf-fp32-diagnostic.yaml +141 -0
- package/data/training-configs/v0_6_2-stage3-rebalance.yaml +169 -0
- package/data/training-configs/v0_6_2b-rebalance-half.yaml +151 -0
- package/data/training-configs/v0_6_3-house-venue.yaml +181 -0
- package/data/training-configs/v0_6_4-rebalance-no-street.yaml +176 -0
- package/data/training-configs/v0_7_0-calibration-label-smoothing.yaml +150 -0
- package/data/training-configs/v0_7_0b-calibration-ls005.yaml +128 -0
- package/data/training-configs/v0_7_1-intersection.yaml +130 -0
- package/data/training-configs/v0_7_2-intersection-bare.yaml +129 -0
- package/data/training-configs/v0_8_0-calibration-ls005.yaml +124 -0
- package/data/training-configs/v0_8_0-finetune-pretrained.yaml +133 -0
- package/data/training-configs/v0_8_0-finetune-scratch.yaml +131 -0
- package/data/training-configs/v0_8_0-german.yaml +130 -0
- package/data/training-configs/v0_8_0-mlm-pretrain.yaml +89 -0
- package/data/training-configs/v0_8_0-street-bare.yaml +113 -0
- package/data/training-configs/v0_8_1-finetune-pretrained.yaml +137 -0
- package/data/training-configs/v0_8_1-finetune-scratch.yaml +135 -0
- package/data/training-configs/v0_8_1-street-bare-v2.yaml +112 -0
- package/data/training-configs/v1.0.0-affixdiag.yaml +174 -0
- package/data/training-configs/v1.0.0-consolidation.yaml +167 -0
- package/data/training-configs/v1.0.1-consolidation-runA.yaml +174 -0
- package/data/training-configs/v1.0.2-consolidation-runB.yaml +182 -0
- package/data/training-configs/v1.0.3-consolidation-runC.yaml +180 -0
- package/data/training-configs/v1.0.4-probe0-curriculum.yaml +193 -0
- package/data/training-configs/v1.0.6-relabel-probe.yaml +133 -0
- package/data/training-configs/v1.1.0-relabel-consolidation.yaml +134 -0
- package/data/training-configs/v1.2.0-probe-glue.yaml +130 -0
- package/data/training-configs/v1.2.1-probe-intersection.yaml +130 -0
- package/data/training-configs/v1.2.2-probe-pobox.yaml +133 -0
- package/data/training-configs/v1.3.0-boundary-consolidation.yaml +144 -0
- package/data/training-configs/v1.4.0-charoffset.yaml +139 -0
- package/data/training-configs/v1.5.0-fr-order.yaml +140 -0
- package/data/training-configs/v1.5.1-fr-order.yaml +126 -0
- package/data/training-configs/v1.6.0-boundary-stress.yaml +208 -0
- package/data/training-configs/v1.7.0-boundary-stress.yaml +215 -0
- package/data/training-configs/v1.8.0-fr-admin-split.yaml +144 -0
- package/data/training-configs/v1.8.1-fr-admin-split.yaml +144 -0
- package/data/training-configs/v1.9.0-multilocale.yaml +165 -0
- package/data/training-configs/v1.9.1-multilocale-3order.yaml +169 -0
- package/data/training-configs/v1.9.2-multilocale-au.yaml +157 -0
- package/data/training-configs/v1.9.3-anchor-absorption.yaml +167 -0
- package/data/training-configs/v1.9.3a1-anchor-absorption.yaml +171 -0
- package/data/training-configs/v1.9.3a2-anchor-absorption.yaml +170 -0
- package/data/training-configs/v1.9.3a3-anchor-absorption.yaml +170 -0
- package/data/training-configs/v1.9.4-fr-bare-street.yaml +182 -0
- package/data/training-configs/v1.9.5-surface-aug.yaml +182 -0
- package/data/training-configs/v1.9.6-slavic-anchor.yaml +158 -0
- package/data/training-configs/v1.9.6-surface-aug-full.yaml +191 -0
- package/data/training-configs/v1.9.7-bsplice.yaml +160 -0
- package/data/training-configs/v1.9.8-bare-street-bsplice.yaml +205 -0
- package/data/training-configs/v1.9.9-bare-street-si.yaml +225 -0
- package/data/training-configs/v2.1.0-boundary-family-probe.yaml +169 -0
- package/data/training-configs/v2.1.0-boundary-family.yaml +168 -0
- package/data/training-configs/v2.1.1-family-mass-probe.yaml +171 -0
- package/data/training-configs/v2.1.2-zeroslice-control.yaml +167 -0
- package/data/training-configs/v2.1.3-family-embfreeze.yaml +172 -0
- package/data/training-configs/v2.2.0-full-family.yaml +162 -0
- package/data/training-configs/v2.3.0-nl-postcode-full.yaml +173 -0
- package/data/training-configs/v2.4.1-fr-nsplice-ft.yaml +197 -0
- package/data/training-configs/v2.5.0-fragment-assay.yaml +179 -0
- package/data/training-configs/v2.5.1-fragment-splice.yaml +161 -0
- package/data/training-configs/v2.5.2-fragment-v2.yaml +160 -0
- package/data/training-configs/v2.5.3-fragment-v3.yaml +159 -0
- package/data/training-configs/v2.5.4-fragment-v4.yaml +160 -0
- package/data/training-configs/v2.5.5-fragment-v5.yaml +160 -0
- package/data/training-configs/v2.5.6-dynamics-probe.yaml +161 -0
- package/data/training-configs/v2.5.7-fragment-v5-gentle-full.yaml +166 -0
- package/data/training-configs/v2.6.0-span-boundary-probe.yaml +166 -0
- package/data/training-configs/v2.6.1-span-boundary-full.yaml +163 -0
- package/data/training-configs/v2.6.2-span-boundary-w15.yaml +162 -0
- package/data/training-configs/v2.6.3-country-channel.yaml +176 -0
- package/data/training-configs/v2.6.4-country-softguard.yaml +180 -0
- package/data/training-configs/v2.6.5-country-softguard-025.yaml +183 -0
- package/data/training-configs/v2.7.0-punct-drop.yaml +161 -0
- package/data/training-configs/v2.8.0-combined.yaml +163 -0
- package/data/training-configs/v2.9.0-country-counterweight.yaml +160 -0
- package/data/training-configs/v2.9.1-country-leading.yaml +161 -0
- package/data/training-configs/v3.0.0-span-head.yaml +194 -0
- package/data/training-configs/v3.0.1-span-head-lr.yaml +205 -0
- package/data/training-configs/v3.1.0-fr-fragment.yaml +171 -0
- package/data/training-configs/v3.10.0-gb-probe.yaml +192 -0
- package/data/training-configs/v3.10.0-span-ship-probe.yaml +181 -0
- package/data/training-configs/v3.10.1-gb-probe2.yaml +189 -0
- package/data/training-configs/v3.10.1-span-ship-8k.yaml +180 -0
- package/data/training-configs/v3.11.0-deploc-feed.yaml +195 -0
- package/data/training-configs/v3.11.1-deploc-consolidate.yaml +192 -0
- package/data/training-configs/v3.12.0-crt-probe.yaml +195 -0
- package/data/training-configs/v3.13.0-two-phase.yaml +197 -0
- package/data/training-configs/v3.15.0-street-type.yaml +197 -0
- package/data/training-configs/v3.16.0-evidence-bundle.yaml +199 -0
- package/data/training-configs/v3.17.0-selective-locality.yaml +199 -0
- package/data/training-configs/v3.18.0-personname-floor.yaml +199 -0
- package/data/training-configs/v3.19.0-bundle-8k.yaml +199 -0
- package/data/training-configs/v3.2.0-fragment-span.yaml +177 -0
- package/data/training-configs/v3.20.0-bundle-v5-8k.yaml +201 -0
- package/data/training-configs/v3.21.0-bundle-noise-8k.yaml +203 -0
- package/data/training-configs/v3.22.0-bundle-v385feed-8k.yaml +192 -0
- package/data/training-configs/v3.23.0-bundle-guard-8k.yaml +195 -0
- package/data/training-configs/v3.24.0-bundle-ordinal-8k.yaml +195 -0
- package/data/training-configs/v3.3.0-no-fragment-probe.yaml +173 -0
- package/data/training-configs/v3.4.0-norway-coverage-probe.yaml +173 -0
- package/data/training-configs/v3.4.1-norway-full.yaml +171 -0
- package/data/training-configs/v3.5.0-numsplice-probe.yaml +183 -0
- package/data/training-configs/v3.5.1-numsplice-full.yaml +183 -0
- package/data/training-configs/v3.5.2-numsplice3-probe.yaml +199 -0
- package/data/training-configs/v3.5.3-numsplice23-probe.yaml +201 -0
- package/data/training-configs/v3.5.4-numsplice3-full.yaml +201 -0
- package/data/training-configs/v3.6.0-no-fragment-b4b.yaml +184 -0
- package/data/training-configs/v3.7.0-no-fragment-b4b3.yaml +185 -0
- package/data/training-configs/v3.7.1-no-fragment-b4b3-full.yaml +184 -0
- package/data/training-configs/v3.7.2-no-fragment-b4b3tweak.yaml +185 -0
- package/data/training-configs/v3.7.3-no-fragment-b4b3tweak-full.yaml +184 -0
- package/data/training-configs/v3.8.0-punct-fix-probe.yaml +186 -0
- package/data/training-configs/v3.8.1-punct-fix-full.yaml +186 -0
- package/data/training-configs/v3.8.2-nz-locale-probe.yaml +195 -0
- package/data/training-configs/v3.8.3-nz-probe2.yaml +197 -0
- package/data/training-configs/v3.8.4-latam-probe.yaml +192 -0
- package/data/training-configs/v3.8.5-latam-8k.yaml +191 -0
- package/data/training-configs/v3.8.6-latam-br-8k.yaml +193 -0
- package/data/training-configs/v3.9.0-ptro-probe.yaml +193 -0
- package/data/training-configs/v3.9.1-ptro-full.yaml +191 -0
- package/data/training-configs/v4.0.0-base-60k.yaml +233 -0
- package/data/training-configs/v4.0.1-base-60k.yaml +192 -0
- package/data/training-configs/v4.1.0-gb-venue-l0-2k.yaml +186 -0
- package/data/training-configs/v4.1.0-gb-venue-l1e2-2k.yaml +186 -0
- package/data/training-configs/v4.1.0-gb-venue-l1e4-2k.yaml +186 -0
- package/data/training-configs/v4.1.0-gb-venue-l1e6-2k.yaml +186 -0
- package/data/training-configs/v4.1.1-gb-venue-8k.yaml +186 -0
- package/data/training-configs/v4.1.2-gb-venue-l0-2k.yaml +186 -0
- package/data/training-configs/v4.1.2-gb-venue-l1e2-2k.yaml +186 -0
- package/data/training-configs/v4.1.2-gb-venue-l1e4-2k.yaml +186 -0
- package/data/training-configs/v4.1.2-gb-venue-l1e6-2k.yaml +186 -0
- package/data/training-configs/v4.1.3-gb-venue-country-8k.yaml +186 -0
- package/data/training-configs/v4.10.0-trailing-region-lowdose-8k.yaml +326 -0
- package/data/training-configs/v4.11.0-house-venue-intl-4k.yaml +336 -0
- package/data/training-configs/v4.12.0-house-venue-ewc1e5-4k.yaml +361 -0
- package/data/training-configs/v4.13.0-null-control-4k.yaml +305 -0
- package/data/training-configs/v4.14.0-house-venue-1k.yaml +329 -0
- package/data/training-configs/v4.15.0-ru-exposure-d0-2k.yaml +228 -0
- package/data/training-configs/v4.15.0-ru-exposure-d100-2k.yaml +206 -0
- package/data/training-configs/v4.15.0-ru-exposure-d1000-2k.yaml +205 -0
- package/data/training-configs/v4.15.0-ru-exposure-d10000-2k.yaml +205 -0
- package/data/training-configs/v4.15.0-ru-exposure-d100000-2k.yaml +207 -0
- package/data/training-configs/v4.2.0-base-anchor-v2-2k.yaml +228 -0
- package/data/training-configs/v4.2.0-base-anchor-v2.yaml +267 -0
- package/data/training-configs/v4.3.0-suffix-boundary-8k.yaml +211 -0
- package/data/training-configs/v4.3.1-suffix-boundary-target-dose-8k.yaml +218 -0
- package/data/training-configs/v4.3.2-suffix-boundary-idempotent-feed-8k.yaml +219 -0
- package/data/training-configs/v4.3.3-cooldown46k.yaml +212 -0
- package/data/training-configs/v4.3.3-suffix-boundary-base-60k.yaml +193 -0
- package/data/training-configs/v4.4.0-suffix-boundary-v2-base-60k.yaml +200 -0
- package/data/training-configs/v4.5.0-psc-frsurfaces-2k.yaml +194 -0
- package/data/training-configs/v4.5.0-psc-frsurfaces-8k.yaml +194 -0
- package/data/training-configs/v4.5.1-psc-frsurfaces-2k.yaml +195 -0
- package/data/training-configs/v4.5.2-psc-frsurfaces-2k.yaml +196 -0
- package/data/training-configs/v4.6.0-admin-surfaces-base-60k.yaml +203 -0
- package/data/training-configs/v4.6.0-admin-surfaces-smoke-500.yaml +194 -0
- package/data/training-configs/v4.7.0-trailing-region-structured-8k.yaml +220 -0
- package/data/training-configs/v4.7.0-trailing-region-structured-smoke-500.yaml +223 -0
- package/data/training-configs/v4.8.0-trailing-region-placement-8k.yaml +373 -0
- package/data/training-configs/v4.8.0-trailing-region-placement-smoke-500.yaml +378 -0
- package/data/training-configs/v4.9.0-trailing-region-leftcontext-8k.yaml +331 -0
- package/data/training-configs/v5.0.0-base-alltails-60k.yaml +305 -0
- package/data/training-configs/v5.0.1-null-1k.yaml +294 -0
- package/data/training-configs/v5.1.0-nostreetless-60k.yaml +291 -0
- package/data/training-configs/v5.2.0-seed-variance-60k.yaml +294 -0
- package/data/training-configs/v5.3.0-reviewed-ve-postcode-tail-60k.yaml +315 -0
- package/data/training-configs/v5.4.0-target-families-2k.yaml +336 -0
- package/data/training-configs/v5.4.0-target-families-60k.yaml +419 -0
- package/data/training-configs/v5.5.0-restored-generations-60k.yaml +397 -0
- package/data/training-configs/v5.6.0-bare-postcode-60k.yaml +454 -0
- package/data/training-configs/v5.7.0-region-code-and-unit-60k.yaml +476 -0
- package/data/training-configs/v5.8.0-gazetteer-choreography-off-60k.yaml +477 -0
- package/data/training-configs/v5.9.0-locality-shape-60k.yaml +416 -0
- package/data/training-configs/v6.0.0-register-surface-60k.yaml +468 -0
- package/data/training-configs/v7.0.0-de-holdout-60k.yaml +479 -0
- package/data/training-configs/v7.1.0-osm-exposure-60k.yaml +527 -0
- package/data/training-configs/v7.10.0-gb-county-60k-s43.yaml +606 -0
- package/data/training-configs/v7.10.0-gb-county-60k.yaml +603 -0
- package/data/training-configs/v7.2.0-address-systems-60k.yaml +527 -0
- package/data/training-configs/v7.3.0-null-4k.yaml +667 -0
- package/data/training-configs/v7.3.0-venue-4k.yaml +679 -0
- package/data/training-configs/v7.3.1-venue-nr-4k.yaml +678 -0
- package/data/training-configs/v7.3.2-venue-planet-4k.yaml +683 -0
- package/data/training-configs/v7.4.0-venue-planet-60k.yaml +702 -0
- package/data/training-configs/v7.4.1-venue-locality-60k.yaml +692 -0
- package/data/training-configs/v7.5.0-gb-region-4k.yaml +680 -0
- package/data/training-configs/v7.6.0-venue-gb-region-60k.yaml +714 -0
- package/data/training-configs/v7.7.0-no-ppd-60k.yaml +551 -0
- package/data/training-configs/v7.8.0-rights-clean-60k.yaml +562 -0
- package/data/training-configs/v7.9.0-country-gap-60k.yaml +609 -0
- package/data/training-configs/v8-cjk-control.yaml +68 -0
- package/data/training-configs/v8-cjk-full-2k.yaml +79 -0
- package/data/training-configs/v8-cjk-full.yaml +119 -0
- package/data/training-configs/v8-cjk-kana.yaml +82 -0
- package/data/training-configs/v8-cjk-kr-probe.yaml +79 -0
- package/data/training-configs/v8-cjk-kr.yaml +77 -0
- package/data/training-configs/v8-cjk-regs-probe.yaml +62 -0
- package/data/training-configs/v8-cjk-regs.yaml +93 -0
- package/data/training-configs/v8-cjk-shi.yaml +76 -0
- package/data/training-configs/v8-jp-full-2k.yaml +82 -0
- package/data/training-configs/v8-jp-full.yaml +134 -0
- package/data/training-configs/v8-jp-probe.yaml +55 -0
- package/data/training-configs/v8-leg2-charword.yaml +122 -0
- package/data/training-configs/v8-leg2-sp.yaml +113 -0
- package/data/training-configs/v8.0.0-postcode-move-p000-60k.yaml +645 -0
- package/data/training-configs/v8.0.0-postcode-move-p005-60k.yaml +646 -0
- package/data/training-configs/v8.0.0-postcode-move-p015-60k.yaml +646 -0
- package/data/training-configs/v8.1.0-base-60k-s43.yaml +666 -0
- package/data/training-configs/v8.1.0-base-60k.yaml +661 -0
- package/data/training-configs/v8.2.0-base-60k.yaml +654 -0
- package/data/training-configs/v8.3.0-base-c6-60k-no-primer-s42.yaml +679 -0
- package/data/training-configs/v8.3.0-base-c6-60k-no-primer-s43.yaml +679 -0
- package/data/training-configs/v8.3.0-base-c6-60k-s43.yaml +678 -0
- package/data/training-configs/v8.3.0-base-c6-60k.yaml +670 -0
- package/data/training-configs/v8.3.0-base-c6-90k-fp32master-s42.yaml +710 -0
- package/data/training-configs/v8.3.0-base-c6-90k-fp32master-s43.yaml +710 -0
- package/data/training-configs/v8.3.0-base-c6-90k-mixed-s42.yaml +688 -0
- package/data/training-configs/v8.3.0-base-c6-90k-mixed-s43.yaml +688 -0
- package/data/training-configs/v8.3.0-primer-wof-30k-s43.yaml +208 -0
- package/data/training-configs/v8.3.0-primer-wof-30k.yaml +201 -0
- package/data/training-configs/v8.3.0-probe-c4-split-digits-2k.yaml +661 -0
- package/data/training-configs/v8.3.0-probe-c5-mixed-digits-2k.yaml +660 -0
- package/data/training-configs/v8.3.0-probe-c6-isolated-punctuation-2k.yaml +660 -0
- package/data/training-configs/v8.3.0-probe-code-unit-2k.yaml +659 -0
- package/data/training-configs/v8.3.0-probe-rust-loader-2k.yaml +703 -0
- package/data/training-configs/v8.3.1-base-c6-90k-nppes088-s42.yaml +730 -0
- package/data/training-configs/v8.3.1-base-c6-90k-nppes088-s43.yaml +730 -0
- package/data/training-configs/v8.3.2-base-c6-90k-v0810-s42-r2.yaml +671 -0
- package/data/training-configs/v8.3.2-base-c6-90k-v0810-s42.yaml +713 -0
- package/data/training-configs/v8.3.2-base-c6-90k-v0810-s43.yaml +670 -0
- package/data/training-configs/v8.4.0-base-c6-90k-v0812-s42-r2.yaml +666 -0
- package/data/training-configs/v8.4.0-base-c6-90k-v0812-s42.yaml +690 -0
- package/data/training-configs/v8.4.0-base-c6-90k-v0812-s43.yaml +665 -0
- package/data/training-configs/v8.4.0-cpu-lifecycle.yaml +523 -0
- package/data/training-configs/v8.6.0-base-c6-90k-v0816-s42.yaml +689 -0
- package/data/training-configs/v8.6.1-base-c6-90k-v0817-s42.yaml +685 -0
- package/data/training-configs/v8.6.2-base-c6-90k-v0817-wof15-s42.yaml +686 -0
- package/data/training-configs/v8.6.3-base-c6-90k-v0818-wof15-s42.yaml +683 -0
- package/data/training-manifests/v0.8.0.json +1136 -0
- package/data/training-manifests/v0.8.1.json +1136 -0
- package/data/training-manifests/v0.8.18-retention-overlay.effective.json +2370 -0
- package/data/training-manifests/v0.8.18-retention-overlay.json +4410 -0
- package/data/training-manifests/v0.8.2.json +1136 -0
- package/data/us-situs-sources.json +1 -1
- package/data/wof-refuted-parents.json +4256 -0
- package/lib/adapters/cordis/adapter.ts +65 -14
- package/lib/adapters/dedup-key.ts +3 -3
- package/lib/adapters/geonames/adapter.ts +4 -5
- package/lib/adapters/geonames/features/adapter.ts +208 -0
- package/lib/adapters/geonames/postal/adapter.ts +2 -3
- package/lib/adapters/gleif/adapter.ts +29 -10
- package/lib/adapters/libpostal-dictionary.ts +3 -2
- package/lib/adapters/openaddresses/adapter.ts +1 -2
- package/lib/adapters/osm/adapter.ts +49 -23
- package/lib/adapters/osm/license.ts +34 -0
- package/lib/adapters/overture/adapter.ts +1 -2
- package/lib/adapters/po-box/adapter.ts +3 -5
- package/lib/adapters/present.ts +23 -0
- package/lib/adapters/record-id.ts +88 -0
- package/lib/adapters/source-id.ts +2 -2
- package/lib/adapters/street/unit.ts +490 -0
- package/lib/adapters/wof/admin/json/adapter.ts +364 -18
- package/lib/adapters/wof/admin/json/explore.ts +294 -0
- package/lib/adapters/wof/admin/json/region-codes.ts +69 -0
- package/lib/adapters/wof/json-rows.ts +196 -40
- package/lib/adapters/wof/postalcode-json/adapter.ts +22 -12
- package/lib/adapters/wof/record-cache.ts +118 -0
- package/lib/adapters/wof/sample.ts +407 -0
- package/lib/adapters.ts +3 -0
- package/lib/au/adapters/gnaf/adapter.ts +1 -2
- package/lib/au/adapters/gnaf/assemble.ts +2 -1
- package/lib/au/recipes/delivery-guideline.ts +77 -0
- package/lib/au/recipes/unit-type-guideline.ts +99 -0
- package/lib/az/adapters/opendata/adapter.ts +15 -22
- package/lib/be/adapters/brussels/adapter.ts +2 -3
- package/lib/be/adapters/vlaanderen/adapter.ts +5 -6
- package/lib/be/adapters/wallonie/adapter.ts +3 -4
- package/lib/bs/adapters/gbpa/adapter.ts +7 -12
- package/lib/build/adapters.ts +8 -5
- package/lib/build/align/range.ts +300 -0
- package/lib/build/align/totals.ts +156 -0
- package/lib/build/align.ts +279 -110
- package/lib/build/budget.ts +162 -0
- package/lib/build/checkpoint.ts +10 -0
- package/lib/build/code-hash.ts +399 -0
- package/lib/build/component-check.ts +125 -0
- package/lib/build/eligibility.ts +10 -5
- package/lib/build/heap.ts +7 -0
- package/lib/build/holdout-check.ts +141 -0
- package/lib/build/inputs.ts +16 -2
- package/lib/build/lock.ts +38 -0
- package/lib/build/manifest.ts +126 -0
- package/lib/build/parallel.ts +635 -0
- package/lib/build/prior-output.ts +186 -0
- package/lib/build/rows.ts +6 -6
- package/lib/build/settings.ts +139 -0
- package/lib/build/source-record.ts +170 -0
- package/lib/build/types.ts +84 -2
- package/lib/build/worker.ts +359 -0
- package/lib/build.ts +127 -91
- package/lib/cjk/builder.ts +718 -0
- package/lib/cjk/foreign-places.ts +369 -0
- package/lib/cjk/overlay.ts +301 -0
- package/lib/cjk/registry.ts +316 -0
- package/lib/cjk/text.ts +199 -0
- package/lib/cn/recipes/organizational-units.ts +0 -1
- package/lib/cz/adapters/cuzk/adapter.ts +2 -3
- package/lib/cz/recipes/pcfirst-preposition.ts +0 -1
- package/lib/cz/tools/fetch/cuzk.ts +1 -1
- package/lib/de/fragment-board.ts +257 -0
- package/lib/de/recipes/locale.ts +47 -35
- package/lib/de/recipes/postfach-guideline.ts +68 -0
- package/lib/dk/adapters/inspire/adapter.ts +2 -3
- package/lib/ee/adapters/ads/adapter.ts +1 -2
- package/lib/env.ts +41 -5
- package/lib/es/adapters/bizkaia/adapter.ts +3 -3
- package/lib/es/adapters/catastro/adapter.ts +3 -3
- package/lib/es/adapters/gipuzkoa/adapter.ts +3 -3
- package/lib/es/adapters/navarra/adapter.ts +2 -2
- package/lib/es/cadastre.ts +0 -1
- package/lib/es/tools/fetch/bizkaia.ts +1 -1
- package/lib/es/tools/fetch/catastro.ts +6 -6
- package/lib/es/tools/fetch/navarra.ts +2 -2
- package/lib/fi/adapters/ryhti/adapter.ts +2 -3
- package/lib/fo/adapters/adressur/adapter.ts +8 -16
- package/lib/fr/adapters/annuaire-education/adapter.ts +2 -3
- package/lib/fr/adapters/ban/adapter.ts +19 -5
- package/lib/fr/adapters/finess/adapter.ts +2 -3
- package/lib/fr/recipes/admin-split.ts +17 -7
- package/lib/fr/recipes/bare-street.ts +0 -2
- package/lib/fr/recipes/fragment.ts +1 -8
- package/lib/fr/recipes/house-venue-tuples.ts +102 -0
- package/lib/fr/recipes/lieudit.ts +1 -2
- package/lib/fr/recipes/order.ts +6 -9
- package/lib/fr/recipes/unit-line-guideline.ts +108 -0
- package/lib/fr/street-decompose.ts +1 -1
- package/lib/gb/adapters/os-open/adapter.ts +15 -18
- package/lib/gb/county.ts +1 -1
- package/lib/gb/os-open/nearest-link.ts +1 -1
- package/lib/gb/os-open/open/names.ts +4 -5
- package/lib/gb/os-open/open/roads.ts +10 -10
- package/lib/gb/recipes/house-venue-tuples.ts +121 -0
- package/lib/gb/recipes/sub-building-guideline.ts +92 -0
- package/lib/gb/tools/fetch/os-open.ts +3 -3
- package/lib/gu/adapters/bsp/adapter.ts +7 -17
- package/lib/im/adapters/land-registry/adapter.ts +13 -19
- package/lib/index.ts +1 -1
- package/lib/inspire/stream.ts +3 -3
- package/lib/international/recipes/locale.ts +94 -44
- package/lib/it/adapters/anac/adapter.ts +4 -5
- package/lib/it/recipes/casella-postale-guideline.ts +90 -0
- package/lib/it/recipes/unit-line-guideline.ts +93 -0
- package/lib/it/tools/fetch/anac.ts +1 -1
- package/lib/jp/adapters/wof-admin/adapter.ts +1 -2
- package/lib/jp/corpus/assemble.ts +492 -0
- package/lib/jp/corpus/probe.ts +429 -0
- package/lib/jp/corpus/rows.ts +187 -0
- package/lib/jp/corpus/sources.ts +259 -0
- package/lib/jp/kana.ts +181 -0
- package/lib/jp/registers.ts +286 -0
- package/lib/jp/text.ts +76 -0
- package/lib/kr/adapters/juso/label-rows.ts +8 -1
- package/lib/kr/adapters/localdata/align.ts +14 -4
- package/lib/kr/adapters/localdata/key-index.ts +2 -25
- package/lib/kr/adapters/localdata/permit-rows.ts +28 -30
- package/lib/kr/corpus/assemble.ts +650 -0
- package/lib/kr/corpus/rows.ts +304 -0
- package/lib/kr/tools/fetch/localdata.ts +1 -1
- package/lib/li/adapters/llv/adapter.ts +6 -12
- package/lib/lu/adapters/bd-adresses/adapter.ts +2 -3
- package/lib/lv/adapters/varis/adapter.ts +1 -2
- package/lib/nl/adapters/kadaster/adapter.ts +4 -5
- package/lib/nl/recipes/postcode.ts +0 -1
- package/lib/no/adapters/matrikkelen/adapter.ts +2 -3
- package/lib/no/recipes/fragment.ts +0 -1
- package/lib/no/recipes/street/led.ts +0 -1
- package/lib/no/recipes/street.ts +0 -1
- package/lib/no/tools/fetch/matrikkelen.ts +2 -2
- package/lib/nz/recipes/unit-type-guideline.ts +100 -0
- package/lib/parquet/corpus-rows.ts +56 -0
- package/lib/parquet/duckdb.ts +38 -4
- package/lib/parquet/readers.ts +22 -1
- package/lib/parquet/record.ts +659 -0
- package/lib/parquet/schema.ts +61 -13
- package/lib/parquet/shuffle.ts +101 -1
- package/lib/parquet/span-sql.ts +1 -1
- package/lib/parquet/streams.ts +37 -8
- package/lib/parquet/writers.ts +523 -139
- package/lib/pl/adapters/emuia/adapter.ts +2 -3
- package/lib/recipes/address-points.ts +108 -0
- package/lib/recipes/anchor-absorption.ts +0 -1
- package/lib/recipes/bare/country.ts +0 -1
- package/lib/recipes/bare/postcode/eval.ts +5 -10
- package/lib/recipes/bare/postcode.ts +2 -2
- package/lib/recipes/boundary-stress.ts +1 -2
- package/lib/recipes/country-balanced.ts +15 -26
- package/lib/recipes/deepseek/batches.ts +323 -0
- package/lib/recipes/deepseek/client.ts +139 -0
- package/lib/recipes/deepseek/generate.ts +104 -0
- package/lib/recipes/deepseek/kryptonite.ts +164 -0
- package/lib/recipes/deepseek/prompts.ts +268 -0
- package/lib/recipes/deepseek/run.ts +243 -0
- package/lib/recipes/deepseek/transliteration.ts +242 -0
- package/lib/recipes/fragment-assay/build.ts +456 -0
- package/lib/recipes/fragment-assay/rows.ts +298 -0
- package/lib/recipes/fragment-assay/sources.ts +517 -0
- package/lib/recipes/house/venue/tuples.ts +151 -0
- package/lib/recipes/{house-venue.ts → house/venue.ts} +8 -3
- package/lib/recipes/intersection.ts +0 -1
- package/lib/recipes/po/box/cedex/recipe.ts +1 -2
- package/lib/recipes/po/box.ts +0 -2
- package/lib/recipes/postal/guideline/leg.ts +179 -0
- package/lib/recipes/postal/guideline.ts +278 -0
- package/lib/recipes/postal/unit-guideline.ts +83 -0
- package/lib/recipes/scaffold.ts +37 -29
- package/lib/recipes/secondary.ts +295 -0
- package/lib/recipes/sources.ts +22 -4
- package/lib/recipes/street/affix.ts +0 -3
- package/lib/recipes/street/bare.ts +1 -3
- package/lib/recipes/street.ts +0 -1
- package/lib/recipes/sub/venue/context.ts +11 -9
- package/lib/recipes/sub/venue/sources.ts +3 -2
- package/lib/recipes/sub/venue.ts +4 -13
- package/lib/recipes/trailing-region.ts +0 -1
- package/lib/recipes/unit.ts +0 -2
- package/lib/recipes/venue.ts +0 -1
- package/lib/recipes.ts +6 -2
- package/lib/registers.ts +5 -1
- package/lib/ro/adapters/retea-scolara/adapter.ts +1 -2
- package/lib/runner.ts +2 -3
- package/lib/sg/recipes/register.ts +1 -2
- package/lib/si/recipes/bare-village.ts +0 -1
- package/lib/sk/adapters/inspire/adapter.ts +3 -4
- package/lib/source-register/corpus-inputs.ts +95 -26
- package/lib/source-register/effective-manifest.ts +11 -8
- package/lib/source-register/register.ts +6 -128
- package/lib/source-register/row-license.ts +189 -0
- package/lib/source-register/training-manifest.ts +230 -53
- package/lib/source-register/types.ts +7 -166
- package/lib/source-register.ts +11 -6
- package/lib/south-asia/recipes/register.ts +4 -4
- package/lib/street-index/reader.ts +62 -0
- package/lib/street-index/schema.ts +55 -0
- package/lib/street-index/write.ts +94 -0
- package/lib/subvenue/table.ts +1 -1
- package/lib/surfaces/locale.ts +43 -32
- package/lib/synthesizers/house-venue.ts +1 -1
- package/lib/synthesizers/utils.ts +85 -18
- package/lib/test-kit/corpus-recipe.ts +1 -1
- package/lib/test-kit.ts +171 -1
- package/lib/tools/align-canonical.ts +2 -5
- package/lib/tools/audit.ts +10 -8
- package/lib/tools/cjk/foreign-places.run.ts +36 -0
- package/lib/tools/cjk/overlay.run.ts +79 -0
- package/lib/tools/de-fragment-board.run.ts +49 -0
- package/lib/tools/deepseek.run.ts +73 -0
- package/lib/tools/fetch/download/retry.ts +32 -2
- package/lib/tools/fetch/geonames/dump.ts +1 -1
- package/lib/tools/fetch/geonames/postal.ts +3 -1
- package/lib/tools/fetch/gleif.ts +1 -1
- package/lib/tools/fetch/inspire-addresses.ts +1 -1
- package/lib/tools/fetch/openaddresses.ts +2 -2
- package/lib/tools/fetch/vlaanderen-ad.ts +1 -1
- package/lib/tools/fetch/wfs-harvest.ts +4 -4
- package/lib/tools/fetch/wikidata/session.ts +165 -0
- package/lib/tools/fetch/{wikidata-subvenue.ts → wikidata/subvenue.ts} +64 -10
- package/lib/tools/fetch/wikidata/vital-places/classify.ts +251 -0
- package/lib/tools/fetch/wikidata/vital-places/entities.ts +971 -0
- package/lib/tools/fetch/wikidata/vital-places/inventory.ts +154 -0
- package/lib/tools/fetch/wikidata/vital-places/progress.ts +45 -0
- package/lib/tools/fetch/wikidata/vital-places/qrank.ts +268 -0
- package/lib/tools/fetch/wikidata/vital-places/query-entities.ts +269 -0
- package/lib/tools/fetch/wikidata/vital-places/render.ts +266 -0
- package/lib/tools/fetch/wikidata/vital-places.ts +296 -0
- package/lib/tools/fetch.ts +3 -1
- package/lib/tools/fragment-assay.run.ts +65 -0
- package/lib/tools/golden/expand.ts +2 -3
- package/lib/tools/house-venue-tuples.run.ts +67 -0
- package/lib/tools/input-changes.ts +213 -0
- package/lib/tools/jp/corpus.run.ts +80 -0
- package/lib/tools/jp/probe-corpus.run.ts +60 -0
- package/lib/tools/jsonl-to-parquet.ts +29 -10
- package/lib/tools/kr-corpus.run.ts +83 -0
- package/lib/tools/migrate/overlay-parquet.ts +2 -1
- package/lib/tools/migrate/recipe-output.ts +2 -1
- package/lib/tools/overlay/deletions.ts +208 -0
- package/lib/tools/overlay/distinct-row-ids.ts +110 -0
- package/lib/tools/overlay/held-out-spans.ts +399 -0
- package/lib/tools/overlay/kryptonite.ts +46 -23
- package/lib/tools/overlay/manifest.ts +360 -157
- package/lib/tools/overlay/merge-source.ts +201 -11
- package/lib/tools/overlay/split/attribute.ts +159 -0
- package/lib/tools/overlay/split/overlay.ts +239 -0
- package/lib/tools/overlay/translit.ts +33 -17
- package/lib/tools/postcode/non-native-order.ts +337 -0
- package/lib/tools/{postcode-triples.ts → postcode/triples.ts} +1 -1
- package/lib/tools/registry-corpus.run.ts +67 -0
- package/lib/tools/secondary.run.ts +88 -0
- package/lib/tools/source-register/build.ts +8 -6
- package/lib/tools/street-index/build.run.ts +38 -0
- package/lib/tools/street-index/build.ts +129 -0
- package/lib/tools/sub/venue/lexicon.ts +2 -2
- package/lib/tools/sub/venue/wikidata.ts +2 -2
- package/lib/tools/support-index.ts +686 -0
- package/lib/tools/tw-corpus.run.ts +66 -0
- package/lib/tools/variety-sample.ts +7 -5
- package/lib/tools/vital-places.run.ts +123 -0
- package/lib/training/config/admission.ts +116 -0
- package/lib/training/config/load.ts +643 -0
- package/lib/training/config/python-yaml.ts +273 -0
- package/lib/training/config/resolved.ts +101 -0
- package/lib/training/config/schema.ts +339 -0
- package/lib/tw/corpus/assemble.ts +320 -0
- package/lib/tw/corpus/rows.ts +306 -0
- package/lib/tw/registers.ts +270 -0
- package/lib/types.ts +108 -20
- package/lib/us/abbrev/region-samples.ts +46 -0
- package/lib/us/abbrev/regions.ts +51 -0
- package/lib/us/adapters/fcc-bdc/adapter.ts +2 -3
- package/lib/us/adapters/state/hi-schools/adapter.ts +9 -7
- package/lib/us/adapters/state/hi-schools/workbook.ts +1 -1
- package/lib/us/adapters/state/ia-contractors/adapter.ts +16 -11
- package/lib/us/adapters/state/ny-notaries/adapter.ts +9 -7
- package/lib/us/adapters/state/tx-notaries/adapter.ts +9 -7
- package/lib/us/adapters/tiger/adapter.ts +2 -4
- package/lib/us/adapters/usgov/hrsa-fqhc/adapter.ts +13 -20
- package/lib/us/adapters/usgov/imls-pls/adapter.ts +18 -8
- package/lib/us/adapters/usgov/irs-bmf/adapter.ts +2 -3
- package/lib/us/adapters/usgov/nad/adapter.ts +20 -9
- package/lib/us/adapters/usgov/nppes/adapter.ts +28 -15
- package/lib/us/adapters/usgov/samhsa-treatment-locator/adapter.ts +19 -33
- package/lib/us/recipes/house-venue-tuples.ts +148 -0
- package/lib/us/recipes/skeleton-sources.ts +3 -3
- package/lib/us/state-country-codes.ts +25 -0
- package/lib/us/street-unit.ts +72 -0
- package/lib/us/tools/nad-skeletons.ts +2 -2
- package/lib/utils/align.ts +78 -33
- package/lib/utils/retention.ts +87 -0
- package/lib/utils/shape-supply.ts +102 -0
- package/lib/utils/split.ts +777 -138
- package/lib/utils/wof-json.ts +243 -50
- package/lib/uy/adapters/ide/adapter.ts +27 -32
- package/lib/ve/recipes/reviewed-postcode-tail.ts +5 -5
- package/out/adapters/cordis/adapter.d.ts +7 -4
- package/out/adapters/cordis/adapter.d.ts.map +1 -1
- package/out/adapters/cordis/adapter.js +44 -13
- package/out/adapters/cordis/adapter.js.map +1 -1
- package/out/adapters/dedup-key.d.ts +1 -1
- package/out/adapters/dedup-key.js +3 -3
- package/out/adapters/dedup-key.js.map +1 -1
- package/out/adapters/geonames/adapter.d.ts +11 -0
- package/out/adapters/geonames/adapter.d.ts.map +1 -1
- package/out/adapters/geonames/adapter.js +4 -5
- package/out/adapters/geonames/adapter.js.map +1 -1
- package/out/adapters/geonames/features/adapter.d.ts +56 -0
- package/out/adapters/geonames/features/adapter.d.ts.map +1 -0
- package/out/adapters/geonames/features/adapter.js +170 -0
- package/out/adapters/geonames/features/adapter.js.map +1 -0
- package/out/adapters/geonames/postal/adapter.d.ts.map +1 -1
- package/out/adapters/geonames/postal/adapter.js +2 -3
- package/out/adapters/geonames/postal/adapter.js.map +1 -1
- package/out/adapters/gleif/adapter.d.ts +2 -1
- package/out/adapters/gleif/adapter.d.ts.map +1 -1
- package/out/adapters/gleif/adapter.js +20 -10
- package/out/adapters/gleif/adapter.js.map +1 -1
- package/out/adapters/libpostal-dictionary.d.ts +2 -1
- package/out/adapters/libpostal-dictionary.d.ts.map +1 -1
- package/out/adapters/libpostal-dictionary.js +3 -2
- package/out/adapters/libpostal-dictionary.js.map +1 -1
- package/out/adapters/openaddresses/adapter.d.ts.map +1 -1
- package/out/adapters/openaddresses/adapter.js +1 -2
- package/out/adapters/openaddresses/adapter.js.map +1 -1
- package/out/adapters/osm/adapter.d.ts +16 -15
- package/out/adapters/osm/adapter.d.ts.map +1 -1
- package/out/adapters/osm/adapter.js +38 -19
- package/out/adapters/osm/adapter.js.map +1 -1
- package/out/adapters/osm/license.d.ts +30 -0
- package/out/adapters/osm/license.d.ts.map +1 -0
- package/out/adapters/osm/license.js +31 -0
- package/out/adapters/osm/license.js.map +1 -0
- package/out/adapters/overture/adapter.d.ts.map +1 -1
- package/out/adapters/overture/adapter.js +1 -2
- package/out/adapters/overture/adapter.js.map +1 -1
- package/out/adapters/po-box/adapter.d.ts.map +1 -1
- package/out/adapters/po-box/adapter.js +3 -5
- package/out/adapters/po-box/adapter.js.map +1 -1
- package/out/adapters/present.d.ts +12 -0
- package/out/adapters/present.d.ts.map +1 -0
- package/out/adapters/present.js +19 -0
- package/out/adapters/present.js.map +1 -0
- package/out/adapters/record-id.d.ts +54 -0
- package/out/adapters/record-id.d.ts.map +1 -0
- package/out/adapters/record-id.js +77 -0
- package/out/adapters/record-id.js.map +1 -0
- package/out/adapters/source-id.d.ts +2 -2
- package/out/adapters/source-id.d.ts.map +1 -1
- package/out/adapters/source-id.js.map +1 -1
- package/out/adapters/{street-line.d.ts → street/line.d.ts} +1 -1
- package/out/adapters/street/line.d.ts.map +1 -0
- package/out/adapters/{street-line.js → street/line.js} +1 -1
- package/out/adapters/street/line.js.map +1 -0
- package/out/adapters/street/unit.d.ts +124 -0
- package/out/adapters/street/unit.d.ts.map +1 -0
- package/out/adapters/street/unit.js +321 -0
- package/out/adapters/street/unit.js.map +1 -0
- package/out/adapters/wof/admin/json/adapter.d.ts +40 -13
- package/out/adapters/wof/admin/json/adapter.d.ts.map +1 -1
- package/out/adapters/wof/admin/json/adapter.js +285 -16
- package/out/adapters/wof/admin/json/adapter.js.map +1 -1
- package/out/adapters/wof/admin/json/explore.d.ts +114 -0
- package/out/adapters/wof/admin/json/explore.d.ts.map +1 -0
- package/out/adapters/wof/admin/json/explore.js +175 -0
- package/out/adapters/wof/admin/json/explore.js.map +1 -0
- package/out/adapters/wof/admin/json/region-codes.d.ts +18 -0
- package/out/adapters/wof/admin/json/region-codes.d.ts.map +1 -0
- package/out/adapters/wof/admin/json/region-codes.js +52 -0
- package/out/adapters/wof/admin/json/region-codes.js.map +1 -0
- package/out/adapters/wof/json-rows.d.ts +70 -15
- package/out/adapters/wof/json-rows.d.ts.map +1 -1
- package/out/adapters/wof/json-rows.js +112 -28
- package/out/adapters/wof/json-rows.js.map +1 -1
- package/out/adapters/wof/postalcode-json/adapter.d.ts +4 -7
- package/out/adapters/wof/postalcode-json/adapter.d.ts.map +1 -1
- package/out/adapters/wof/postalcode-json/adapter.js +16 -10
- package/out/adapters/wof/postalcode-json/adapter.js.map +1 -1
- package/out/adapters/wof/record-cache.d.ts +28 -0
- package/out/adapters/wof/record-cache.d.ts.map +1 -0
- package/out/adapters/wof/record-cache.js +90 -0
- package/out/adapters/wof/record-cache.js.map +1 -0
- package/out/adapters/wof/sample.d.ts +91 -0
- package/out/adapters/wof/sample.d.ts.map +1 -0
- package/out/adapters/wof/sample.js +296 -0
- package/out/adapters/wof/sample.js.map +1 -0
- package/out/adapters.d.ts +1 -0
- package/out/adapters.d.ts.map +1 -1
- package/out/adapters.js +3 -0
- package/out/adapters.js.map +1 -1
- package/out/au/adapters/gnaf/adapter.d.ts.map +1 -1
- package/out/au/adapters/gnaf/adapter.js +1 -2
- package/out/au/adapters/gnaf/adapter.js.map +1 -1
- package/out/au/adapters/gnaf/assemble.d.ts.map +1 -1
- package/out/au/adapters/gnaf/assemble.js +2 -1
- package/out/au/adapters/gnaf/assemble.js.map +1 -1
- package/out/au/recipes/delivery-guideline.d.ts +19 -0
- package/out/au/recipes/delivery-guideline.d.ts.map +1 -0
- package/out/au/recipes/delivery-guideline.js +60 -0
- package/out/au/recipes/delivery-guideline.js.map +1 -0
- package/out/au/recipes/unit-type-guideline.d.ts +25 -0
- package/out/au/recipes/unit-type-guideline.d.ts.map +1 -0
- package/out/au/recipes/unit-type-guideline.js +82 -0
- package/out/au/recipes/unit-type-guideline.js.map +1 -0
- package/out/az/adapters/opendata/adapter.d.ts +12 -10
- package/out/az/adapters/opendata/adapter.d.ts.map +1 -1
- package/out/az/adapters/opendata/adapter.js +15 -20
- package/out/az/adapters/opendata/adapter.js.map +1 -1
- package/out/be/adapters/brussels/adapter.d.ts +1 -1
- package/out/be/adapters/brussels/adapter.d.ts.map +1 -1
- package/out/be/adapters/brussels/adapter.js +2 -3
- package/out/be/adapters/brussels/adapter.js.map +1 -1
- package/out/be/adapters/vlaanderen/adapter.d.ts +1 -1
- package/out/be/adapters/vlaanderen/adapter.d.ts.map +1 -1
- package/out/be/adapters/vlaanderen/adapter.js +5 -6
- package/out/be/adapters/vlaanderen/adapter.js.map +1 -1
- package/out/be/adapters/wallonie/adapter.d.ts +2 -2
- package/out/be/adapters/wallonie/adapter.d.ts.map +1 -1
- package/out/be/adapters/wallonie/adapter.js +3 -4
- package/out/be/adapters/wallonie/adapter.js.map +1 -1
- package/out/bs/adapters/gbpa/adapter.d.ts +2 -2
- package/out/bs/adapters/gbpa/adapter.d.ts.map +1 -1
- package/out/bs/adapters/gbpa/adapter.js +7 -10
- package/out/bs/adapters/gbpa/adapter.js.map +1 -1
- package/out/build/adapters.d.ts +17 -0
- package/out/build/adapters.d.ts.map +1 -1
- package/out/build/adapters.js +2 -5
- package/out/build/adapters.js.map +1 -1
- package/out/build/align/range.d.ts +107 -0
- package/out/build/align/range.d.ts.map +1 -0
- package/out/build/align/range.js +196 -0
- package/out/build/align/range.js.map +1 -0
- package/out/build/align/totals.d.ts +71 -0
- package/out/build/align/totals.d.ts.map +1 -0
- package/out/build/align/totals.js +107 -0
- package/out/build/align/totals.js.map +1 -0
- package/out/build/align.d.ts +85 -0
- package/out/build/align.d.ts.map +1 -1
- package/out/build/align.js +164 -84
- package/out/build/align.js.map +1 -1
- package/out/build/budget.d.ts +111 -0
- package/out/build/budget.d.ts.map +1 -0
- package/out/build/budget.js +100 -0
- package/out/build/budget.js.map +1 -0
- package/out/build/checkpoint.d.ts +9 -0
- package/out/build/checkpoint.d.ts.map +1 -1
- package/out/build/checkpoint.js.map +1 -1
- package/out/build/code-hash.d.ts +87 -0
- package/out/build/code-hash.d.ts.map +1 -0
- package/out/build/code-hash.js +286 -0
- package/out/build/code-hash.js.map +1 -0
- package/out/build/component-check.d.ts +56 -0
- package/out/build/component-check.d.ts.map +1 -0
- package/out/build/component-check.js +96 -0
- package/out/build/component-check.js.map +1 -0
- package/out/build/eligibility.d.ts +5 -4
- package/out/build/eligibility.d.ts.map +1 -1
- package/out/build/eligibility.js +9 -4
- package/out/build/eligibility.js.map +1 -1
- package/out/build/heap.d.ts +4 -0
- package/out/build/heap.d.ts.map +1 -1
- package/out/build/heap.js +6 -0
- package/out/build/heap.js.map +1 -1
- package/out/build/holdout-check.d.ts +75 -0
- package/out/build/holdout-check.d.ts.map +1 -0
- package/out/build/holdout-check.js +88 -0
- package/out/build/holdout-check.js.map +1 -0
- package/out/build/inputs.d.ts +7 -0
- package/out/build/inputs.d.ts.map +1 -1
- package/out/build/inputs.js +9 -2
- package/out/build/inputs.js.map +1 -1
- package/out/build/lock.d.ts +25 -0
- package/out/build/lock.d.ts.map +1 -0
- package/out/build/lock.js +29 -0
- package/out/build/lock.js.map +1 -0
- package/out/build/manifest.d.ts +44 -0
- package/out/build/manifest.d.ts.map +1 -0
- package/out/build/manifest.js +80 -0
- package/out/build/manifest.js.map +1 -0
- package/out/build/parallel.d.ts +78 -0
- package/out/build/parallel.d.ts.map +1 -0
- package/out/build/parallel.js +448 -0
- package/out/build/parallel.js.map +1 -0
- package/out/build/prior-output.d.ts +76 -0
- package/out/build/prior-output.d.ts.map +1 -0
- package/out/build/prior-output.js +113 -0
- package/out/build/prior-output.js.map +1 -0
- package/out/build/rows.d.ts +4 -3
- package/out/build/rows.d.ts.map +1 -1
- package/out/build/rows.js +6 -6
- package/out/build/rows.js.map +1 -1
- package/out/build/settings.d.ts +53 -0
- package/out/build/settings.d.ts.map +1 -0
- package/out/build/settings.js +96 -0
- package/out/build/settings.js.map +1 -0
- package/out/build/source-record.d.ts +103 -0
- package/out/build/source-record.d.ts.map +1 -0
- package/out/build/source-record.js +89 -0
- package/out/build/source-record.js.map +1 -0
- package/out/build/types.d.ts +80 -2
- package/out/build/types.d.ts.map +1 -1
- package/out/build/types.js +22 -0
- package/out/build/types.js.map +1 -1
- package/out/build/worker.d.ts +119 -0
- package/out/build/worker.d.ts.map +1 -0
- package/out/build/worker.js +222 -0
- package/out/build/worker.js.map +1 -0
- package/out/build.d.ts +3 -0
- package/out/build.d.ts.map +1 -1
- package/out/build.js +105 -78
- package/out/build.js.map +1 -1
- package/out/cjk/builder.d.ts +298 -0
- package/out/cjk/builder.d.ts.map +1 -0
- package/out/cjk/builder.js +500 -0
- package/out/cjk/builder.js.map +1 -0
- package/out/cjk/foreign-places.d.ts +105 -0
- package/out/cjk/foreign-places.d.ts.map +1 -0
- package/out/cjk/foreign-places.js +281 -0
- package/out/cjk/foreign-places.js.map +1 -0
- package/out/cjk/overlay.d.ts +89 -0
- package/out/cjk/overlay.d.ts.map +1 -0
- package/out/cjk/overlay.js +194 -0
- package/out/cjk/overlay.js.map +1 -0
- package/out/cjk/registry.d.ts +81 -0
- package/out/cjk/registry.d.ts.map +1 -0
- package/out/cjk/registry.js +193 -0
- package/out/cjk/registry.js.map +1 -0
- package/out/cjk/text.d.ts +51 -0
- package/out/cjk/text.d.ts.map +1 -0
- package/out/cjk/text.js +171 -0
- package/out/cjk/text.js.map +1 -0
- package/out/cn/recipes/organizational-units.d.ts.map +1 -1
- package/out/cn/recipes/organizational-units.js +0 -1
- package/out/cn/recipes/organizational-units.js.map +1 -1
- package/out/cz/adapters/cuzk/adapter.d.ts.map +1 -1
- package/out/cz/adapters/cuzk/adapter.js +2 -3
- package/out/cz/adapters/cuzk/adapter.js.map +1 -1
- package/out/cz/recipes/pcfirst-preposition.d.ts.map +1 -1
- package/out/cz/recipes/pcfirst-preposition.js +0 -1
- package/out/cz/recipes/pcfirst-preposition.js.map +1 -1
- package/out/cz/tools/fetch/cuzk.js +1 -1
- package/out/cz/tools/fetch/cuzk.js.map +1 -1
- package/out/de/fragment-board.d.ts +79 -0
- package/out/de/fragment-board.d.ts.map +1 -0
- package/out/de/fragment-board.js +167 -0
- package/out/de/fragment-board.js.map +1 -0
- package/out/de/recipes/locale.d.ts +4 -7
- package/out/de/recipes/locale.d.ts.map +1 -1
- package/out/de/recipes/locale.js +37 -30
- package/out/de/recipes/locale.js.map +1 -1
- package/out/de/recipes/postfach-guideline.d.ts +17 -0
- package/out/de/recipes/postfach-guideline.d.ts.map +1 -0
- package/out/de/recipes/postfach-guideline.js +53 -0
- package/out/de/recipes/postfach-guideline.js.map +1 -0
- package/out/dk/adapters/inspire/adapter.d.ts.map +1 -1
- package/out/dk/adapters/inspire/adapter.js +2 -3
- package/out/dk/adapters/inspire/adapter.js.map +1 -1
- package/out/ee/adapters/ads/adapter.d.ts.map +1 -1
- package/out/ee/adapters/ads/adapter.js +1 -2
- package/out/ee/adapters/ads/adapter.js.map +1 -1
- package/out/env.d.ts +21 -3
- package/out/env.d.ts.map +1 -1
- package/out/env.js +35 -5
- package/out/env.js.map +1 -1
- package/out/es/adapters/bizkaia/adapter.js +3 -3
- package/out/es/adapters/bizkaia/adapter.js.map +1 -1
- package/out/es/adapters/catastro/adapter.js +3 -3
- package/out/es/adapters/catastro/adapter.js.map +1 -1
- package/out/es/adapters/gipuzkoa/adapter.js +3 -3
- package/out/es/adapters/gipuzkoa/adapter.js.map +1 -1
- package/out/es/adapters/navarra/adapter.js +2 -2
- package/out/es/adapters/navarra/adapter.js.map +1 -1
- package/out/es/cadastre.d.ts.map +1 -1
- package/out/es/cadastre.js +0 -1
- package/out/es/cadastre.js.map +1 -1
- package/out/es/tools/fetch/bizkaia.js +1 -1
- package/out/es/tools/fetch/bizkaia.js.map +1 -1
- package/out/es/tools/fetch/catastro.d.ts +2 -2
- package/out/es/tools/fetch/catastro.d.ts.map +1 -1
- package/out/es/tools/fetch/catastro.js +3 -3
- package/out/es/tools/fetch/catastro.js.map +1 -1
- package/out/es/tools/fetch/navarra.d.ts +1 -1
- package/out/es/tools/fetch/navarra.d.ts.map +1 -1
- package/out/es/tools/fetch/navarra.js +1 -1
- package/out/es/tools/fetch/navarra.js.map +1 -1
- package/out/fi/adapters/ryhti/adapter.d.ts.map +1 -1
- package/out/fi/adapters/ryhti/adapter.js +2 -3
- package/out/fi/adapters/ryhti/adapter.js.map +1 -1
- package/out/fo/adapters/adressur/adapter.d.ts +3 -3
- package/out/fo/adapters/adressur/adapter.d.ts.map +1 -1
- package/out/fo/adapters/adressur/adapter.js +8 -14
- package/out/fo/adapters/adressur/adapter.js.map +1 -1
- package/out/fr/adapters/annuaire-education/adapter.d.ts.map +1 -1
- package/out/fr/adapters/annuaire-education/adapter.js +2 -3
- package/out/fr/adapters/annuaire-education/adapter.js.map +1 -1
- package/out/fr/adapters/ban/adapter.d.ts.map +1 -1
- package/out/fr/adapters/ban/adapter.js +18 -5
- package/out/fr/adapters/ban/adapter.js.map +1 -1
- package/out/fr/adapters/finess/adapter.d.ts.map +1 -1
- package/out/fr/adapters/finess/adapter.js +2 -3
- package/out/fr/adapters/finess/adapter.js.map +1 -1
- package/out/fr/recipes/admin-split.d.ts.map +1 -1
- package/out/fr/recipes/admin-split.js +9 -4
- package/out/fr/recipes/admin-split.js.map +1 -1
- package/out/fr/recipes/bare-street.d.ts.map +1 -1
- package/out/fr/recipes/bare-street.js +0 -2
- package/out/fr/recipes/bare-street.js.map +1 -1
- package/out/fr/recipes/fragment.d.ts.map +1 -1
- package/out/fr/recipes/fragment.js +1 -8
- package/out/fr/recipes/fragment.js.map +1 -1
- package/out/fr/recipes/house-venue-tuples.d.ts +36 -0
- package/out/fr/recipes/house-venue-tuples.d.ts.map +1 -0
- package/out/fr/recipes/house-venue-tuples.js +81 -0
- package/out/fr/recipes/house-venue-tuples.js.map +1 -0
- package/out/fr/recipes/lieudit.d.ts.map +1 -1
- package/out/fr/recipes/lieudit.js +1 -2
- package/out/fr/recipes/lieudit.js.map +1 -1
- package/out/fr/recipes/order.d.ts.map +1 -1
- package/out/fr/recipes/order.js +6 -10
- package/out/fr/recipes/order.js.map +1 -1
- package/out/fr/recipes/unit-line-guideline.d.ts +21 -0
- package/out/fr/recipes/unit-line-guideline.d.ts.map +1 -0
- package/out/fr/recipes/unit-line-guideline.js +87 -0
- package/out/fr/recipes/unit-line-guideline.js.map +1 -0
- package/out/fr/street-decompose.d.ts +1 -1
- package/out/fr/street-decompose.js +1 -1
- package/out/gb/adapters/os-open/adapter.d.ts +12 -14
- package/out/gb/adapters/os-open/adapter.d.ts.map +1 -1
- package/out/gb/adapters/os-open/adapter.js +13 -16
- package/out/gb/adapters/os-open/adapter.js.map +1 -1
- package/out/gb/county.d.ts +1 -1
- package/out/gb/county.js +1 -1
- package/out/gb/os-open/nearest-link.js +1 -1
- package/out/gb/os-open/nearest-link.js.map +1 -1
- package/out/gb/os-open/open/names.d.ts +4 -5
- package/out/gb/os-open/open/names.d.ts.map +1 -1
- package/out/gb/os-open/open/names.js +4 -5
- package/out/gb/os-open/open/names.js.map +1 -1
- package/out/gb/os-open/open/roads.d.ts +10 -10
- package/out/gb/os-open/open/roads.js +7 -7
- package/out/gb/recipes/house-venue-tuples.d.ts +38 -0
- package/out/gb/recipes/house-venue-tuples.d.ts.map +1 -0
- package/out/gb/recipes/house-venue-tuples.js +88 -0
- package/out/gb/recipes/house-venue-tuples.js.map +1 -0
- package/out/gb/recipes/sub-building-guideline.d.ts +22 -0
- package/out/gb/recipes/sub-building-guideline.d.ts.map +1 -0
- package/out/gb/recipes/sub-building-guideline.js +73 -0
- package/out/gb/recipes/sub-building-guideline.js.map +1 -0
- package/out/gb/tools/fetch/os-open.d.ts +2 -2
- package/out/gb/tools/fetch/os-open.js +3 -3
- package/out/gb/tools/fetch/os-open.js.map +1 -1
- package/out/gu/adapters/bsp/adapter.d.ts +5 -5
- package/out/gu/adapters/bsp/adapter.d.ts.map +1 -1
- package/out/gu/adapters/bsp/adapter.js +7 -15
- package/out/gu/adapters/bsp/adapter.js.map +1 -1
- package/out/im/adapters/land-registry/adapter.d.ts +5 -5
- package/out/im/adapters/land-registry/adapter.d.ts.map +1 -1
- package/out/im/adapters/land-registry/adapter.js +13 -17
- package/out/im/adapters/land-registry/adapter.js.map +1 -1
- package/out/index.d.ts +1 -1
- package/out/index.js +1 -1
- package/out/inspire/stream.js +3 -3
- package/out/inspire/stream.js.map +1 -1
- package/out/international/recipes/locale.d.ts +24 -6
- package/out/international/recipes/locale.d.ts.map +1 -1
- package/out/international/recipes/locale.js +66 -35
- package/out/international/recipes/locale.js.map +1 -1
- package/out/it/adapters/anac/adapter.d.ts.map +1 -1
- package/out/it/adapters/anac/adapter.js +4 -5
- package/out/it/adapters/anac/adapter.js.map +1 -1
- package/out/it/recipes/casella-postale-guideline.d.ts +23 -0
- package/out/it/recipes/casella-postale-guideline.d.ts.map +1 -0
- package/out/it/recipes/casella-postale-guideline.js +68 -0
- package/out/it/recipes/casella-postale-guideline.js.map +1 -0
- package/out/it/recipes/unit-line-guideline.d.ts +20 -0
- package/out/it/recipes/unit-line-guideline.d.ts.map +1 -0
- package/out/it/recipes/unit-line-guideline.js +75 -0
- package/out/it/recipes/unit-line-guideline.js.map +1 -0
- package/out/it/tools/fetch/anac.d.ts +1 -1
- package/out/it/tools/fetch/anac.d.ts.map +1 -1
- package/out/jp/adapters/wof-admin/adapter.d.ts.map +1 -1
- package/out/jp/adapters/wof-admin/adapter.js +1 -2
- package/out/jp/adapters/wof-admin/adapter.js.map +1 -1
- package/out/jp/corpus/assemble.d.ts +107 -0
- package/out/jp/corpus/assemble.d.ts.map +1 -0
- package/out/jp/corpus/assemble.js +306 -0
- package/out/jp/corpus/assemble.js.map +1 -0
- package/out/jp/corpus/probe.d.ts +92 -0
- package/out/jp/corpus/probe.d.ts.map +1 -0
- package/out/jp/corpus/probe.js +276 -0
- package/out/jp/corpus/probe.js.map +1 -0
- package/out/jp/corpus/rows.d.ts +71 -0
- package/out/jp/corpus/rows.d.ts.map +1 -0
- package/out/jp/corpus/rows.js +146 -0
- package/out/jp/corpus/rows.js.map +1 -0
- package/out/jp/corpus/sources.d.ts +91 -0
- package/out/jp/corpus/sources.d.ts.map +1 -0
- package/out/jp/corpus/sources.js +171 -0
- package/out/jp/corpus/sources.js.map +1 -0
- package/out/jp/kana.d.ts +45 -0
- package/out/jp/kana.d.ts.map +1 -0
- package/out/jp/kana.js +138 -0
- package/out/jp/kana.js.map +1 -0
- package/out/jp/registers.d.ts +93 -0
- package/out/jp/registers.d.ts.map +1 -0
- package/out/jp/registers.js +209 -0
- package/out/jp/registers.js.map +1 -0
- package/out/jp/text.d.ts +41 -0
- package/out/jp/text.d.ts.map +1 -0
- package/out/jp/text.js +64 -0
- package/out/jp/text.js.map +1 -0
- package/out/kr/adapters/juso/label-rows.d.ts.map +1 -1
- package/out/kr/adapters/juso/label-rows.js +6 -1
- package/out/kr/adapters/juso/label-rows.js.map +1 -1
- package/out/kr/adapters/localdata/align.d.ts.map +1 -1
- package/out/kr/adapters/localdata/align.js +10 -4
- package/out/kr/adapters/localdata/align.js.map +1 -1
- package/out/kr/adapters/localdata/key-index.d.ts +0 -4
- package/out/kr/adapters/localdata/key-index.d.ts.map +1 -1
- package/out/kr/adapters/localdata/key-index.js +2 -23
- package/out/kr/adapters/localdata/key-index.js.map +1 -1
- package/out/kr/adapters/localdata/permit-rows.d.ts +8 -1
- package/out/kr/adapters/localdata/permit-rows.d.ts.map +1 -1
- package/out/kr/adapters/localdata/permit-rows.js +21 -23
- package/out/kr/adapters/localdata/permit-rows.js.map +1 -1
- package/out/kr/corpus/assemble.d.ts +145 -0
- package/out/kr/corpus/assemble.d.ts.map +1 -0
- package/out/kr/corpus/assemble.js +420 -0
- package/out/kr/corpus/assemble.js.map +1 -0
- package/out/kr/corpus/rows.d.ts +88 -0
- package/out/kr/corpus/rows.d.ts.map +1 -0
- package/out/kr/corpus/rows.js +242 -0
- package/out/kr/corpus/rows.js.map +1 -0
- package/out/kr/tools/fetch/localdata.d.ts +1 -1
- package/out/kr/tools/fetch/localdata.d.ts.map +1 -1
- package/out/li/adapters/llv/adapter.d.ts +2 -2
- package/out/li/adapters/llv/adapter.d.ts.map +1 -1
- package/out/li/adapters/llv/adapter.js +6 -10
- package/out/li/adapters/llv/adapter.js.map +1 -1
- package/out/lu/adapters/bd-adresses/adapter.d.ts +1 -1
- package/out/lu/adapters/bd-adresses/adapter.d.ts.map +1 -1
- package/out/lu/adapters/bd-adresses/adapter.js +2 -3
- package/out/lu/adapters/bd-adresses/adapter.js.map +1 -1
- package/out/lv/adapters/varis/adapter.d.ts.map +1 -1
- package/out/lv/adapters/varis/adapter.js +1 -2
- package/out/lv/adapters/varis/adapter.js.map +1 -1
- package/out/nl/adapters/kadaster/adapter.d.ts.map +1 -1
- package/out/nl/adapters/kadaster/adapter.js +4 -5
- package/out/nl/adapters/kadaster/adapter.js.map +1 -1
- package/out/nl/recipes/postcode.d.ts.map +1 -1
- package/out/nl/recipes/postcode.js +0 -1
- package/out/nl/recipes/postcode.js.map +1 -1
- package/out/no/adapters/matrikkelen/adapter.d.ts.map +1 -1
- package/out/no/adapters/matrikkelen/adapter.js +2 -3
- package/out/no/adapters/matrikkelen/adapter.js.map +1 -1
- package/out/no/recipes/fragment.d.ts.map +1 -1
- package/out/no/recipes/fragment.js +0 -1
- package/out/no/recipes/fragment.js.map +1 -1
- package/out/no/recipes/street/led.d.ts.map +1 -1
- package/out/no/recipes/street/led.js +0 -1
- package/out/no/recipes/street/led.js.map +1 -1
- package/out/no/recipes/street.d.ts.map +1 -1
- package/out/no/recipes/street.js +0 -1
- package/out/no/recipes/street.js.map +1 -1
- package/out/no/tools/fetch/matrikkelen.d.ts +2 -2
- package/out/no/tools/fetch/matrikkelen.d.ts.map +1 -1
- package/out/nz/recipes/unit-type-guideline.d.ts +24 -0
- package/out/nz/recipes/unit-type-guideline.d.ts.map +1 -0
- package/out/nz/recipes/unit-type-guideline.js +81 -0
- package/out/nz/recipes/unit-type-guideline.js.map +1 -0
- package/out/parquet/corpus-rows.d.ts +25 -0
- package/out/parquet/corpus-rows.d.ts.map +1 -0
- package/out/parquet/corpus-rows.js +44 -0
- package/out/parquet/corpus-rows.js.map +1 -0
- package/out/parquet/duckdb.d.ts +24 -1
- package/out/parquet/duckdb.d.ts.map +1 -1
- package/out/parquet/duckdb.js +32 -3
- package/out/parquet/duckdb.js.map +1 -1
- package/out/parquet/readers.d.ts +7 -0
- package/out/parquet/readers.d.ts.map +1 -1
- package/out/parquet/readers.js +16 -1
- package/out/parquet/readers.js.map +1 -1
- package/out/parquet/record.d.ts +289 -0
- package/out/parquet/record.d.ts.map +1 -0
- package/out/parquet/record.js +383 -0
- package/out/parquet/record.js.map +1 -0
- package/out/parquet/schema.d.ts +41 -4
- package/out/parquet/schema.d.ts.map +1 -1
- package/out/parquet/schema.js +46 -11
- package/out/parquet/schema.js.map +1 -1
- package/out/parquet/shuffle.d.ts +41 -0
- package/out/parquet/shuffle.d.ts.map +1 -1
- package/out/parquet/shuffle.js +71 -1
- package/out/parquet/shuffle.js.map +1 -1
- package/out/parquet/span-sql.d.ts +1 -1
- package/out/parquet/span-sql.js +1 -1
- package/out/parquet/streams.d.ts +26 -3
- package/out/parquet/streams.d.ts.map +1 -1
- package/out/parquet/streams.js +15 -6
- package/out/parquet/streams.js.map +1 -1
- package/out/parquet/writers.d.ts +181 -32
- package/out/parquet/writers.d.ts.map +1 -1
- package/out/parquet/writers.js +332 -119
- package/out/parquet/writers.js.map +1 -1
- package/out/pl/adapters/emuia/adapter.d.ts +1 -1
- package/out/pl/adapters/emuia/adapter.d.ts.map +1 -1
- package/out/pl/adapters/emuia/adapter.js +2 -3
- package/out/pl/adapters/emuia/adapter.js.map +1 -1
- package/out/recipes/address-points.d.ts +47 -0
- package/out/recipes/address-points.d.ts.map +1 -0
- package/out/recipes/address-points.js +59 -0
- package/out/recipes/address-points.js.map +1 -0
- package/out/recipes/anchor-absorption.d.ts.map +1 -1
- package/out/recipes/anchor-absorption.js +0 -1
- package/out/recipes/anchor-absorption.js.map +1 -1
- package/out/recipes/bare/country.d.ts.map +1 -1
- package/out/recipes/bare/country.js +0 -1
- package/out/recipes/bare/country.js.map +1 -1
- package/out/recipes/bare/postcode/eval.d.ts +1 -5
- package/out/recipes/bare/postcode/eval.d.ts.map +1 -1
- package/out/recipes/bare/postcode/eval.js +4 -9
- package/out/recipes/bare/postcode/eval.js.map +1 -1
- package/out/recipes/bare/postcode.d.ts.map +1 -1
- package/out/recipes/bare/postcode.js +2 -2
- package/out/recipes/bare/postcode.js.map +1 -1
- package/out/recipes/boundary-stress.d.ts.map +1 -1
- package/out/recipes/boundary-stress.js +1 -2
- package/out/recipes/boundary-stress.js.map +1 -1
- package/out/recipes/country-balanced.d.ts.map +1 -1
- package/out/recipes/country-balanced.js +11 -17
- package/out/recipes/country-balanced.js.map +1 -1
- package/out/recipes/deepseek/batches.d.ts +90 -0
- package/out/recipes/deepseek/batches.d.ts.map +1 -0
- package/out/recipes/deepseek/batches.js +228 -0
- package/out/recipes/deepseek/batches.js.map +1 -0
- package/out/recipes/deepseek/client.d.ts +99 -0
- package/out/recipes/deepseek/client.d.ts.map +1 -0
- package/out/recipes/deepseek/client.js +80 -0
- package/out/recipes/deepseek/client.js.map +1 -0
- package/out/recipes/deepseek/generate.d.ts +64 -0
- package/out/recipes/deepseek/generate.d.ts.map +1 -0
- package/out/recipes/deepseek/generate.js +58 -0
- package/out/recipes/deepseek/generate.js.map +1 -0
- package/out/recipes/deepseek/kryptonite.d.ts +36 -0
- package/out/recipes/deepseek/kryptonite.d.ts.map +1 -0
- package/out/recipes/deepseek/kryptonite.js +106 -0
- package/out/recipes/deepseek/kryptonite.js.map +1 -0
- package/out/recipes/deepseek/prompts.d.ts +65 -0
- package/out/recipes/deepseek/prompts.d.ts.map +1 -0
- package/out/recipes/deepseek/prompts.js +218 -0
- package/out/recipes/deepseek/prompts.js.map +1 -0
- package/out/recipes/deepseek/run.d.ts +100 -0
- package/out/recipes/deepseek/run.d.ts.map +1 -0
- package/out/recipes/deepseek/run.js +170 -0
- package/out/recipes/deepseek/run.js.map +1 -0
- package/out/recipes/deepseek/transliteration.d.ts +60 -0
- package/out/recipes/deepseek/transliteration.d.ts.map +1 -0
- package/out/recipes/deepseek/transliteration.js +158 -0
- package/out/recipes/deepseek/transliteration.js.map +1 -0
- package/out/recipes/fragment-assay/build.d.ts +70 -0
- package/out/recipes/fragment-assay/build.d.ts.map +1 -0
- package/out/recipes/fragment-assay/build.js +243 -0
- package/out/recipes/fragment-assay/build.js.map +1 -0
- package/out/recipes/fragment-assay/rows.d.ts +66 -0
- package/out/recipes/fragment-assay/rows.d.ts.map +1 -0
- package/out/recipes/fragment-assay/rows.js +225 -0
- package/out/recipes/fragment-assay/rows.js.map +1 -0
- package/out/recipes/fragment-assay/sources.d.ts +114 -0
- package/out/recipes/fragment-assay/sources.d.ts.map +1 -0
- package/out/recipes/fragment-assay/sources.js +402 -0
- package/out/recipes/fragment-assay/sources.js.map +1 -0
- package/out/recipes/house/venue/tuples.d.ts +93 -0
- package/out/recipes/house/venue/tuples.d.ts.map +1 -0
- package/out/recipes/house/venue/tuples.js +95 -0
- package/out/recipes/house/venue/tuples.js.map +1 -0
- package/out/recipes/{house-venue.d.ts → house/venue.d.ts} +3 -3
- package/out/recipes/house/venue.d.ts.map +1 -0
- package/out/recipes/{house-venue.js → house/venue.js} +9 -4
- package/out/recipes/house/venue.js.map +1 -0
- package/out/recipes/intersection.d.ts.map +1 -1
- package/out/recipes/intersection.js +0 -1
- package/out/recipes/intersection.js.map +1 -1
- package/out/recipes/po/box/cedex/recipe.d.ts.map +1 -1
- package/out/recipes/po/box/cedex/recipe.js +1 -2
- package/out/recipes/po/box/cedex/recipe.js.map +1 -1
- package/out/recipes/po/box.d.ts.map +1 -1
- package/out/recipes/po/box.js +0 -2
- package/out/recipes/po/box.js.map +1 -1
- package/out/recipes/postal/guideline/leg.d.ts +100 -0
- package/out/recipes/postal/guideline/leg.d.ts.map +1 -0
- package/out/recipes/postal/guideline/leg.js +81 -0
- package/out/recipes/postal/guideline/leg.js.map +1 -0
- package/out/recipes/postal/guideline.d.ts +81 -0
- package/out/recipes/postal/guideline.d.ts.map +1 -0
- package/out/recipes/postal/guideline.js +196 -0
- package/out/recipes/postal/guideline.js.map +1 -0
- package/out/recipes/postal/unit-guideline.d.ts +30 -0
- package/out/recipes/postal/unit-guideline.d.ts.map +1 -0
- package/out/recipes/postal/unit-guideline.js +67 -0
- package/out/recipes/postal/unit-guideline.js.map +1 -0
- package/out/recipes/scaffold.d.ts +34 -26
- package/out/recipes/scaffold.d.ts.map +1 -1
- package/out/recipes/scaffold.js +11 -7
- package/out/recipes/scaffold.js.map +1 -1
- package/out/recipes/secondary.d.ts +67 -0
- package/out/recipes/secondary.d.ts.map +1 -0
- package/out/recipes/secondary.js +231 -0
- package/out/recipes/secondary.js.map +1 -0
- package/out/recipes/sources.d.ts.map +1 -1
- package/out/recipes/sources.js +22 -4
- package/out/recipes/sources.js.map +1 -1
- package/out/recipes/street/affix.d.ts.map +1 -1
- package/out/recipes/street/affix.js +0 -3
- package/out/recipes/street/affix.js.map +1 -1
- package/out/recipes/street/bare.d.ts.map +1 -1
- package/out/recipes/street/bare.js +1 -3
- package/out/recipes/street/bare.js.map +1 -1
- package/out/recipes/street.d.ts.map +1 -1
- package/out/recipes/street.js +0 -1
- package/out/recipes/street.js.map +1 -1
- package/out/recipes/sub/venue/context.d.ts +10 -8
- package/out/recipes/sub/venue/context.d.ts.map +1 -1
- package/out/recipes/sub/venue/context.js +11 -9
- package/out/recipes/sub/venue/context.js.map +1 -1
- package/out/recipes/sub/venue/sources.d.ts +3 -2
- package/out/recipes/sub/venue/sources.d.ts.map +1 -1
- package/out/recipes/sub/venue/sources.js +3 -2
- package/out/recipes/sub/venue/sources.js.map +1 -1
- package/out/recipes/sub/venue.d.ts +0 -6
- package/out/recipes/sub/venue.d.ts.map +1 -1
- package/out/recipes/sub/venue.js +4 -11
- package/out/recipes/sub/venue.js.map +1 -1
- package/out/recipes/trailing-region.d.ts.map +1 -1
- package/out/recipes/trailing-region.js +0 -1
- package/out/recipes/trailing-region.js.map +1 -1
- package/out/recipes/unit.d.ts.map +1 -1
- package/out/recipes/unit.js +0 -2
- package/out/recipes/unit.js.map +1 -1
- package/out/recipes/venue.d.ts.map +1 -1
- package/out/recipes/venue.js +0 -1
- package/out/recipes/venue.js.map +1 -1
- package/out/recipes.d.ts +1 -1
- package/out/recipes.d.ts.map +1 -1
- package/out/recipes.js +6 -2
- package/out/recipes.js.map +1 -1
- package/out/registers.d.ts +5 -1
- package/out/registers.d.ts.map +1 -1
- package/out/registers.js +5 -1
- package/out/registers.js.map +1 -1
- package/out/ro/adapters/retea-scolara/adapter.d.ts.map +1 -1
- package/out/ro/adapters/retea-scolara/adapter.js +1 -2
- package/out/ro/adapters/retea-scolara/adapter.js.map +1 -1
- package/out/runner.d.ts.map +1 -1
- package/out/runner.js +2 -3
- package/out/runner.js.map +1 -1
- package/out/sg/recipes/register.d.ts.map +1 -1
- package/out/sg/recipes/register.js +1 -2
- package/out/sg/recipes/register.js.map +1 -1
- package/out/si/recipes/bare-village.d.ts.map +1 -1
- package/out/si/recipes/bare-village.js +0 -1
- package/out/si/recipes/bare-village.js.map +1 -1
- package/out/sk/adapters/inspire/adapter.d.ts.map +1 -1
- package/out/sk/adapters/inspire/adapter.js +3 -4
- package/out/sk/adapters/inspire/adapter.js.map +1 -1
- package/out/source-register/corpus-inputs.d.ts +60 -11
- package/out/source-register/corpus-inputs.d.ts.map +1 -1
- package/out/source-register/corpus-inputs.js +55 -13
- package/out/source-register/corpus-inputs.js.map +1 -1
- package/out/source-register/effective-manifest.d.ts +1 -1
- package/out/source-register/effective-manifest.d.ts.map +1 -1
- package/out/source-register/effective-manifest.js +10 -7
- package/out/source-register/effective-manifest.js.map +1 -1
- package/out/source-register/register.d.ts +3 -16
- package/out/source-register/register.d.ts.map +1 -1
- package/out/source-register/register.js +4 -95
- package/out/source-register/register.js.map +1 -1
- package/out/source-register/row-license.d.ts +82 -0
- package/out/source-register/row-license.d.ts.map +1 -0
- package/out/source-register/row-license.js +126 -0
- package/out/source-register/row-license.js.map +1 -0
- package/out/source-register/training-manifest.d.ts +129 -25
- package/out/source-register/training-manifest.d.ts.map +1 -1
- package/out/source-register/training-manifest.js +135 -33
- package/out/source-register/training-manifest.js.map +1 -1
- package/out/source-register/types.d.ts +7 -155
- package/out/source-register/types.d.ts.map +1 -1
- package/out/source-register/types.js +5 -51
- package/out/source-register/types.js.map +1 -1
- package/out/source-register.d.ts +4 -4
- package/out/source-register.d.ts.map +1 -1
- package/out/source-register.js +3 -3
- package/out/source-register.js.map +1 -1
- package/out/south-asia/recipes/register.d.ts +1 -1
- package/out/south-asia/recipes/register.d.ts.map +1 -1
- package/out/south-asia/recipes/register.js +4 -4
- package/out/south-asia/recipes/register.js.map +1 -1
- package/out/street-index/reader.d.ts +31 -0
- package/out/street-index/reader.d.ts.map +1 -0
- package/out/street-index/reader.js +47 -0
- package/out/street-index/reader.js.map +1 -0
- package/out/street-index/schema.d.ts +42 -0
- package/out/street-index/schema.d.ts.map +1 -0
- package/out/street-index/schema.js +27 -0
- package/out/street-index/schema.js.map +1 -0
- package/out/street-index/write.d.ts +37 -0
- package/out/street-index/write.d.ts.map +1 -0
- package/out/street-index/write.js +52 -0
- package/out/street-index/write.js.map +1 -0
- package/out/subvenue/table.d.ts +1 -1
- package/out/subvenue/table.js +1 -1
- package/out/surfaces/locale.d.ts +15 -17
- package/out/surfaces/locale.d.ts.map +1 -1
- package/out/surfaces/locale.js +29 -22
- package/out/surfaces/locale.js.map +1 -1
- package/out/synthesizers/house-venue.js +1 -1
- package/out/synthesizers/house-venue.js.map +1 -1
- package/out/synthesizers/utils.d.ts +5 -4
- package/out/synthesizers/utils.d.ts.map +1 -1
- package/out/synthesizers/utils.js +80 -18
- package/out/synthesizers/utils.js.map +1 -1
- package/out/test-kit/corpus-recipe.d.ts +1 -1
- package/out/test-kit/corpus-recipe.d.ts.map +1 -1
- package/out/test-kit.d.ts +61 -0
- package/out/test-kit.d.ts.map +1 -1
- package/out/test-kit.js +144 -1
- package/out/test-kit.js.map +1 -1
- package/out/tools/align-canonical.d.ts +0 -1
- package/out/tools/align-canonical.d.ts.map +1 -1
- package/out/tools/align-canonical.js +2 -4
- package/out/tools/align-canonical.js.map +1 -1
- package/out/tools/audit.d.ts.map +1 -1
- package/out/tools/audit.js +4 -5
- package/out/tools/audit.js.map +1 -1
- package/out/tools/cjk/foreign-places.run.d.ts +13 -0
- package/out/tools/cjk/foreign-places.run.d.ts.map +1 -0
- package/out/tools/cjk/foreign-places.run.js +31 -0
- package/out/tools/cjk/foreign-places.run.js.map +1 -0
- package/out/tools/cjk/overlay.run.d.ts +18 -0
- package/out/tools/cjk/overlay.run.d.ts.map +1 -0
- package/out/tools/cjk/overlay.run.js +67 -0
- package/out/tools/cjk/overlay.run.js.map +1 -0
- package/out/tools/de-fragment-board.run.d.ts +14 -0
- package/out/tools/de-fragment-board.run.d.ts.map +1 -0
- package/out/tools/de-fragment-board.run.js +37 -0
- package/out/tools/de-fragment-board.run.js.map +1 -0
- package/out/tools/deepseek.run.d.ts +17 -0
- package/out/tools/deepseek.run.d.ts.map +1 -0
- package/out/tools/deepseek.run.js +62 -0
- package/out/tools/deepseek.run.js.map +1 -0
- package/out/tools/fetch/download/retry.d.ts +6 -0
- package/out/tools/fetch/download/retry.d.ts.map +1 -1
- package/out/tools/fetch/download/retry.js +22 -2
- package/out/tools/fetch/download/retry.js.map +1 -1
- package/out/tools/fetch/geonames/dump.d.ts +1 -1
- package/out/tools/fetch/geonames/dump.d.ts.map +1 -1
- package/out/tools/fetch/geonames/postal.d.ts +1 -1
- package/out/tools/fetch/geonames/postal.d.ts.map +1 -1
- package/out/tools/fetch/geonames/postal.js +2 -0
- package/out/tools/fetch/geonames/postal.js.map +1 -1
- package/out/tools/fetch/gleif.js +1 -1
- package/out/tools/fetch/gleif.js.map +1 -1
- package/out/tools/fetch/inspire-addresses.js +1 -1
- package/out/tools/fetch/inspire-addresses.js.map +1 -1
- package/out/tools/fetch/openaddresses.js +2 -2
- package/out/tools/fetch/openaddresses.js.map +1 -1
- package/out/tools/fetch/vlaanderen-ad.js +1 -1
- package/out/tools/fetch/vlaanderen-ad.js.map +1 -1
- package/out/tools/fetch/wfs-harvest.js +4 -4
- package/out/tools/fetch/wfs-harvest.js.map +1 -1
- package/out/tools/fetch/wikidata/session.d.ts +80 -0
- package/out/tools/fetch/wikidata/session.d.ts.map +1 -0
- package/out/tools/fetch/wikidata/session.js +122 -0
- package/out/tools/fetch/wikidata/session.js.map +1 -0
- package/out/tools/fetch/{wikidata-subvenue.d.ts → wikidata/subvenue.d.ts} +33 -1
- package/out/tools/fetch/wikidata/subvenue.d.ts.map +1 -0
- package/out/tools/fetch/{wikidata-subvenue.js → wikidata/subvenue.js} +28 -11
- package/out/tools/fetch/wikidata/subvenue.js.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/classify.d.ts +115 -0
- package/out/tools/fetch/wikidata/vital-places/classify.d.ts.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/classify.js +187 -0
- package/out/tools/fetch/wikidata/vital-places/classify.js.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/entities.d.ts +379 -0
- package/out/tools/fetch/wikidata/vital-places/entities.d.ts.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/entities.js +596 -0
- package/out/tools/fetch/wikidata/vital-places/entities.js.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/inventory.d.ts +70 -0
- package/out/tools/fetch/wikidata/vital-places/inventory.d.ts.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/inventory.js +84 -0
- package/out/tools/fetch/wikidata/vital-places/inventory.js.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/progress.d.ts +26 -0
- package/out/tools/fetch/wikidata/vital-places/progress.d.ts.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/progress.js +33 -0
- package/out/tools/fetch/wikidata/vital-places/progress.js.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/qrank.d.ts +116 -0
- package/out/tools/fetch/wikidata/vital-places/qrank.d.ts.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/qrank.js +167 -0
- package/out/tools/fetch/wikidata/vital-places/qrank.js.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/query-entities.d.ts +65 -0
- package/out/tools/fetch/wikidata/vital-places/query-entities.d.ts.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/query-entities.js +189 -0
- package/out/tools/fetch/wikidata/vital-places/query-entities.js.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/render.d.ts +129 -0
- package/out/tools/fetch/wikidata/vital-places/render.d.ts.map +1 -0
- package/out/tools/fetch/wikidata/vital-places/render.js +186 -0
- package/out/tools/fetch/wikidata/vital-places/render.js.map +1 -0
- package/out/tools/fetch/wikidata/vital-places.d.ts +121 -0
- package/out/tools/fetch/wikidata/vital-places.d.ts.map +1 -0
- package/out/tools/fetch/wikidata/vital-places.js +171 -0
- package/out/tools/fetch/wikidata/vital-places.js.map +1 -0
- package/out/tools/fetch.d.ts +3 -1
- package/out/tools/fetch.d.ts.map +1 -1
- package/out/tools/fetch.js +3 -1
- package/out/tools/fetch.js.map +1 -1
- package/out/tools/fragment-assay.run.d.ts +20 -0
- package/out/tools/fragment-assay.run.d.ts.map +1 -0
- package/out/tools/fragment-assay.run.js +59 -0
- package/out/tools/fragment-assay.run.js.map +1 -0
- package/out/tools/golden/expand.d.ts.map +1 -1
- package/out/tools/golden/expand.js +2 -3
- package/out/tools/golden/expand.js.map +1 -1
- package/out/tools/house-venue-tuples.run.d.ts +14 -0
- package/out/tools/house-venue-tuples.run.d.ts.map +1 -0
- package/out/tools/house-venue-tuples.run.js +48 -0
- package/out/tools/house-venue-tuples.run.js.map +1 -0
- package/out/tools/input-changes.d.ts +110 -0
- package/out/tools/input-changes.d.ts.map +1 -0
- package/out/tools/input-changes.js +104 -0
- package/out/tools/input-changes.js.map +1 -0
- package/out/tools/jp/corpus.run.d.ts +16 -0
- package/out/tools/jp/corpus.run.d.ts.map +1 -0
- package/out/tools/jp/corpus.run.js +72 -0
- package/out/tools/jp/corpus.run.js.map +1 -0
- package/out/tools/jp/probe-corpus.run.d.ts +14 -0
- package/out/tools/jp/probe-corpus.run.d.ts.map +1 -0
- package/out/tools/jp/probe-corpus.run.js +51 -0
- package/out/tools/jp/probe-corpus.run.js.map +1 -0
- package/out/tools/jsonl-to-parquet.d.ts +10 -0
- package/out/tools/jsonl-to-parquet.d.ts.map +1 -1
- package/out/tools/jsonl-to-parquet.js +13 -10
- package/out/tools/jsonl-to-parquet.js.map +1 -1
- package/out/tools/kr-corpus.run.d.ts +16 -0
- package/out/tools/kr-corpus.run.d.ts.map +1 -0
- package/out/tools/kr-corpus.run.js +76 -0
- package/out/tools/kr-corpus.run.js.map +1 -0
- package/out/tools/migrate/overlay-parquet.d.ts.map +1 -1
- package/out/tools/migrate/overlay-parquet.js +2 -1
- package/out/tools/migrate/overlay-parquet.js.map +1 -1
- package/out/tools/migrate/recipe-output.d.ts.map +1 -1
- package/out/tools/migrate/recipe-output.js +2 -1
- package/out/tools/migrate/recipe-output.js.map +1 -1
- package/out/tools/overlay/deletions.d.ts +122 -0
- package/out/tools/overlay/deletions.d.ts.map +1 -0
- package/out/tools/overlay/deletions.js +107 -0
- package/out/tools/overlay/deletions.js.map +1 -0
- package/out/tools/overlay/distinct-row-ids.d.ts +48 -0
- package/out/tools/overlay/distinct-row-ids.d.ts.map +1 -0
- package/out/tools/overlay/distinct-row-ids.js +57 -0
- package/out/tools/overlay/distinct-row-ids.js.map +1 -0
- package/out/tools/overlay/held-out-spans.d.ts +114 -0
- package/out/tools/overlay/held-out-spans.d.ts.map +1 -0
- package/out/tools/overlay/held-out-spans.js +237 -0
- package/out/tools/overlay/held-out-spans.js.map +1 -0
- package/out/tools/overlay/kryptonite.d.ts +10 -1
- package/out/tools/overlay/kryptonite.d.ts.map +1 -1
- package/out/tools/overlay/kryptonite.js +36 -21
- package/out/tools/overlay/kryptonite.js.map +1 -1
- package/out/tools/overlay/manifest.d.ts +55 -57
- package/out/tools/overlay/manifest.d.ts.map +1 -1
- package/out/tools/overlay/manifest.js +213 -110
- package/out/tools/overlay/manifest.js.map +1 -1
- package/out/tools/overlay/merge-source.d.ts +68 -1
- package/out/tools/overlay/merge-source.d.ts.map +1 -1
- package/out/tools/overlay/merge-source.js +126 -7
- package/out/tools/overlay/merge-source.js.map +1 -1
- package/out/tools/overlay/split/attribute.d.ts +114 -0
- package/out/tools/overlay/split/attribute.d.ts.map +1 -0
- package/out/tools/overlay/split/attribute.js +90 -0
- package/out/tools/overlay/split/attribute.js.map +1 -0
- package/out/tools/overlay/{split-slice.d.ts → split/overlay.d.ts} +22 -12
- package/out/tools/overlay/split/overlay.d.ts.map +1 -0
- package/out/tools/overlay/split/overlay.js +132 -0
- package/out/tools/overlay/split/overlay.js.map +1 -0
- package/out/tools/overlay/translit.d.ts +1 -1
- package/out/tools/overlay/translit.d.ts.map +1 -1
- package/out/tools/overlay/translit.js +22 -17
- package/out/tools/overlay/translit.js.map +1 -1
- package/out/tools/postcode/non-native-order.d.ts +148 -0
- package/out/tools/postcode/non-native-order.d.ts.map +1 -0
- package/out/tools/postcode/non-native-order.js +211 -0
- package/out/tools/postcode/non-native-order.js.map +1 -0
- package/out/tools/{postcode-triples.d.ts → postcode/triples.d.ts} +1 -1
- package/out/tools/postcode/triples.d.ts.map +1 -0
- package/out/tools/{postcode-triples.js → postcode/triples.js} +2 -2
- package/out/tools/postcode/triples.js.map +1 -0
- package/out/tools/registry-corpus.run.d.ts +14 -0
- package/out/tools/registry-corpus.run.d.ts.map +1 -0
- package/out/tools/registry-corpus.run.js +58 -0
- package/out/tools/registry-corpus.run.js.map +1 -0
- package/out/tools/secondary.run.d.ts +14 -0
- package/out/tools/secondary.run.d.ts.map +1 -0
- package/out/tools/secondary.run.js +65 -0
- package/out/tools/secondary.run.js.map +1 -0
- package/out/tools/source-register/build.d.ts +2 -1
- package/out/tools/source-register/build.d.ts.map +1 -1
- package/out/tools/source-register/build.js +3 -2
- package/out/tools/source-register/build.js.map +1 -1
- package/out/tools/street-index/build.d.ts +51 -0
- package/out/tools/street-index/build.d.ts.map +1 -0
- package/out/tools/street-index/build.js +86 -0
- package/out/tools/street-index/build.js.map +1 -0
- package/out/tools/street-index/build.run.d.ts +11 -0
- package/out/tools/street-index/build.run.d.ts.map +1 -0
- package/out/tools/street-index/build.run.js +33 -0
- package/out/tools/street-index/build.run.js.map +1 -0
- package/out/tools/sub/venue/lexicon.d.ts +2 -2
- package/out/tools/sub/venue/lexicon.d.ts.map +1 -1
- package/out/tools/sub/venue/wikidata.d.ts +1 -1
- package/out/tools/sub/venue/wikidata.js +2 -2
- package/out/tools/sub/venue/wikidata.js.map +1 -1
- package/out/tools/support-index.d.ts +185 -0
- package/out/tools/support-index.d.ts.map +1 -0
- package/out/tools/support-index.js +432 -0
- package/out/tools/support-index.js.map +1 -0
- package/out/tools/tw-corpus.run.d.ts +14 -0
- package/out/tools/tw-corpus.run.d.ts.map +1 -0
- package/out/tools/tw-corpus.run.js +58 -0
- package/out/tools/tw-corpus.run.js.map +1 -0
- package/out/tools/variety-sample.d.ts +5 -3
- package/out/tools/variety-sample.d.ts.map +1 -1
- package/out/tools/variety-sample.js +7 -5
- package/out/tools/variety-sample.js.map +1 -1
- package/out/tools/vital-places.run.d.ts +15 -0
- package/out/tools/vital-places.run.d.ts.map +1 -0
- package/out/tools/vital-places.run.js +96 -0
- package/out/tools/vital-places.run.js.map +1 -0
- package/out/training/config/admission.d.ts +49 -0
- package/out/training/config/admission.d.ts.map +1 -0
- package/out/training/config/admission.js +67 -0
- package/out/training/config/admission.js.map +1 -0
- package/out/training/config/load.d.ts +127 -0
- package/out/training/config/load.d.ts.map +1 -0
- package/out/training/config/load.js +420 -0
- package/out/training/config/load.js.map +1 -0
- package/out/training/config/python-yaml.d.ts +42 -0
- package/out/training/config/python-yaml.d.ts.map +1 -0
- package/out/training/config/python-yaml.js +229 -0
- package/out/training/config/python-yaml.js.map +1 -0
- package/out/training/config/resolved.d.ts +52 -0
- package/out/training/config/resolved.d.ts.map +1 -0
- package/out/training/config/resolved.js +51 -0
- package/out/training/config/resolved.js.map +1 -0
- package/out/training/config/schema.d.ts +1147 -0
- package/out/training/config/schema.d.ts.map +1 -0
- package/out/training/config/schema.js +286 -0
- package/out/training/config/schema.js.map +1 -0
- package/out/tw/corpus/assemble.d.ts +85 -0
- package/out/tw/corpus/assemble.d.ts.map +1 -0
- package/out/tw/corpus/assemble.js +194 -0
- package/out/tw/corpus/assemble.js.map +1 -0
- package/out/tw/corpus/rows.d.ts +109 -0
- package/out/tw/corpus/rows.d.ts.map +1 -0
- package/out/tw/corpus/rows.js +200 -0
- package/out/tw/corpus/rows.js.map +1 -0
- package/out/tw/registers.d.ts +79 -0
- package/out/tw/registers.d.ts.map +1 -0
- package/out/tw/registers.js +192 -0
- package/out/tw/registers.js.map +1 -0
- package/out/types.d.ts +105 -19
- package/out/types.d.ts.map +1 -1
- package/out/types.js.map +1 -1
- package/out/us/abbrev/region-samples.d.ts +20 -0
- package/out/us/abbrev/region-samples.d.ts.map +1 -0
- package/out/us/abbrev/region-samples.js +44 -0
- package/out/us/abbrev/region-samples.js.map +1 -0
- package/out/us/abbrev/regions.d.ts +32 -0
- package/out/us/abbrev/regions.d.ts.map +1 -0
- package/out/us/abbrev/regions.js +34 -0
- package/out/us/abbrev/regions.js.map +1 -0
- package/out/us/adapters/fcc-bdc/adapter.d.ts.map +1 -1
- package/out/us/adapters/fcc-bdc/adapter.js +2 -3
- package/out/us/adapters/fcc-bdc/adapter.js.map +1 -1
- package/out/us/adapters/state/hi-schools/adapter.d.ts.map +1 -1
- package/out/us/adapters/state/hi-schools/adapter.js +8 -7
- package/out/us/adapters/state/hi-schools/adapter.js.map +1 -1
- package/out/us/adapters/state/hi-schools/workbook.js +1 -1
- package/out/us/adapters/state/hi-schools/workbook.js.map +1 -1
- package/out/us/adapters/state/ia-contractors/adapter.d.ts.map +1 -1
- package/out/us/adapters/state/ia-contractors/adapter.js +8 -10
- package/out/us/adapters/state/ia-contractors/adapter.js.map +1 -1
- package/out/us/adapters/state/ny-notaries/adapter.d.ts.map +1 -1
- package/out/us/adapters/state/ny-notaries/adapter.js +8 -7
- package/out/us/adapters/state/ny-notaries/adapter.js.map +1 -1
- package/out/us/adapters/state/tx-notaries/adapter.d.ts.map +1 -1
- package/out/us/adapters/state/tx-notaries/adapter.js +8 -7
- package/out/us/adapters/state/tx-notaries/adapter.js.map +1 -1
- package/out/us/adapters/tiger/adapter.d.ts.map +1 -1
- package/out/us/adapters/tiger/adapter.js +2 -4
- package/out/us/adapters/tiger/adapter.js.map +1 -1
- package/out/us/adapters/usgov/hrsa-fqhc/adapter.d.ts +4 -12
- package/out/us/adapters/usgov/hrsa-fqhc/adapter.d.ts.map +1 -1
- package/out/us/adapters/usgov/hrsa-fqhc/adapter.js +12 -19
- package/out/us/adapters/usgov/hrsa-fqhc/adapter.js.map +1 -1
- package/out/us/adapters/usgov/imls-pls/adapter.d.ts.map +1 -1
- package/out/us/adapters/usgov/imls-pls/adapter.js +15 -8
- package/out/us/adapters/usgov/imls-pls/adapter.js.map +1 -1
- package/out/us/adapters/usgov/irs-bmf/adapter.d.ts.map +1 -1
- package/out/us/adapters/usgov/irs-bmf/adapter.js +2 -3
- package/out/us/adapters/usgov/irs-bmf/adapter.js.map +1 -1
- package/out/us/adapters/usgov/nad/adapter.d.ts +5 -4
- package/out/us/adapters/usgov/nad/adapter.d.ts.map +1 -1
- package/out/us/adapters/usgov/nad/adapter.js +18 -9
- package/out/us/adapters/usgov/nad/adapter.js.map +1 -1
- package/out/us/adapters/usgov/nppes/adapter.d.ts.map +1 -1
- package/out/us/adapters/usgov/nppes/adapter.js +26 -15
- package/out/us/adapters/usgov/nppes/adapter.js.map +1 -1
- package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.d.ts +4 -5
- package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.d.ts.map +1 -1
- package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.js +18 -31
- package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.js.map +1 -1
- package/out/us/recipes/house-venue-tuples.d.ts +55 -0
- package/out/us/recipes/house-venue-tuples.d.ts.map +1 -0
- package/out/us/recipes/house-venue-tuples.js +115 -0
- package/out/us/recipes/house-venue-tuples.js.map +1 -0
- package/out/us/recipes/skeleton-sources.d.ts +2 -2
- package/out/us/recipes/skeleton-sources.js +3 -3
- package/out/us/recipes/skeleton-sources.js.map +1 -1
- package/out/us/state-country-codes.d.ts +18 -0
- package/out/us/state-country-codes.d.ts.map +1 -0
- package/out/us/state-country-codes.js +21 -0
- package/out/us/state-country-codes.js.map +1 -0
- package/out/us/street-unit.d.ts +43 -0
- package/out/us/street-unit.d.ts.map +1 -0
- package/out/us/street-unit.js +56 -0
- package/out/us/street-unit.js.map +1 -0
- package/out/us/tools/nad-skeletons.d.ts +2 -2
- package/out/us/tools/nad-skeletons.js +2 -2
- package/out/utils/align.d.ts +15 -0
- package/out/utils/align.d.ts.map +1 -1
- package/out/utils/align.js +58 -28
- package/out/utils/align.js.map +1 -1
- package/out/utils/retention.d.ts +74 -0
- package/out/utils/retention.d.ts.map +1 -0
- package/out/utils/retention.js +39 -0
- package/out/utils/retention.js.map +1 -0
- package/out/utils/shape-supply.d.ts +30 -0
- package/out/utils/shape-supply.d.ts.map +1 -0
- package/out/utils/shape-supply.js +74 -0
- package/out/utils/shape-supply.js.map +1 -0
- package/out/utils/split.d.ts +159 -7
- package/out/utils/split.d.ts.map +1 -1
- package/out/utils/split.js +683 -130
- package/out/utils/split.js.map +1 -1
- package/out/utils/wof-json.d.ts +112 -17
- package/out/utils/wof-json.d.ts.map +1 -1
- package/out/utils/wof-json.js +179 -41
- package/out/utils/wof-json.js.map +1 -1
- package/out/uy/adapters/ide/adapter.d.ts +9 -9
- package/out/uy/adapters/ide/adapter.d.ts.map +1 -1
- package/out/uy/adapters/ide/adapter.js +24 -30
- package/out/uy/adapters/ide/adapter.js.map +1 -1
- package/out/ve/recipes/reviewed-postcode-tail.d.ts +2 -2
- package/out/ve/recipes/reviewed-postcode-tail.d.ts.map +1 -1
- package/out/ve/recipes/reviewed-postcode-tail.js +2 -3
- package/out/ve/recipes/reviewed-postcode-tail.js.map +1 -1
- package/package.json +25 -19
- package/lib/tools/overlay/split-slice.ts +0 -136
- package/out/adapters/street-line.d.ts.map +0 -1
- package/out/adapters/street-line.js.map +0 -1
- package/out/recipes/house-venue.d.ts.map +0 -1
- package/out/recipes/house-venue.js.map +0 -1
- package/out/tools/fetch/wikidata-subvenue.d.ts.map +0 -1
- package/out/tools/fetch/wikidata-subvenue.js.map +0 -1
- package/out/tools/overlay/split-slice.d.ts.map +0 -1
- package/out/tools/overlay/split-slice.js +0 -71
- package/out/tools/overlay/split-slice.js.map +0 -1
- package/out/tools/postcode-triples.d.ts.map +0 -1
- package/out/tools/postcode-triples.js.map +0 -1
- /package/lib/adapters/{street-line.ts → street/line.ts} +0 -0
|
@@ -0,0 +1,596 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright Sister Software
|
|
3
|
+
* @license AGPL-3.0
|
|
4
|
+
* @author Teffen Ellis, et al.
|
|
5
|
+
*
|
|
6
|
+
* The entity leg: `wbgetentities` on the Wikidata API, in batches of {@linkcode DEFAULT_ENTITY_BATCH}
|
|
7
|
+
* ids, for the ranked candidates.
|
|
8
|
+
*
|
|
9
|
+
* The API answers an id list where the query service times out on a world-scale class query
|
|
10
|
+
* (measured 2026-11-03: 5,171 items with no timeout against 27 of 29 per-class `GROUP BY` counts
|
|
11
|
+
* failing after about 135 s each). Each entity's classes, country, coordinate, population, sitelink
|
|
12
|
+
* count and the requested languages' labels and aliases are kept. The class verdict is a later phase's.
|
|
13
|
+
*
|
|
14
|
+
* Records are appended to a JSONL file as each request answers, and a rerun reads the ids already on
|
|
15
|
+
* disk before it asks for the rest. Entity answers therefore skip the HTTP cache: the JSONL file is the
|
|
16
|
+
* resume record, and a cached answer averaged about 100 KB per entity (1.85 GB for 18,600 entities).
|
|
17
|
+
*
|
|
18
|
+
* The requests follow Wikimedia's published limits:
|
|
19
|
+
*
|
|
20
|
+
* - https://wikitech.wikimedia.org/wiki/Robot_policy, "Action API rules": "If unauthenticated, keep the
|
|
21
|
+
* concurrency of your requests to 1 at a time, and below 5 requests per second overall." "If
|
|
22
|
+
* authenticated, you can raise the concurrency to 3 overall, and the number of requests per second to
|
|
23
|
+
* 10." "Avoid using expensive API endpoints: if your request takes more than 1 second to serve, please
|
|
24
|
+
* wait 5 seconds before making another request."
|
|
25
|
+
* - https://www.mediawiki.org/wiki/API:Etiquette: "If your task is not interactive, i.e. a user is not
|
|
26
|
+
* waiting for the result, you should use the `maxlag` parameter." "Use GZip compression when making API
|
|
27
|
+
* calls by setting `Accept-Encoding: gzip` to reduce bandwidth usage."
|
|
28
|
+
* - https://www.mediawiki.org/wiki/Wikimedia_APIs/Rate_limits: "limit the number of concurrent requests
|
|
29
|
+
* to 3 or fewer"; unauthenticated bot requests with a compliant User-Agent, and accounts with few
|
|
30
|
+
* edits, get 200 requests per minute.
|
|
31
|
+
* - https://www.mediawiki.org/wiki/Manual:Maxlag_parameter: a lagged replica answers `maxlag` requests
|
|
32
|
+
* with status 200, an `error.code` of `maxlag`, the `lag` in seconds and a `Retry-After` header;
|
|
33
|
+
* "pause your script for at least 5 seconds before trying again".
|
|
34
|
+
*
|
|
35
|
+
* {@linkcode ACTION_API_LIMITS} holds the concurrency and spacing of each mode, a request that takes
|
|
36
|
+
* more than {@linkcode SLOW_REQUEST_MS} to serve holds its worker for {@linkcode SLOW_REQUEST_WAIT_MS},
|
|
37
|
+
* every entity request sets `maxlag=5`, and the client sends `Accept-Encoding: gzip`.
|
|
38
|
+
*/
|
|
39
|
+
import { APIClient, parseRetryAfterMs, RequestPacer, systemClock, } from "@mailwoman/core/api";
|
|
40
|
+
import { errorMessage } from "@mailwoman/core/errors/schema";
|
|
41
|
+
import { pathExists } from "@mailwoman/core/fs/readers/stat";
|
|
42
|
+
import { appendLocalTextFile, toLinesText } from "@mailwoman/core/fs/writers";
|
|
43
|
+
import { stringifyJSON } from "@mailwoman/core/json";
|
|
44
|
+
import { formatQuantity } from "@mailwoman/core/resources/locale";
|
|
45
|
+
import { JSONSpliterator } from "spliterator";
|
|
46
|
+
import { ACTION_API_LIMITS, redactCredentials, SessionCookies, WikimediaRequestMode, } from "#tools/fetch/wikidata/session";
|
|
47
|
+
import { wikidataClientConfig } from "#tools/fetch/wikidata/subvenue";
|
|
48
|
+
import { chunked, entityQID, formatElapsed } from "#tools/fetch/wikidata/vital-places/progress";
|
|
49
|
+
/**
|
|
50
|
+
* The MediaWiki API endpoint of Wikidata.
|
|
51
|
+
*/
|
|
52
|
+
export const WIKIDATA_API_ENDPOINT = "https://www.wikidata.org/w/api.php";
|
|
53
|
+
/**
|
|
54
|
+
* The most ids one `wbgetentities` request accepts without a bot flag.
|
|
55
|
+
*/
|
|
56
|
+
export const WBGETENTITIES_BATCH = 50;
|
|
57
|
+
/**
|
|
58
|
+
* The ids one entity request asks for when a caller sets no batch size.
|
|
59
|
+
*
|
|
60
|
+
* Measured 2026-11-04 from the lab host, serially, with this module's `props` and ten languages:
|
|
61
|
+
* 10 ids answered in 607 and 849 ms, 20 in 883 and 961 ms, and 50 in 1,455 and 1,596 ms.
|
|
62
|
+
* Twenty sits within 12% of the 1 s threshold, and a request over it costs a 5 s wait.
|
|
63
|
+
*
|
|
64
|
+
* Twenty ids beat ten only while fewer than about one request in nine runs slow.
|
|
65
|
+
*/
|
|
66
|
+
export const DEFAULT_ENTITY_BATCH = 10;
|
|
67
|
+
/**
|
|
68
|
+
* A request that takes longer than this to serve is an expensive one under the robot policy.
|
|
69
|
+
*/
|
|
70
|
+
export const SLOW_REQUEST_MS = 1000;
|
|
71
|
+
/**
|
|
72
|
+
* How long a worker waits after an expensive request before its next one.
|
|
73
|
+
*/
|
|
74
|
+
export const SLOW_REQUEST_WAIT_MS = 5000;
|
|
75
|
+
/**
|
|
76
|
+
* The replica lag, in seconds, past which the API refuses an entity request.
|
|
77
|
+
*/
|
|
78
|
+
export const MAXLAG_SECONDS = 5;
|
|
79
|
+
/**
|
|
80
|
+
* The attempts an entity request gets while the API answers `maxlag`.
|
|
81
|
+
*/
|
|
82
|
+
const MAXLAG_ATTEMPTS = 12;
|
|
83
|
+
const MAXLAG_MIN_WAIT_MS = 5000;
|
|
84
|
+
const MAXLAG_MAX_WAIT_MS = 60_000;
|
|
85
|
+
/**
|
|
86
|
+
* The first wait before a retry when the answer sets no `Retry-After`.
|
|
87
|
+
*
|
|
88
|
+
* The rate-limit page asks for at least five seconds.
|
|
89
|
+
*/
|
|
90
|
+
const WIKIDATA_API_RETRY_BASE_DELAY_MS = 5000;
|
|
91
|
+
/**
|
|
92
|
+
* The languages whose labels and aliases are kept when a caller passes none.
|
|
93
|
+
*/
|
|
94
|
+
export const DEFAULT_LANGUAGES = ["en", "fr", "es", "de", "it", "pt", "ru", "ja", "zh", "ar"];
|
|
95
|
+
/**
|
|
96
|
+
* The item for Earth, the globe a kept coordinate must sit on.
|
|
97
|
+
*/
|
|
98
|
+
export const EARTH_QID = "Q2";
|
|
99
|
+
const PROPERTY = {
|
|
100
|
+
instanceOf: "P31",
|
|
101
|
+
country: "P17",
|
|
102
|
+
coordinate: "P625",
|
|
103
|
+
population: "P1082",
|
|
104
|
+
isoAlpha2: "P297",
|
|
105
|
+
};
|
|
106
|
+
const WIKIDATA_API_REQUEST_TIMEOUT_MS = 60_000;
|
|
107
|
+
/**
|
|
108
|
+
* Whether a record is a kept entity rather than a missing one.
|
|
109
|
+
*/
|
|
110
|
+
export function isVitalEntity(record) {
|
|
111
|
+
return !("missing" in record);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Whether the API dropped entities from an answer to keep it under its response-size limit.
|
|
115
|
+
*/
|
|
116
|
+
function isTruncated(body) {
|
|
117
|
+
return /truncated/iu.test(body.warnings?.result?.["*"] ?? "");
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The `wbgetentities` request for a batch of ids, with `maxlag` set.
|
|
121
|
+
*/
|
|
122
|
+
export function buildEntitiesURL(ids, languages, options = {}) {
|
|
123
|
+
if (!ids.length || ids.length > WBGETENTITIES_BATCH) {
|
|
124
|
+
throw new RangeError(`wbgetentities takes 1 to ${WBGETENTITIES_BATCH} ids, not ${ids.length}`);
|
|
125
|
+
}
|
|
126
|
+
const url = new URL(WIKIDATA_API_ENDPOINT);
|
|
127
|
+
url.searchParams.set("action", "wbgetentities");
|
|
128
|
+
url.searchParams.set("ids", ids.join("|"));
|
|
129
|
+
url.searchParams.set("props", "labels|aliases|claims|sitelinks");
|
|
130
|
+
url.searchParams.set("languages", languages.join("|"));
|
|
131
|
+
url.searchParams.set("format", "json");
|
|
132
|
+
url.searchParams.set("maxlag", String(MAXLAG_SECONDS));
|
|
133
|
+
if (options.assertUser) {
|
|
134
|
+
url.searchParams.set("assert", "user");
|
|
135
|
+
}
|
|
136
|
+
return url.toString();
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The Action API request for a query module, such as `meta=tokens` or `meta=userinfo`.
|
|
140
|
+
*/
|
|
141
|
+
function actionQueryURL(params) {
|
|
142
|
+
const url = new URL(WIKIDATA_API_ENDPOINT);
|
|
143
|
+
url.searchParams.set("action", "query");
|
|
144
|
+
for (const [key, value] of Object.entries(params)) {
|
|
145
|
+
url.searchParams.set(key, value);
|
|
146
|
+
}
|
|
147
|
+
url.searchParams.set("format", "json");
|
|
148
|
+
return url.toString();
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* A paced and retrying client for the Wikidata API, logged in when it holds bot credentials.
|
|
152
|
+
*
|
|
153
|
+
* Session cookies a response sets are kept and sent on every later request.
|
|
154
|
+
* Each request's serve time runs from its start, after pacing, to its answer.
|
|
155
|
+
*/
|
|
156
|
+
export class WikidataAPIClient extends APIClient {
|
|
157
|
+
#clock;
|
|
158
|
+
#pacer;
|
|
159
|
+
#cookies = new SessionCookies();
|
|
160
|
+
#dispatched = 0;
|
|
161
|
+
#user = null;
|
|
162
|
+
#login = null;
|
|
163
|
+
/**
|
|
164
|
+
* The client spaces its own requests by `minRequestIntervalMs` before each one starts.
|
|
165
|
+
*
|
|
166
|
+
* The base client's adapter would pace inside the request instead.
|
|
167
|
+
* A request paced before it starts takes its serve time, with no pacing wait inside it.
|
|
168
|
+
*/
|
|
169
|
+
constructor(config) {
|
|
170
|
+
super({ ...config, minRequestIntervalMs: undefined });
|
|
171
|
+
this.#clock = config.clock ?? systemClock;
|
|
172
|
+
this.#pacer = config.minRequestIntervalMs ? new RequestPacer(config.minRequestIntervalMs, this.#clock) : null;
|
|
173
|
+
this.axios.interceptors.request.use((requestConfig) => {
|
|
174
|
+
const cookie = this.#cookies.header();
|
|
175
|
+
if (cookie) {
|
|
176
|
+
requestConfig.headers.set("Cookie", cookie);
|
|
177
|
+
}
|
|
178
|
+
return requestConfig;
|
|
179
|
+
});
|
|
180
|
+
this.axios.interceptors.response.use((response) => {
|
|
181
|
+
// A replayed answer's cookies are the ones set when it was first cached.
|
|
182
|
+
if (response.cached !== true) {
|
|
183
|
+
this.#cookies.absorb(response.headers["set-cookie"], this.#clock.now());
|
|
184
|
+
}
|
|
185
|
+
return response;
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* The requests this client started, each counted once with its retries.
|
|
190
|
+
*/
|
|
191
|
+
get requestsDispatched() {
|
|
192
|
+
return this.#dispatched;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* One paced request, with the milliseconds it took from its start to its answer.
|
|
196
|
+
*/
|
|
197
|
+
async #send(options) {
|
|
198
|
+
await this.#pacer?.acquire();
|
|
199
|
+
this.#dispatched++;
|
|
200
|
+
const startedAt = this.#clock.now();
|
|
201
|
+
const response = await this.fetch(options);
|
|
202
|
+
return {
|
|
203
|
+
body: response.data,
|
|
204
|
+
headers: response.headers,
|
|
205
|
+
servedMs: this.#clock.now() - startedAt,
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* The account the client is logged in as, or `null`.
|
|
210
|
+
*/
|
|
211
|
+
get loggedInAs() {
|
|
212
|
+
return this.#user;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Whether requests go out logged in.
|
|
216
|
+
*/
|
|
217
|
+
get mode() {
|
|
218
|
+
return this.#user ? WikimediaRequestMode.loggedIn : WikimediaRequestMode.anonymous;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Log in with the bot credentials and confirm the session through `meta=userinfo`.
|
|
222
|
+
*
|
|
223
|
+
* The steps are those of https://www.mediawiki.org/wiki/API:Login: a login token from
|
|
224
|
+
* `meta=tokens`, then `action=login` with `lgname`, `lgpassword` and `lgtoken` in a POST body.
|
|
225
|
+
* Concurrent callers share one login.
|
|
226
|
+
*
|
|
227
|
+
* @returns The account the API reports.
|
|
228
|
+
* @throws With the credential values redacted, when a step fails or the session reads as anonymous.
|
|
229
|
+
*/
|
|
230
|
+
logIn() {
|
|
231
|
+
this.#login ??= this.#logIn().finally(() => {
|
|
232
|
+
this.#login = null;
|
|
233
|
+
});
|
|
234
|
+
return this.#login;
|
|
235
|
+
}
|
|
236
|
+
async #logIn() {
|
|
237
|
+
const { credentials } = this.config;
|
|
238
|
+
if (!credentials)
|
|
239
|
+
throw new Error("Wikidata login: the client holds no bot credentials");
|
|
240
|
+
try {
|
|
241
|
+
const tokens = await this.#send({
|
|
242
|
+
url: actionQueryURL({ meta: "tokens", type: "login" }),
|
|
243
|
+
cache: false,
|
|
244
|
+
});
|
|
245
|
+
const token = tokens.body.query?.tokens?.logintoken;
|
|
246
|
+
if (!token)
|
|
247
|
+
throw new Error("the meta=tokens answer has no login token");
|
|
248
|
+
const form = new URLSearchParams({
|
|
249
|
+
action: "login",
|
|
250
|
+
lgname: credentials.username,
|
|
251
|
+
lgpassword: credentials.password,
|
|
252
|
+
lgtoken: token,
|
|
253
|
+
format: "json",
|
|
254
|
+
});
|
|
255
|
+
const login = await this.#send({
|
|
256
|
+
url: WIKIDATA_API_ENDPOINT,
|
|
257
|
+
method: "POST",
|
|
258
|
+
data: form.toString(),
|
|
259
|
+
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
260
|
+
cache: false,
|
|
261
|
+
});
|
|
262
|
+
const result = login.body.login;
|
|
263
|
+
if (result?.result !== "Success") {
|
|
264
|
+
const reason = result?.reason ?? login.body.error?.info ?? "no reason given";
|
|
265
|
+
throw new Error(`action=login answered ${result?.result ?? login.body.error?.code ?? "no result"}: ${reason}`);
|
|
266
|
+
}
|
|
267
|
+
const info = await this.#send({ url: actionQueryURL({ meta: "userinfo" }), cache: false });
|
|
268
|
+
const user = info.body.query?.userinfo;
|
|
269
|
+
if (!user || "anon" in user || !user.id || !user.name) {
|
|
270
|
+
throw new Error("meta=userinfo reads the session as anonymous after a successful login");
|
|
271
|
+
}
|
|
272
|
+
this.#user = user.name;
|
|
273
|
+
return user.name;
|
|
274
|
+
}
|
|
275
|
+
catch (error) {
|
|
276
|
+
// A fresh error without a cause: an Axios error's config holds the POST body.
|
|
277
|
+
throw new Error(`Wikidata login: ${redactCredentials(errorMessage(error), credentials)}`);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* One entity request, honoring `maxlag` and the expensive-request wait.
|
|
282
|
+
*
|
|
283
|
+
* A request that took more than {@linkcode SLOW_REQUEST_MS} to serve holds its caller for
|
|
284
|
+
* {@linkcode SLOW_REQUEST_WAIT_MS} before it returns, so the caller's next request waits.
|
|
285
|
+
* A `maxlag` answer waits the larger of its `Retry-After`, its lag and five seconds, then asks again.
|
|
286
|
+
*
|
|
287
|
+
* An `assertuserfailed` answer, a lapsed session, logs in again once.
|
|
288
|
+
*/
|
|
289
|
+
async #requestEntities(ids, languages, cache) {
|
|
290
|
+
let loggedInAgain = false;
|
|
291
|
+
for (let attempt = 1;; attempt++) {
|
|
292
|
+
const url = buildEntitiesURL(ids, languages, { assertUser: this.#user !== null });
|
|
293
|
+
const { body, headers, servedMs } = await this.#send({
|
|
294
|
+
url,
|
|
295
|
+
...(cache ? {} : { cache: false }),
|
|
296
|
+
});
|
|
297
|
+
if (servedMs > SLOW_REQUEST_MS) {
|
|
298
|
+
await this.#clock.sleep(SLOW_REQUEST_WAIT_MS);
|
|
299
|
+
}
|
|
300
|
+
const code = body.error?.code;
|
|
301
|
+
if (code === "maxlag" && attempt < MAXLAG_ATTEMPTS) {
|
|
302
|
+
await this.#clock.sleep(maxlagWaitMs(headers["retry-after"], body.error?.lag));
|
|
303
|
+
continue;
|
|
304
|
+
}
|
|
305
|
+
if (code === "assertuserfailed" && this.config.credentials && !loggedInAgain) {
|
|
306
|
+
loggedInAgain = true;
|
|
307
|
+
this.#user = null;
|
|
308
|
+
await this.logIn();
|
|
309
|
+
continue;
|
|
310
|
+
}
|
|
311
|
+
return body;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Fetch a batch of entities, keyed by the id each was requested under.
|
|
316
|
+
*
|
|
317
|
+
* The API files a redirected item under its target id with a `redirects.from` field,
|
|
318
|
+
* so the answer is re-keyed by the requested id.
|
|
319
|
+
* An id the answer files in neither way is an error in the answer and is refused
|
|
320
|
+
* rather than read as missing.
|
|
321
|
+
*/
|
|
322
|
+
async getEntities(ids, languages = DEFAULT_LANGUAGES, options = {}) {
|
|
323
|
+
const body = await this.#requestEntities(ids, languages, options.cache === true);
|
|
324
|
+
if (body.error)
|
|
325
|
+
throw new Error(`wbgetentities: ${body.error.code ?? "error"}: ${body.error.info ?? ""}`);
|
|
326
|
+
if (!body.entities)
|
|
327
|
+
throw new Error("wbgetentities: the answer has no entities field");
|
|
328
|
+
const byRequestedID = new Map();
|
|
329
|
+
for (const [key, entity] of Object.entries(body.entities)) {
|
|
330
|
+
byRequestedID.set(entity.redirects?.from ?? entity.id ?? key, entity);
|
|
331
|
+
}
|
|
332
|
+
const missing = ids.filter((id) => !byRequestedID.has(id));
|
|
333
|
+
if (!missing.length)
|
|
334
|
+
return byRequestedID;
|
|
335
|
+
// The API drops the entities past its response-size limit and reports the
|
|
336
|
+
// truncation in `warnings.result`.
|
|
337
|
+
// A batch of countries exceeds it, because each country's claim list is long.
|
|
338
|
+
// The dropped ids are requested again in two halves until each answer fits.
|
|
339
|
+
if (!isTruncated(body) || ids.length === 1) {
|
|
340
|
+
throw new Error(`wbgetentities: the answer holds no entity for ${missing[0]}`);
|
|
341
|
+
}
|
|
342
|
+
const half = Math.ceil(missing.length / 2);
|
|
343
|
+
for (const part of [missing.slice(0, half), missing.slice(half)]) {
|
|
344
|
+
if (!part.length)
|
|
345
|
+
continue;
|
|
346
|
+
for (const [id, entity] of await this.getEntities(part, languages, options)) {
|
|
347
|
+
byRequestedID.set(id, entity);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
return byRequestedID;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* The wait before asking again after a `maxlag` answer, in milliseconds.
|
|
355
|
+
*/
|
|
356
|
+
export function maxlagWaitMs(retryAfter, lagSeconds) {
|
|
357
|
+
const headerMs = typeof retryAfter === "string" || typeof retryAfter === "number" ? parseRetryAfterMs(String(retryAfter)) : null;
|
|
358
|
+
const lagMs = typeof lagSeconds === "number" && Number.isFinite(lagSeconds) ? lagSeconds * 1000 : 0;
|
|
359
|
+
return Math.min(Math.max(headerMs ?? 0, lagMs, MAXLAG_MIN_WAIT_MS), MAXLAG_MAX_WAIT_MS);
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Whether a body has the `wbgetentities` envelope.
|
|
363
|
+
*/
|
|
364
|
+
export function isEntitiesResponse(value) {
|
|
365
|
+
return typeof value === "object" && value !== null && typeof value.entities === "object";
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Creates a Wikidata API client with the shared retry, cache and header defaults, spaced for its mode.
|
|
369
|
+
*
|
|
370
|
+
* A client given credentials is spaced for the logged-in mode.
|
|
371
|
+
* It logs in when {@linkcode WikidataAPIClient.logIn} is called.
|
|
372
|
+
*/
|
|
373
|
+
export function createWikidataAPIClient(options) {
|
|
374
|
+
const mode = options.credentials ? WikimediaRequestMode.loggedIn : WikimediaRequestMode.anonymous;
|
|
375
|
+
return new WikidataAPIClient({
|
|
376
|
+
...wikidataClientConfig({
|
|
377
|
+
displayName: "Wikidata API",
|
|
378
|
+
minRequestIntervalMs: ACTION_API_LIMITS[mode].minRequestIntervalMs,
|
|
379
|
+
timeoutMs: WIKIDATA_API_REQUEST_TIMEOUT_MS,
|
|
380
|
+
retryBaseDelayMs: WIKIDATA_API_RETRY_BASE_DELAY_MS,
|
|
381
|
+
accept: "application/json",
|
|
382
|
+
validate: isEntitiesResponse,
|
|
383
|
+
}, options),
|
|
384
|
+
credentials: options.credentials ?? null,
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* The statements of one property that state a value, best rank first and deprecated ones left out.
|
|
389
|
+
*/
|
|
390
|
+
export function rankedClaims(entity, property) {
|
|
391
|
+
const order = (claim) => (claim.rank === "preferred" ? 0 : 1);
|
|
392
|
+
return (entity.claims?.[property] ?? [])
|
|
393
|
+
.filter((claim) => claim.rank !== "deprecated" && claim.mainsnak?.snaktype === "value")
|
|
394
|
+
.toSorted((left, right) => order(left) - order(right));
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* The item ids a property's statements point at.
|
|
398
|
+
*/
|
|
399
|
+
export function claimItemIDs(entity, property) {
|
|
400
|
+
const ids = [];
|
|
401
|
+
for (const claim of rankedClaims(entity, property)) {
|
|
402
|
+
const value = claim.mainsnak?.datavalue?.value;
|
|
403
|
+
if (typeof value?.id === "string" && !ids.includes(value.id)) {
|
|
404
|
+
ids.push(value.id);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return ids;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* The best-ranked coordinate on Earth, or `null`.
|
|
411
|
+
*
|
|
412
|
+
* A coordinate on another globe, such as a Martian crater's, is not a place an address refers to.
|
|
413
|
+
*/
|
|
414
|
+
export function readEarthCoordinate(entity) {
|
|
415
|
+
for (const claim of rankedClaims(entity, PROPERTY.coordinate)) {
|
|
416
|
+
const value = claim.mainsnak?.datavalue?.value;
|
|
417
|
+
const globe = typeof value?.globe === "string" ? entityQID(value.globe) : EARTH_QID;
|
|
418
|
+
if (globe !== EARTH_QID)
|
|
419
|
+
continue;
|
|
420
|
+
if (typeof value?.latitude === "number" && typeof value.longitude === "number") {
|
|
421
|
+
return { lat: value.latitude, lon: value.longitude };
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
return null;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* The best-ranked population, or `null`.
|
|
428
|
+
*/
|
|
429
|
+
export function readPopulation(entity) {
|
|
430
|
+
for (const claim of rankedClaims(entity, PROPERTY.population)) {
|
|
431
|
+
const value = claim.mainsnak?.datavalue?.value;
|
|
432
|
+
const amount = typeof value?.amount === "string" ? Number(value.amount) : Number.NaN;
|
|
433
|
+
if (Number.isFinite(amount))
|
|
434
|
+
return amount;
|
|
435
|
+
}
|
|
436
|
+
return null;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* The best-ranked ISO 3166-1 alpha-2 code, or `null` for an item that has none.
|
|
440
|
+
*/
|
|
441
|
+
export function readISOAlpha2(entity) {
|
|
442
|
+
for (const claim of rankedClaims(entity, PROPERTY.isoAlpha2)) {
|
|
443
|
+
const value = claim.mainsnak?.datavalue?.value;
|
|
444
|
+
if (typeof value === "string" && /^[A-Z]{2}$/u.test(value))
|
|
445
|
+
return value;
|
|
446
|
+
}
|
|
447
|
+
return null;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* The record kept for one ranked id from the API's entity.
|
|
451
|
+
*/
|
|
452
|
+
export function readVitalEntity(row, entity, languages) {
|
|
453
|
+
if ("missing" in entity)
|
|
454
|
+
return { qid: row.qid, qrank: row.qrank, missing: true };
|
|
455
|
+
const labels = {};
|
|
456
|
+
const aliases = {};
|
|
457
|
+
for (const language of languages) {
|
|
458
|
+
const label = entity.labels?.[language]?.value;
|
|
459
|
+
if (typeof label === "string" && label) {
|
|
460
|
+
labels[language] = label;
|
|
461
|
+
}
|
|
462
|
+
const names = (entity.aliases?.[language] ?? [])
|
|
463
|
+
.map((alias) => alias.value)
|
|
464
|
+
.filter((value) => typeof value === "string" && value.length > 0);
|
|
465
|
+
if (names.length) {
|
|
466
|
+
aliases[language] = names;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
return {
|
|
470
|
+
qid: row.qid,
|
|
471
|
+
qrank: row.qrank,
|
|
472
|
+
classes: claimItemIDs(entity, PROPERTY.instanceOf),
|
|
473
|
+
countries: claimItemIDs(entity, PROPERTY.country),
|
|
474
|
+
coordinate: readEarthCoordinate(entity),
|
|
475
|
+
population: readPopulation(entity),
|
|
476
|
+
sitelinks: Object.keys(entity.sitelinks ?? {}).length,
|
|
477
|
+
labels,
|
|
478
|
+
aliases,
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Every record already in the entities file, in file order.
|
|
483
|
+
*/
|
|
484
|
+
export async function readEntityRecords(path) {
|
|
485
|
+
if (!(await pathExists(path)))
|
|
486
|
+
return [];
|
|
487
|
+
return JSONSpliterator.fromAsync(path).toArray();
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* The concurrency a run uses: the one asked for, capped by the mode.
|
|
491
|
+
*
|
|
492
|
+
* @throws When the request is not a positive integer.
|
|
493
|
+
*/
|
|
494
|
+
export function resolveConcurrency(mode, requested) {
|
|
495
|
+
const cap = ACTION_API_LIMITS[mode].concurrency;
|
|
496
|
+
if (requested == null)
|
|
497
|
+
return cap;
|
|
498
|
+
if (!Number.isInteger(requested) || requested < 1) {
|
|
499
|
+
throw new RangeError(`a concurrency is a positive integer, not ${requested}`);
|
|
500
|
+
}
|
|
501
|
+
return Math.min(requested, cap);
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* The mode a progress line reports: the account when logged in.
|
|
505
|
+
*/
|
|
506
|
+
function describeMode(client) {
|
|
507
|
+
return client.loggedInAs ? `logged in as ${client.loggedInAs}` : "anonymous";
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Append a record for every ranked id the entities file lacks, one batch per request,
|
|
511
|
+
* with up to the mode's concurrency of workers taking the remaining batches in turn.
|
|
512
|
+
*
|
|
513
|
+
* An id already on disk is not requested again.
|
|
514
|
+
* Each worker's records are appended through one write queue, a batch's lines together,
|
|
515
|
+
* so the file holds whole lines in the order the batches finished.
|
|
516
|
+
*
|
|
517
|
+
* A request that fails after the client's retries is reported and skipped,
|
|
518
|
+
* so a rerun asks for its ids again.
|
|
519
|
+
*/
|
|
520
|
+
export async function fetchVitalEntities(client, rows, options) {
|
|
521
|
+
const { entitiesPath, report, reportEvery = 20, batchSize = DEFAULT_ENTITY_BATCH } = options;
|
|
522
|
+
const languages = options.languages ?? DEFAULT_LANGUAGES;
|
|
523
|
+
const concurrency = resolveConcurrency(client.mode, options.concurrency);
|
|
524
|
+
const present = new Set((await readEntityRecords(entitiesPath)).map((record) => record.qid));
|
|
525
|
+
if (batchSize > WBGETENTITIES_BATCH) {
|
|
526
|
+
throw new RangeError(`wbgetentities takes at most ${WBGETENTITIES_BATCH} ids, not ${batchSize}`);
|
|
527
|
+
}
|
|
528
|
+
const batches = chunked(rows.filter((row) => !present.has(row.qid)), batchSize);
|
|
529
|
+
const requests = batches.length;
|
|
530
|
+
const pending = batches.reduce((sum, batch) => sum + batch.length, 0);
|
|
531
|
+
const result = { skipped: rows.length - pending, fetched: 0, failedBatches: [] };
|
|
532
|
+
const startedAt = performance.now();
|
|
533
|
+
const dispatchedAtStart = client.requestsDispatched;
|
|
534
|
+
let located = 0;
|
|
535
|
+
let next = 0;
|
|
536
|
+
let completed = 0;
|
|
537
|
+
let writes = Promise.resolve();
|
|
538
|
+
if (options.concurrency != null && options.concurrency > concurrency) {
|
|
539
|
+
report?.(` entities: concurrency ${options.concurrency} capped at ${concurrency} while ${client.mode}`);
|
|
540
|
+
}
|
|
541
|
+
report?.(` entities: ${formatQuantity(result.skipped)} of ${formatQuantity(rows.length)} already on disk, ` +
|
|
542
|
+
`${formatQuantity(requests)} requests to go, ${batchSize} ids each, ${describeMode(client)}, concurrency ${concurrency}`);
|
|
543
|
+
const append = (text) => {
|
|
544
|
+
writes = writes.then(() => appendLocalTextFile(text, entitiesPath));
|
|
545
|
+
return writes;
|
|
546
|
+
};
|
|
547
|
+
const worker = async () => {
|
|
548
|
+
while (next < batches.length) {
|
|
549
|
+
const index = next++;
|
|
550
|
+
const batch = batches[index];
|
|
551
|
+
try {
|
|
552
|
+
const entities = await client.getEntities(batch.map((row) => row.qid), languages);
|
|
553
|
+
const records = batch.map((row) => readVitalEntity(row, entities.get(row.qid), languages));
|
|
554
|
+
await append(toLinesText(records.map((record) => stringifyJSON(record))));
|
|
555
|
+
result.fetched += records.length;
|
|
556
|
+
located += records.filter((record) => isVitalEntity(record) && record.coordinate !== null).length;
|
|
557
|
+
}
|
|
558
|
+
catch (error) {
|
|
559
|
+
// A failed append leaves the queue rejected, so the next one runs from a settled tail.
|
|
560
|
+
writes = writes.catch(() => undefined);
|
|
561
|
+
result.failedBatches.push(batch[0].qid);
|
|
562
|
+
report?.(` ✗ entities: request ${index + 1} (${batch[0].qid}…): ${errorMessage(error)}`);
|
|
563
|
+
}
|
|
564
|
+
completed++;
|
|
565
|
+
if (completed % reportEvery === 0 || completed === requests) {
|
|
566
|
+
const seconds = (performance.now() - startedAt) / 1000;
|
|
567
|
+
const rate = seconds > 0 ? (client.requestsDispatched - dispatchedAtStart) / seconds : 0;
|
|
568
|
+
report?.(` entities: [${formatQuantity(completed)}/${formatQuantity(requests)}] ${formatQuantity(result.fetched)} fetched, ` +
|
|
569
|
+
`${formatQuantity(located)} with a coordinate, ${describeMode(client)}, concurrency ${concurrency}, ` +
|
|
570
|
+
`${rate.toFixed(2)} requests/s, ${formatElapsed(startedAt)}`);
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
};
|
|
574
|
+
await Promise.all(Array.from({ length: Math.min(concurrency, Math.max(requests, 1)) }, worker));
|
|
575
|
+
return result;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* The ISO 3166-1 alpha-2 code of each country item, `null` where the item states none.
|
|
579
|
+
*
|
|
580
|
+
* Codes already known are not requested again.
|
|
581
|
+
*/
|
|
582
|
+
export async function readCountryCodes(client, countryIDs, known = {}, report) {
|
|
583
|
+
const codes = { ...known };
|
|
584
|
+
const batches = chunked(countryIDs.filter((id) => !(id in codes)), DEFAULT_ENTITY_BATCH);
|
|
585
|
+
report?.(` countries: ${formatQuantity(countryIDs.length)} distinct P17 items, ` +
|
|
586
|
+
`${formatQuantity(countryIDs.length - Object.keys(known).length)} unknown, ${formatQuantity(batches.length)} requests`);
|
|
587
|
+
for (const batch of batches) {
|
|
588
|
+
// The few country answers stay in the HTTP cache, unlike the ranked entities.
|
|
589
|
+
const entities = await client.getEntities(batch, ["en"], { cache: true });
|
|
590
|
+
for (const id of batch) {
|
|
591
|
+
codes[id] = readISOAlpha2(entities.get(id));
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
return codes;
|
|
595
|
+
}
|
|
596
|
+
//# sourceMappingURL=entities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../../lib/tools/fetch/wikidata/vital-places/entities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,OAAO,EACN,SAAS,EAIT,iBAAiB,EACjB,YAAY,EACZ,WAAW,GACX,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AAGjE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C,OAAO,EACN,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EAEd,oBAAoB,GACpB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAoC,oBAAoB,EAAE,MAAM,gCAAgC,CAAA;AACvG,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAyB,MAAM,6CAA6C,CAAA;AAGtH;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,oCAAoC,CAAA;AAEzE;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAA;AAErC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,CAAA;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAA;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAA;AAExC;;GAEG;AACH,MAAM,CAAC,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