@mailwoman/corpus 10.6.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 +52 -5
- package/data/address-source-register.json +18925 -8728
- 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 +4813 -0
- package/data/license-decisions.json +7261 -0
- package/data/licenses/whosonfirst-licenses.md +3 -2
- package/data/reviewed-ve-postcode-tuples.json +5 -72
- package/data/source-additions.json +2450 -0
- package/data/source-resolutions.json +94 -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.7.10-gb-county.effective.json +2335 -0
- package/data/training-manifests/v0.7.10-gb-county.json +1132 -0
- package/data/training-manifests/v0.7.2-address-systems.effective.json +3 -2
- package/data/training-manifests/v0.7.7-no-ppd.json +550 -0
- package/data/training-manifests/v0.7.8-rights-clean.json +538 -0
- package/data/training-manifests/v0.7.9-country-gap.json +1132 -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 +128 -0
- package/data/wof-refuted-parents.json +4256 -0
- package/lib/adapters/cordis/adapter.ts +66 -15
- 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 +26 -5
- package/lib/adapters/openaddresses/adapter.ts +1 -2
- package/lib/adapters/osm/adapter.ts +86 -29
- 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 +17 -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 +382 -0
- 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 +243 -0
- 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 +100 -2
- package/lib/build/worker.ts +359 -0
- package/lib/build.ts +146 -89
- 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 +19 -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 +234 -0
- 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 +24 -15
- package/lib/gb/county.ts +59 -0
- package/lib/gb/os-open/nearest-link.ts +1 -1
- package/lib/gb/os-open/open/names.ts +45 -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 +424 -0
- package/lib/im/adapters/land-registry/adapter.ts +334 -0
- package/lib/index.ts +1 -1
- package/lib/inspire/stream.ts +3 -3
- package/lib/international/recipes/locale.ts +247 -52
- 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 +240 -0
- 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 +12 -36
- package/lib/recipes/boundary-stress.ts +1 -2
- package/lib/recipes/country-balanced.ts +108 -102
- 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 +22 -31
- package/lib/recipes/po/box/cedex/recipe.ts +9 -7
- package/lib/recipes/po/box/cedex/sources.ts +2 -23
- 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 +61 -28
- package/lib/recipes/secondary.ts +295 -0
- package/lib/recipes/sources.ts +133 -4
- package/lib/recipes/street/affix.ts +17 -32
- package/lib/recipes/street/bare.ts +1 -3
- package/lib/recipes/street.ts +0 -1
- package/lib/recipes/sub/venue/context.ts +35 -9
- package/lib/recipes/sub/venue/sources.ts +55 -13
- package/lib/recipes/sub/venue.ts +69 -33
- package/lib/recipes/trailing-region.ts +0 -1
- package/lib/recipes/unit.ts +20 -9
- package/lib/recipes/venue.ts +0 -1
- package/lib/recipes.ts +6 -2
- package/lib/registers.ts +37 -0
- 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 +597 -0
- package/lib/source-register/effective-manifest.ts +42 -7
- 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 +21 -160
- package/lib/source-register.ts +11 -6
- package/lib/south-asia/recipes/register.ts +5 -5
- 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 +465 -154
- 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 +55 -7
- 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 +635 -0
- 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 +59 -19
- 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 +156 -0
- package/lib/us/state-country-codes.ts +25 -0
- package/lib/us/street-unit.ts +72 -0
- package/lib/us/tools/nad-skeletons.ts +395 -0
- 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 +270 -0
- package/lib/ve/recipes/reviewed-postcode-tail.ts +30 -7
- package/out/adapters/cordis/adapter.d.ts +8 -5
- package/out/adapters/cordis/adapter.d.ts.map +1 -1
- package/out/adapters/cordis/adapter.js +45 -14
- 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 +11 -1
- package/out/adapters/libpostal-dictionary.d.ts.map +1 -1
- package/out/adapters/libpostal-dictionary.js +22 -5
- 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 +26 -14
- package/out/adapters/osm/adapter.d.ts.map +1 -1
- package/out/adapters/osm/adapter.js +65 -29
- 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 +17 -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 +90 -0
- package/out/az/adapters/opendata/adapter.d.ts.map +1 -0
- package/out/az/adapters/opendata/adapter.js +277 -0
- package/out/az/adapters/opendata/adapter.js.map +1 -0
- 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 +64 -0
- package/out/bs/adapters/gbpa/adapter.d.ts.map +1 -0
- package/out/bs/adapters/gbpa/adapter.js +184 -0
- package/out/bs/adapters/gbpa/adapter.js.map +1 -0
- 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 +95 -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 +120 -76
- 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 +6 -0
- package/out/ee/adapters/ads/adapter.d.ts.map +1 -1
- package/out/ee/adapters/ads/adapter.js +17 -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 +63 -0
- package/out/fo/adapters/adressur/adapter.d.ts.map +1 -0
- package/out/fo/adapters/adressur/adapter.js +171 -0
- package/out/fo/adapters/adressur/adapter.js.map +1 -0
- 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 +17 -11
- package/out/gb/adapters/os-open/adapter.d.ts.map +1 -1
- package/out/gb/adapters/os-open/adapter.js +21 -13
- package/out/gb/adapters/os-open/adapter.js.map +1 -1
- package/out/gb/county.d.ts +30 -0
- package/out/gb/county.d.ts.map +1 -0
- package/out/gb/county.js +51 -0
- package/out/gb/county.js.map +1 -0
- 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 +21 -5
- package/out/gb/os-open/open/names.d.ts.map +1 -1
- package/out/gb/os-open/open/names.js +23 -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 +83 -0
- package/out/gu/adapters/bsp/adapter.d.ts.map +1 -0
- package/out/gu/adapters/bsp/adapter.js +338 -0
- package/out/gu/adapters/bsp/adapter.js.map +1 -0
- package/out/im/adapters/land-registry/adapter.d.ts +68 -0
- package/out/im/adapters/land-registry/adapter.d.ts.map +1 -0
- package/out/im/adapters/land-registry/adapter.js +257 -0
- package/out/im/adapters/land-registry/adapter.js.map +1 -0
- 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 +46 -8
- package/out/international/recipes/locale.d.ts.map +1 -1
- package/out/international/recipes/locale.js +164 -41
- 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 +69 -0
- package/out/li/adapters/llv/adapter.d.ts.map +1 -0
- package/out/li/adapters/llv/adapter.js +177 -0
- package/out/li/adapters/llv/adapter.js.map +1 -0
- 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 +11 -32
- 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 +91 -88
- 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 +3 -2
- package/out/recipes/intersection.d.ts.map +1 -1
- package/out/recipes/intersection.js +20 -27
- 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 +6 -6
- package/out/recipes/po/box/cedex/recipe.js.map +1 -1
- package/out/recipes/po/box/cedex/sources.d.ts +2 -45
- package/out/recipes/po/box/cedex/sources.d.ts.map +1 -1
- package/out/recipes/po/box/cedex/sources.js +0 -20
- package/out/recipes/po/box/cedex/sources.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 +45 -24
- package/out/recipes/scaffold.d.ts.map +1 -1
- package/out/recipes/scaffold.js +31 -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 +133 -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 +8 -23
- 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 +16 -3
- package/out/recipes/sub/venue/context.d.ts.map +1 -1
- package/out/recipes/sub/venue/context.js +31 -9
- package/out/recipes/sub/venue/context.js.map +1 -1
- package/out/recipes/sub/venue/sources.d.ts +42 -8
- package/out/recipes/sub/venue/sources.d.ts.map +1 -1
- package/out/recipes/sub/venue/sources.js +27 -7
- 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 +36 -22
- 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 +4 -0
- package/out/recipes/unit.d.ts.map +1 -1
- package/out/recipes/unit.js +7 -8
- 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 +37 -0
- package/out/registers.d.ts.map +1 -1
- package/out/registers.js +37 -0
- 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 +289 -0
- package/out/source-register/corpus-inputs.d.ts.map +1 -0
- package/out/source-register/corpus-inputs.js +317 -0
- package/out/source-register/corpus-inputs.js.map +1 -0
- package/out/source-register/effective-manifest.d.ts +3 -1
- package/out/source-register/effective-manifest.d.ts.map +1 -1
- package/out/source-register/effective-manifest.js +37 -5
- 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 +22 -150
- package/out/source-register/types.d.ts.map +1 -1
- package/out/source-register/types.js +17 -43
- 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 +5 -5
- 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 +62 -57
- package/out/tools/overlay/manifest.d.ts.map +1 -1
- package/out/tools/overlay/manifest.js +280 -106
- 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 +11 -1
- package/out/tools/source-register/build.d.ts.map +1 -1
- package/out/tools/source-register/build.js +28 -5
- 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 +198 -0
- package/out/tools/variety-sample.d.ts.map +1 -0
- package/out/tools/variety-sample.js +419 -0
- package/out/tools/variety-sample.js.map +1 -0
- 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 +81 -0
- package/out/us/adapters/usgov/nad/adapter.d.ts.map +1 -1
- package/out/us/adapters/usgov/nad/adapter.js +45 -17
- 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 +92 -0
- package/out/us/recipes/skeleton-sources.d.ts.map +1 -0
- package/out/us/recipes/skeleton-sources.js +121 -0
- package/out/us/recipes/skeleton-sources.js.map +1 -0
- 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 +120 -0
- package/out/us/tools/nad-skeletons.d.ts.map +1 -0
- package/out/us/tools/nad-skeletons.js +262 -0
- package/out/us/tools/nad-skeletons.js.map +1 -0
- 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 +64 -0
- package/out/uy/adapters/ide/adapter.d.ts.map +1 -0
- package/out/uy/adapters/ide/adapter.js +200 -0
- package/out/uy/adapters/ide/adapter.js.map +1 -0
- package/out/ve/recipes/reviewed-postcode-tail.d.ts +6 -2
- package/out/ve/recipes/reviewed-postcode-tail.d.ts.map +1 -1
- package/out/ve/recipes/reviewed-postcode-tail.js +16 -6
- package/out/ve/recipes/reviewed-postcode-tail.js.map +1 -1
- package/package.json +25 -19
- package/lib/recipes/unit/sources.ts +0 -44
- package/lib/tools/fetch/ppd.ts +0 -121
- 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/recipes/unit/sources.d.ts +0 -28
- package/out/recipes/unit/sources.d.ts.map +0 -1
- package/out/recipes/unit/sources.js +0 -30
- package/out/recipes/unit/sources.js.map +0 -1
- package/out/tools/fetch/ppd.d.ts +0 -15
- package/out/tools/fetch/ppd.d.ts.map +0 -1
- package/out/tools/fetch/ppd.js +0 -86
- package/out/tools/fetch/ppd.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
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
* @license AGPL-3.0
|
|
4
4
|
* @author Teffen Ellis, et al.
|
|
5
5
|
*
|
|
6
|
-
* Renders
|
|
6
|
+
* Renders hand-reviewed Venezuelan postcode facts in the `locality postcode, region` order.
|
|
7
|
+
*
|
|
8
|
+
* A fact is kept in the data file only when its citation reaches a register row whose elected decision permits
|
|
9
|
+
* transform and train. None does today, so the file holds no tuple and the recipe refuses to run.
|
|
7
10
|
*/
|
|
8
11
|
|
|
9
12
|
import { readLocalJSONFile } from "@mailwoman/core/fs/readers"
|
|
@@ -23,8 +26,6 @@ import { SurfaceOrigin } from "#types"
|
|
|
23
26
|
*/
|
|
24
27
|
export const REVIEWED_POSTCODE_TAIL_SOURCE = defaultRecipeSource("synth-reviewed-postcode-tail")
|
|
25
28
|
|
|
26
|
-
const REVIEWED_TUPLE_COUNT = 4
|
|
27
|
-
|
|
28
29
|
interface ReviewedTupleProvenance {
|
|
29
30
|
publisher: string
|
|
30
31
|
url: string
|
|
@@ -51,6 +52,12 @@ export interface ReviewedPostcodeTuple {
|
|
|
51
52
|
interface ReviewedPostcodeTupleFile {
|
|
52
53
|
version: string
|
|
53
54
|
reviewedAt: string
|
|
55
|
+
/**
|
|
56
|
+
* The tuple count the file declares.
|
|
57
|
+
*
|
|
58
|
+
* A tuple lost in an edit makes the read fail rather than shrinking the output.
|
|
59
|
+
*/
|
|
60
|
+
tupleCount: number
|
|
54
61
|
tuples: ReviewedPostcodeTuple[]
|
|
55
62
|
}
|
|
56
63
|
|
|
@@ -80,15 +87,24 @@ export function defaultReviewedPostcodeTuplePath(): string {
|
|
|
80
87
|
/**
|
|
81
88
|
* Reads and validates the reviewed tuples.
|
|
82
89
|
*
|
|
83
|
-
* @throws When the file does not hold
|
|
90
|
+
* @throws When the file does not hold the expected number of complete, unique,
|
|
91
|
+
* reviewed tuples as its `tupleCount` declares.
|
|
84
92
|
*/
|
|
85
93
|
export async function readReviewedPostcodeTuples(
|
|
86
94
|
path: PathBuilderLike = defaultReviewedPostcodeTuplePath()
|
|
87
95
|
): Promise<ReviewedPostcodeTuple[]> {
|
|
88
96
|
const document = await readLocalJSONFile<ReviewedPostcodeTupleFile>(path)
|
|
89
97
|
|
|
90
|
-
if (
|
|
91
|
-
|
|
98
|
+
if (
|
|
99
|
+
!document.version ||
|
|
100
|
+
!ISO_DATE.test(document.reviewedAt) ||
|
|
101
|
+
!Number.isInteger(document.tupleCount) ||
|
|
102
|
+
document.tuples.length !== document.tupleCount
|
|
103
|
+
) {
|
|
104
|
+
throw new Error(
|
|
105
|
+
`reviewed postcode tuple file must declare a version, a review date, and a tupleCount matching its ` +
|
|
106
|
+
`${document.tuples?.length ?? 0} tuples`
|
|
107
|
+
)
|
|
92
108
|
}
|
|
93
109
|
|
|
94
110
|
const ids = new Set<string>()
|
|
@@ -177,6 +193,14 @@ export const reviewedPostcodeTailRecipe: CorpusRecipe = {
|
|
|
177
193
|
mode: "generate",
|
|
178
194
|
async run(opts, write) {
|
|
179
195
|
const tuples = await readReviewedPostcodeTuples(opts.input)
|
|
196
|
+
|
|
197
|
+
if (!tuples.length) {
|
|
198
|
+
throw new Error(
|
|
199
|
+
"reviewed-postcode-tail has no tuple to render: no reviewed fact's citation reaches a register row " +
|
|
200
|
+
"permitting transform and train"
|
|
201
|
+
)
|
|
202
|
+
}
|
|
203
|
+
|
|
180
204
|
let emitted = 0
|
|
181
205
|
let skipped = 0
|
|
182
206
|
|
|
@@ -191,7 +215,6 @@ export const reviewedPostcodeTailRecipe: CorpusRecipe = {
|
|
|
191
215
|
locale: tuple.locale,
|
|
192
216
|
source: REVIEWED_POSTCODE_TAIL_SOURCE,
|
|
193
217
|
source_id: sourceID,
|
|
194
|
-
corpus_version: "0.11.0",
|
|
195
218
|
license: `Synthetic rendering of reviewed postal facts — ${tuple.provenance.publisher}; source terms recorded in reviewed-ve-postcode-tuples.json`,
|
|
196
219
|
}
|
|
197
220
|
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
* 2. **The participant register's `SURNAME Given` casing.** `BUCKENHUSKES Herbert Johannes`: an
|
|
43
43
|
* upper-case run followed by title-case words that are all personal names, one of them a given
|
|
44
44
|
* name, for a surname the dictionary lacks. 5 records.
|
|
45
|
-
* 3. **A sole-trader legal form.** German `e.K.`, `e.Kfm.` and `e.Kfr.`, and `Inh.` (owner), in
|
|
46
|
-
* name or the short name, as in `Melina Bucher e.Kfr.`. 3 records.
|
|
45
|
+
* 3. **A sole-trader legal form.** German `e.K.`, `e.Kfm.` and `e.Kfr.`, and `Inh.` (owner), in either
|
|
46
|
+
* the name or the short name, as in `Melina Bucher e.Kfr.`. 3 records.
|
|
47
47
|
*
|
|
48
48
|
* Neither name rule fires on a name holding a word that is a country's name, so `ERICSSON FRANCE` and
|
|
49
49
|
* `IDEMIA Public Security France` are admitted.
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
*
|
|
68
68
|
* A country whose codex `layoutForCountry` is `null` has no rendering to write the row in.
|
|
69
69
|
* The row is refused with {@linkcode CORDISRefusal.CountryNoLayout} rather than rendered in another
|
|
70
|
-
* country's order
|
|
70
|
+
* country's order.
|
|
71
71
|
*
|
|
72
72
|
* ## The street line
|
|
73
73
|
*
|
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
* The adapter honors `opts.limit`, `opts.signal` and `opts.country`.
|
|
124
124
|
*/
|
|
125
125
|
import { type PathBuilderLike } from "path-ts";
|
|
126
|
-
import { type SplitStreetLine } from "#adapters/street
|
|
126
|
+
import { type SplitStreetLine } from "#adapters/street/line";
|
|
127
|
+
import { type UnitSplitter } from "#adapters/street/unit";
|
|
127
128
|
import { type CanonicalRow, type CorpusAdapter } from "#types";
|
|
128
129
|
/**
|
|
129
130
|
* Registry id for this adapter.
|
|
@@ -296,7 +297,7 @@ export declare function cordisCountryCode(value: string | null | undefined): str
|
|
|
296
297
|
*
|
|
297
298
|
* Exported because the refusal reasons are the measurement this adapter is checked by.
|
|
298
299
|
*/
|
|
299
|
-
export declare function readCORDISRecord(record: CORDISOrganizationRecord, lexicon: PersonNameLexicon): CORDISReading;
|
|
300
|
+
export declare function readCORDISRecord(record: CORDISOrganizationRecord, lexicon: PersonNameLexicon, units: UnitSplitter): CORDISReading;
|
|
300
301
|
/**
|
|
301
302
|
* One distinct published record and what it yielded.
|
|
302
303
|
*/
|
|
@@ -317,6 +318,8 @@ export interface CORDISRecordReading {
|
|
|
317
318
|
export declare function readCORDISRecords(inputPath: PathBuilderLike, lexicon: PersonNameLexicon, options?: {
|
|
318
319
|
signal?: AbortSignal;
|
|
319
320
|
onDuplicate?: () => void;
|
|
321
|
+
onUnbalancedQuote?: () => void;
|
|
322
|
+
streetIndex?: PathBuilderLike | null;
|
|
320
323
|
}): AsyncGenerator<CORDISRecordReading>;
|
|
321
324
|
export declare function createCORDISAdapter(): CorpusAdapter;
|
|
322
325
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../lib/adapters/cordis/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2HG;AAQH,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,SAAS,CAAA;AAM3D,OAAO,EAA4C,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../lib/adapters/cordis/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2HG;AAQH,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,SAAS,CAAA;AAM3D,OAAO,EAA4C,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACtG,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAG7E,OAAO,EAGN,KAAK,YAAY,EACjB,KAAK,aAAa,EAGlB,MAAM,QAAQ,CAAA;AAEf;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,WAAW,CAAA;AAEzC;;GAEG;AACH,eAAO,MAAM,cAAc,cAAc,CAAA;AAEzC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,8EAAyE,CAAA;AAExG;;GAEG;AACH,eAAO,MAAM,0BAA0B,qBAAqB,CAAA;AAE5D;;;;;GAKG;AACH,e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F;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC/B,MAAM,EAAE,wBAAwB,EAChC,OAAO,EAAE,iBAAiB,EAC1B,KAAK,EAAE,YAAY,GACjB,aAAa,CA8Ff;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAA;IACzC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAA;CAC/B;AAED;;;;;;;;;GASG;AACH,wBAAuB,iBAAiB,CACvC,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,iBAAiB,EAC1B,OAAO,GAAE;IACR,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC9B,WAAW,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;CAC/B,GACJ,cAAc,CAAC,mBAAmB,CAAC,CAwCrC;AAwED,wBAAgB,mBAAmB,IAAI,aAAa,CA6DnD;AAED;;GAEG;AACH,eAAO,MAAM,aAAa,eAAwB,CAAA"}
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
* 2. **The participant register's `SURNAME Given` casing.** `BUCKENHUSKES Herbert Johannes`: an
|
|
43
43
|
* upper-case run followed by title-case words that are all personal names, one of them a given
|
|
44
44
|
* name, for a surname the dictionary lacks. 5 records.
|
|
45
|
-
* 3. **A sole-trader legal form.** German `e.K.`, `e.Kfm.` and `e.Kfr.`, and `Inh.` (owner), in
|
|
46
|
-
* name or the short name, as in `Melina Bucher e.Kfr.`. 3 records.
|
|
45
|
+
* 3. **A sole-trader legal form.** German `e.K.`, `e.Kfm.` and `e.Kfr.`, and `Inh.` (owner), in either
|
|
46
|
+
* the name or the short name, as in `Melina Bucher e.Kfr.`. 3 records.
|
|
47
47
|
*
|
|
48
48
|
* Neither name rule fires on a name holding a word that is a country's name, so `ERICSSON FRANCE` and
|
|
49
49
|
* `IDEMIA Public Security France` are admitted.
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
*
|
|
68
68
|
* A country whose codex `layoutForCountry` is `null` has no rendering to write the row in.
|
|
69
69
|
* The row is refused with {@linkcode CORDISRefusal.CountryNoLayout} rather than rendered in another
|
|
70
|
-
* country's order
|
|
70
|
+
* country's order.
|
|
71
71
|
*
|
|
72
72
|
* ## The street line
|
|
73
73
|
*
|
|
@@ -129,12 +129,14 @@ import { CountryISO2 } from "@mailwoman/codex/country/codes";
|
|
|
129
129
|
import { matchCountry } from "@mailwoman/codex/country/country";
|
|
130
130
|
import { readZipEntry } from "@mailwoman/core/fs/zip";
|
|
131
131
|
import { PathBuilder } from "path-ts";
|
|
132
|
-
import { CSVSpliterator } from "spliterator";
|
|
132
|
+
import { CSVSpliterator, TextSpliterator } from "spliterator";
|
|
133
133
|
import { Globerator } from "spliterator/node/fs";
|
|
134
134
|
import { loadLibpostalDictionary } from "#adapters/libpostal-dictionary";
|
|
135
135
|
import { stableSourceID } from "#adapters/source-id";
|
|
136
|
-
import { splitStreetLine, splitTrailingStreetLine } from "#adapters/street
|
|
136
|
+
import { splitStreetLine, splitTrailingStreetLine } from "#adapters/street/line";
|
|
137
|
+
import { createUnitSplitter } from "#adapters/street/unit";
|
|
137
138
|
import { SourceRegister } from "#registers";
|
|
139
|
+
import { streetIndexOpener } from "#street-index/reader";
|
|
138
140
|
import { AddressRole, countDropped, SurfaceOrigin, } from "#types";
|
|
139
141
|
/**
|
|
140
142
|
* Registry id for this adapter.
|
|
@@ -257,7 +259,7 @@ const streetOrderMemo = new Map();
|
|
|
257
259
|
*/
|
|
258
260
|
export function streetOrderForCountry(country) {
|
|
259
261
|
const memo = streetOrderMemo.get(country);
|
|
260
|
-
if (memo
|
|
262
|
+
if (memo)
|
|
261
263
|
return memo;
|
|
262
264
|
const claim = conventionClaimForCountry(ConventionClaimID.HouseNumberPrecedesStreet, country);
|
|
263
265
|
const stances = claim?.observations.map((observation) => observation.stance) ?? [];
|
|
@@ -428,7 +430,7 @@ export function cordisCountryCode(value) {
|
|
|
428
430
|
*
|
|
429
431
|
* Exported because the refusal reasons are the measurement this adapter is checked by.
|
|
430
432
|
*/
|
|
431
|
-
export function readCORDISRecord(record, lexicon) {
|
|
433
|
+
export function readCORDISRecord(record, lexicon, units) {
|
|
432
434
|
const country = cordisCountryCode(record.country);
|
|
433
435
|
if (!country)
|
|
434
436
|
return { refused: CORDISRefusal.CountryNotISO, country: null };
|
|
@@ -448,7 +450,10 @@ export function readCORDISRecord(record, lexicon) {
|
|
|
448
450
|
}
|
|
449
451
|
const streetLine = fieldValue(record.street);
|
|
450
452
|
if (streetLine) {
|
|
451
|
-
|
|
453
|
+
// A unit at the end of the line (`BD SAINT-JACQUES BATIMENT B`) comes off first,
|
|
454
|
+
// so its identifier is never read as the house number.
|
|
455
|
+
const lineUnit = units.split(streetLine, { country, locality, postcode: fieldValue(record.postCode) });
|
|
456
|
+
const split = splitCORDISStreetLine(lineUnit?.street ?? streetLine, streetOrderForCountry(country));
|
|
452
457
|
if (split && "refused" in split)
|
|
453
458
|
return { refused: split.refused, country };
|
|
454
459
|
if (split?.house_number) {
|
|
@@ -457,6 +462,9 @@ export function readCORDISRecord(record, lexicon) {
|
|
|
457
462
|
if (split) {
|
|
458
463
|
components.street = split.street;
|
|
459
464
|
}
|
|
465
|
+
if (split && lineUnit) {
|
|
466
|
+
components.unit = lineUnit.unit;
|
|
467
|
+
}
|
|
460
468
|
}
|
|
461
469
|
const postcode = fieldValue(record.postCode);
|
|
462
470
|
if (postcode && !/\d/u.test(postcode)) {
|
|
@@ -477,7 +485,7 @@ export function readCORDISRecord(record, lexicon) {
|
|
|
477
485
|
// Han-script line, with no separator between them.
|
|
478
486
|
const rendered = formatAddressRow(components, country, {
|
|
479
487
|
singleLine: true,
|
|
480
|
-
script: scriptOfComponents(components),
|
|
488
|
+
script: scriptOfComponents(components, country),
|
|
481
489
|
});
|
|
482
490
|
if (!rendered)
|
|
483
491
|
return { refused: CORDISRefusal.Unrenderable, country };
|
|
@@ -498,7 +506,6 @@ export function readCORDISRecord(record, lexicon) {
|
|
|
498
506
|
country,
|
|
499
507
|
source: CORDIS_ADAPTER_ID,
|
|
500
508
|
source_id: stableSourceID(CORDIS_ADAPTER_ID, aligned),
|
|
501
|
-
corpus_version: "",
|
|
502
509
|
license: CORDIS_LICENSE,
|
|
503
510
|
},
|
|
504
511
|
discarded,
|
|
@@ -516,10 +523,11 @@ export function readCORDISRecord(record, lexicon) {
|
|
|
516
523
|
*/
|
|
517
524
|
export async function* readCORDISRecords(inputPath, lexicon, options = {}) {
|
|
518
525
|
const seen = new Set();
|
|
526
|
+
const units = await createUnitSplitter({ streetIndex: streetIndexOpener(options.streetIndex) });
|
|
519
527
|
for (const source of await cordisSources(inputPath)) {
|
|
520
528
|
if (options.signal?.aborted)
|
|
521
529
|
return;
|
|
522
|
-
const records = CSVSpliterator.fromAsync(source.archive ? readZipEntry(source.path, CORDIS_ORGANIZATION_MEMBER) : source.path, { normalizeKeys: false, columnDelimiter: ";" });
|
|
530
|
+
const records = CSVSpliterator.fromAsync(balancedQuoteLines(source.archive ? readZipEntry(source.path, CORDIS_ORGANIZATION_MEMBER) : source.path, options.onUnbalancedQuote), { normalizeKeys: false, columnDelimiter: ";" });
|
|
523
531
|
let first = true;
|
|
524
532
|
for await (const record of records) {
|
|
525
533
|
if (options.signal?.aborted)
|
|
@@ -536,8 +544,29 @@ export async function* readCORDISRecords(inputPath, lexicon, options = {}) {
|
|
|
536
544
|
continue;
|
|
537
545
|
}
|
|
538
546
|
seen.add(key);
|
|
539
|
-
yield { record, reading: readCORDISRecord(record, lexicon) };
|
|
547
|
+
yield { record, reading: readCORDISRecord(record, lexicon, units) };
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* The lines of one CORDIS file, without each line that holds an odd number of `"`,
|
|
553
|
+
* re-encoded for the CSV reader.
|
|
554
|
+
*
|
|
555
|
+
* Every CORDIS field is quoted, and every record fits on one line.
|
|
556
|
+
* A line with an odd quote count therefore holds an undoubled quote inside a value, as FP7's `HOLIDES`
|
|
557
|
+
* participant `AIRBUS DS LIMITED` does (`"http://www.eads.com/eads/int/en.html#/story-2"";`).
|
|
558
|
+
*
|
|
559
|
+
* The CSV reader would read every later record of the file as part of that one open value.
|
|
560
|
+
* This reader leaves the one line out and calls `onUnbalanced` for it.
|
|
561
|
+
*/
|
|
562
|
+
async function* balancedQuoteLines(source, onUnbalanced) {
|
|
563
|
+
const encoder = new TextEncoder();
|
|
564
|
+
for await (const line of TextSpliterator.fromAsync(source)) {
|
|
565
|
+
if ((line.match(/"/gu)?.length ?? 0) % 2 === 1) {
|
|
566
|
+
onUnbalanced?.();
|
|
567
|
+
continue;
|
|
540
568
|
}
|
|
569
|
+
yield encoder.encode(`${line}\n`);
|
|
541
570
|
}
|
|
542
571
|
}
|
|
543
572
|
/**
|
|
@@ -578,18 +607,20 @@ export function createCORDISAdapter() {
|
|
|
578
607
|
surface: SurfaceOrigin.Rendered,
|
|
579
608
|
description: "CORDIS organization files (FP7, Horizon 2020, Horizon Europe): the registered addresses of EU research-programme participants.",
|
|
580
609
|
async *rows(opts) {
|
|
581
|
-
const requested = opts.country ? opts.country.trim().toUpperCase() :
|
|
610
|
+
const requested = opts.country ? opts.country.trim().toUpperCase() : null;
|
|
582
611
|
const lexicon = await loadPersonNameLexicon();
|
|
583
612
|
const written = new Set();
|
|
584
613
|
let emitted = 0;
|
|
585
614
|
const readings = readCORDISRecords(opts.inputPath, lexicon, {
|
|
586
615
|
signal: opts.signal,
|
|
587
616
|
onDuplicate: () => countDropped(opts, "row:duplicate-record"),
|
|
617
|
+
onUnbalancedQuote: () => countDropped(opts, "row:unbalanced-quote"),
|
|
618
|
+
streetIndex: opts.streetIndex ?? null,
|
|
588
619
|
});
|
|
589
620
|
for await (const { reading } of readings) {
|
|
590
621
|
if (opts.signal?.aborted)
|
|
591
622
|
break;
|
|
592
|
-
if (opts.limit
|
|
623
|
+
if (typeof opts.limit === "number" && emitted >= opts.limit)
|
|
593
624
|
break;
|
|
594
625
|
if ("refused" in reading) {
|
|
595
626
|
if (!requested || reading.country === requested) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.js","sourceRoot":"","sources":["../../../lib/adapters/cordis/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2HG;AAEH,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAA;AACjG,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACtF,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAC9F,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAwB,MAAM,SAAS,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAwB,MAAM,uBAAuB,CAAA;AACtG,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC3C,OAAO,EACN,WAAW,EAIX,YAAY,EACZ,aAAa,GACb,MAAM,QAAQ,CAAA;AAEf;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,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AI,CAAC,MAAM,EAAE,OAAO;oBAAE,MAAK;gBAE/B,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAO,IAAI,IAAI,CAAC,KAAK;oBAAE,MAAK;gBAElE,IAAI,SAAS,IAAI,OAAO,EAAE,CAAC;oBAC1B,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;wBACjD,YAAY,CAAC,IAAI,EAAE,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;oBAC7C,CAAC;oBAED,SAAQ;gBACT,CAAC;gBAED,MAAM,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAA;gBAE5B,IAAI,SAAS,IAAI,GAAG,CAAC,OAAO,KAAK,SAAS;oBAAE,SAAQ;gBAEpD,KAAK,MAAM,GAAG,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;oBACrC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;gBACxB,CAAC;gBAED,MAAM,GAAG,GAAG,GAAG,GAAG,CAAC,OAAO,SAAS,GAAG,CAAC,GAAG,EAAE,CAAA;gBAE5C,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;oBACtB,YAAY,CAAC,IAAI,EAAE,uBAAuB,CAAC,CAAA;oBAE3C,SAAQ;gBACT,CAAC;gBAED,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;gBAEhB,MAAM,GAAG,CAAA;gBAET,OAAO,EAAE,CAAA;YACV,CAAC;QACF,CAAC;KACD,CAAA;AACF,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,EAAE,CAAA"}
|
|
@@ -24,7 +24,7 @@ import type { CanonicalRow } from "#types";
|
|
|
24
24
|
* corpus-level decision the runner does not take today.
|
|
25
25
|
*
|
|
26
26
|
* An augmented row is never deduplicated against the row it was fanned from, because
|
|
27
|
-
* `
|
|
27
|
+
* `augmentation.name` joins the key when present and each augmentation variant therefore survives.
|
|
28
28
|
*/
|
|
29
29
|
export declare function canonicalDedupKey(row: CanonicalRow): string;
|
|
30
30
|
//# sourceMappingURL=dedup-key.d.ts.map
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
* corpus-level decision the runner does not take today.
|
|
24
24
|
*
|
|
25
25
|
* An augmented row is never deduplicated against the row it was fanned from, because
|
|
26
|
-
* `
|
|
26
|
+
* `augmentation.name` joins the key when present and each augmentation variant therefore survives.
|
|
27
27
|
*/
|
|
28
28
|
export function canonicalDedupKey(row) {
|
|
29
29
|
const sortedKeys = Object.keys(row.components).toSorted();
|
|
30
30
|
const compPart = sortedKeys.map((k) => `${k}=${row.components[k] ?? ""}`).join("\u001F");
|
|
31
31
|
const rawNorm = row.raw.toLowerCase().replaceAll(/\s+/g, " ").trim();
|
|
32
|
-
const
|
|
33
|
-
return `${row.country}\u001E${rawNorm}\u001E${compPart}${
|
|
32
|
+
const augmentationPart = row.augmentation ? `\u001E${row.augmentation.name}` : "";
|
|
33
|
+
return `${row.country}\u001E${rawNorm}\u001E${compPart}${augmentationPart}`;
|
|
34
34
|
}
|
|
35
35
|
//# sourceMappingURL=dedup-key.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dedup-key.js","sourceRoot":"","sources":["../../lib/adapters/dedup-key.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,iBAAiB,CAAC,GAAiB;IAClD,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAoB,CAAA;IAC3E,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IACxF,MAAM,OAAO,GAAG,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAA;IACpE,MAAM,
|
|
1
|
+
{"version":3,"file":"dedup-key.js","sourceRoot":"","sources":["../../lib/adapters/dedup-key.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,iBAAiB,CAAC,GAAiB;IAClD,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAoB,CAAA;IAC3E,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IACxF,MAAM,OAAO,GAAG,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAA;IACpE,MAAM,gBAAgB,GAAG,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;IAEjF,OAAO,GAAG,GAAG,CAAC,OAAO,SAAS,OAAO,SAAS,QAAQ,GAAG,gBAAgB,EAAE,CAAA;AAC5E,CAAC"}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* Region and country names come from `admin1CodesASCII.txt` and `countryInfo.txt` in the same directory. When a
|
|
9
9
|
* file is missing, rows omit that component.
|
|
10
10
|
*/
|
|
11
|
+
import { PathBuilder } from "path-ts";
|
|
11
12
|
import { type CorpusAdapter } from "#types";
|
|
12
13
|
/**
|
|
13
14
|
* The source ID on rows from this adapter.
|
|
@@ -33,6 +34,16 @@ export declare const GEONAMES_MAIN_COLUMNS: {
|
|
|
33
34
|
readonly admin1: 10;
|
|
34
35
|
readonly population: 14;
|
|
35
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* Loads region names keyed by `<CC>.<admin1>`.
|
|
39
|
+
* Returns an empty map when the file is missing.
|
|
40
|
+
*/
|
|
41
|
+
export declare function loadAdmin1(dir: PathBuilder): Promise<Map<string, string>>;
|
|
42
|
+
/**
|
|
43
|
+
* Loads country names keyed by ISO code.
|
|
44
|
+
* Returns an empty map when the file is missing.
|
|
45
|
+
*/
|
|
46
|
+
export declare function loadCountries(dir: PathBuilder): Promise<Map<string, string>>;
|
|
36
47
|
/**
|
|
37
48
|
* Creates the GeoNames populated-place adapter.
|
|
38
49
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../lib/adapters/geonames/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../lib/adapters/geonames/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAIrC,OAAO,EAAuD,KAAK,aAAa,EAAiB,MAAM,QAAQ,CAAA;AAE/G;;GAEG;AACH,eAAO,MAAM,mBAAmB,aAAa,CAAA;AAC7C;;GAEG;AACH,eAAO,MAAM,wBAAwB,cAAc,CAAA;AAEnD;;GAEG;AACH,eAAO,MAAM,qBAAqB;aACjC,SAAS,EAAE,CAAC;aACZ,IAAI,EAAE,CAAC;aACP,SAAS,EAAE,CAAC;aACZ,cAAc,EAAE,CAAC;aACjB,QAAQ,EAAE,CAAC;aACX,SAAS,EAAE,CAAC;aACZ,YAAY,EAAE,CAAC;aACf,WAAW,EAAE,CAAC;aACd,OAAO,EAAE,CAAC;aACV,MAAM,EAAE,EAAE;aACV,UAAU,EAAE,EAAE;CACL,CAAA;AASV;;;GAGG;AACH,wBAAsB,UAAU,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAa/E;AAED;;;GAGG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAgBlF;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,aAAa,CAqFrD;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,eAA0B,CAAA"}
|
|
@@ -48,7 +48,7 @@ const NON_CURRENT_PPL = new Set(["PPLH", "PPLQ", "PPLW", "PPLCH"]);
|
|
|
48
48
|
* Loads region names keyed by `<CC>.<admin1>`.
|
|
49
49
|
* Returns an empty map when the file is missing.
|
|
50
50
|
*/
|
|
51
|
-
async function loadAdmin1(dir) {
|
|
51
|
+
export async function loadAdmin1(dir) {
|
|
52
52
|
const map = new Map();
|
|
53
53
|
const fp = dir("admin1CodesASCII.txt");
|
|
54
54
|
if (!(await pathExists(fp)))
|
|
@@ -64,7 +64,7 @@ async function loadAdmin1(dir) {
|
|
|
64
64
|
* Loads country names keyed by ISO code.
|
|
65
65
|
* Returns an empty map when the file is missing.
|
|
66
66
|
*/
|
|
67
|
-
async function loadCountries(dir) {
|
|
67
|
+
export async function loadCountries(dir) {
|
|
68
68
|
const map = new Map();
|
|
69
69
|
const fp = dir("countryInfo.txt");
|
|
70
70
|
if (!(await pathExists(fp)))
|
|
@@ -99,7 +99,7 @@ export function createGeonamesAdapter() {
|
|
|
99
99
|
for await (const rec of rows) {
|
|
100
100
|
if (opts.signal?.aborted)
|
|
101
101
|
break;
|
|
102
|
-
if (opts.limit
|
|
102
|
+
if (typeof opts.limit === "number" && emitted >= opts.limit)
|
|
103
103
|
break;
|
|
104
104
|
if (rec[COL.featureClass] !== "P")
|
|
105
105
|
continue;
|
|
@@ -136,7 +136,7 @@ export function createGeonamesAdapter() {
|
|
|
136
136
|
variants.push({ slot: "l", comp: { locality }, raw: locality });
|
|
137
137
|
}
|
|
138
138
|
for (const v of variants) {
|
|
139
|
-
if (opts.limit
|
|
139
|
+
if (typeof opts.limit === "number" && emitted >= opts.limit)
|
|
140
140
|
break;
|
|
141
141
|
const aligned = componentsPresentIn(v.comp, v.raw);
|
|
142
142
|
if (!Object.keys(aligned).length)
|
|
@@ -150,7 +150,6 @@ export function createGeonamesAdapter() {
|
|
|
150
150
|
country: cc,
|
|
151
151
|
source: GEONAMES_ADAPTER_ID,
|
|
152
152
|
source_id: sourceID,
|
|
153
|
-
corpus_version: "",
|
|
154
153
|
license: GEONAMES_DEFAULT_LICENSE,
|
|
155
154
|
};
|
|
156
155
|
emitted++;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.js","sourceRoot":"","sources":["../../../lib/adapters/geonames/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC3C,OAAO,EAAE,WAAW,EAA8D,aAAa,EAAE,MAAM,QAAQ,CAAA;AAE/G;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,UAAU,CAAA;AAC7C;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,WAAW,CAAA;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC,SAAS,EAAE,CAAC;IACZ,IAAI,EAAE,CAAC;IACP,SAAS,EAAE,CAAC;IACZ,cAA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AAC,MAAM,eAAe,GAAG,qBAAqB,EAAE,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @copyright Sister Software
|
|
3
|
+
* @license AGPL-3.0
|
|
4
|
+
* @author Teffen Ellis, et al.
|
|
5
|
+
* @file Reads GeoNames physical features (seas and undersea terrain, water, landforms, parks and vegetation) from a
|
|
6
|
+
* country dump and emits rows that label each feature's name as `venue`.
|
|
7
|
+
*
|
|
8
|
+
* A search for `Mariana Trench` or `Lake Tahoe, California` asks for a place that has a name and no address.
|
|
9
|
+
* The corpus held no such rows before this source (#2897), so the parser had never read a bare physical-feature
|
|
10
|
+
* name. Each feature renders bare and with its region where GeoNames records one, and one feature in
|
|
11
|
+
* {@linkcode GEONAMES_FEATURES_WITH_COUNTRY_DIVISOR} also renders with its own country.
|
|
12
|
+
*
|
|
13
|
+
* The dump holds 5,076,239 such features in 16,318 (country, feature code) cells on 2026-11-02, and 991,667 of them
|
|
14
|
+
* are streams (feature code `STM`). A cell keeps at most {@linkcode GEONAMES_FEATURES_PER_CELL} features, chosen by the lowest hash of their
|
|
15
|
+
* geonameid, so every feature code of every country is represented and no one class dominates.
|
|
16
|
+
*/
|
|
17
|
+
import { type CorpusAdapter } from "#types";
|
|
18
|
+
/**
|
|
19
|
+
* The source ID on rows from this adapter.
|
|
20
|
+
*/
|
|
21
|
+
export declare const GEONAMES_FEATURES_ADAPTER_ID = "geonames-features";
|
|
22
|
+
/**
|
|
23
|
+
* The GeoNames feature classes this adapter reads: undersea (`U`), water (`H`),
|
|
24
|
+
* terrain (`T`), parks and areas (`L`) and vegetation (`V`).
|
|
25
|
+
*/
|
|
26
|
+
export declare const GEONAMES_FEATURE_CLASSES: ReadonlySet<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The most features one (country, feature code) cell contributes.
|
|
29
|
+
*
|
|
30
|
+
* At 25 the dump yields 176,158 features, about 528,000 rows, against 95,086
|
|
31
|
+
* features at 10 and 272,765 at 50.
|
|
32
|
+
*/
|
|
33
|
+
export declare const GEONAMES_FEATURES_PER_CELL = 25;
|
|
34
|
+
/**
|
|
35
|
+
* The divisor of the features that render with their country: a feature renders with it
|
|
36
|
+
* when the hash of its geonameid is divisible by this value.
|
|
37
|
+
*
|
|
38
|
+
* `<name>, <country>` is the shape of a locality query as well as a feature query, and the
|
|
39
|
+
* corpus holds far fewer locality–country rows than this source writes feature–country rows.
|
|
40
|
+
* With every feature rendered with its country, v0.8.11 held 171,416 `venue -> country`
|
|
41
|
+
* base rows against 58,892 `locality -> country`, and models trained on it read
|
|
42
|
+
* `Mount Washington, United States` as a venue.
|
|
43
|
+
*
|
|
44
|
+
* One in four brings the feature rows below the locality rows in all.
|
|
45
|
+
* The bare and region renderings are unchanged.
|
|
46
|
+
*/
|
|
47
|
+
export declare const GEONAMES_FEATURES_WITH_COUNTRY_DIVISOR = 4;
|
|
48
|
+
/**
|
|
49
|
+
* Creates the GeoNames physical-feature adapter.
|
|
50
|
+
*/
|
|
51
|
+
export declare function createGeonamesFeaturesAdapter(): CorpusAdapter;
|
|
52
|
+
/**
|
|
53
|
+
* The adapter instance registered with the corpus builder.
|
|
54
|
+
*/
|
|
55
|
+
export declare const geonamesFeaturesAdapter: CorpusAdapter;
|
|
56
|
+
//# sourceMappingURL=adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../lib/adapters/geonames/features/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAiBH,OAAO,EAAuD,KAAK,aAAa,EAAiB,MAAM,QAAQ,CAAA;AAE/G;;GAEG;AACH,eAAO,MAAM,4BAA4B,sBAAsB,CAAA;AAE/D;;;GAGG;AACH,eAAO,MAAM,wBAAwB,EAAE,WAAW,CAAC,MAAM,CAAsC,CAAA;AAE/F;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,KAAK,CAAA;AAE5C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sCAAsC,IAAI,CAAA;AAkDvD;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,aAAa,CAmF7D;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,eAAkC,CAAA"}
|