@mailwoman/core 5.9.0 → 5.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/chromium-i18n/ssl-address/AC.json +2 -2
- package/data/chromium-i18n/ssl-address/AD.json +8 -8
- package/data/chromium-i18n/ssl-address/AE.json +8 -8
- package/data/chromium-i18n/ssl-address/AF.json +2 -2
- package/data/chromium-i18n/ssl-address/AG.json +1 -1
- package/data/chromium-i18n/ssl-address/AI.json +2 -2
- package/data/chromium-i18n/ssl-address/AL.json +2 -2
- package/data/chromium-i18n/ssl-address/AM.json +8 -8
- package/data/chromium-i18n/ssl-address/AO.json +1 -1
- package/data/chromium-i18n/ssl-address/AQ.json +1 -1
- package/data/chromium-i18n/ssl-address/AR.json +8 -8
- package/data/chromium-i18n/ssl-address/AS.json +6 -6
- package/data/chromium-i18n/ssl-address/AT.json +3 -3
- package/data/chromium-i18n/ssl-address/AU.json +13 -13
- package/data/chromium-i18n/ssl-address/AW.json +1 -1
- package/data/chromium-i18n/ssl-address/AX.json +4 -4
- package/data/chromium-i18n/ssl-address/AZ.json +3 -3
- package/data/chromium-i18n/ssl-address/BA.json +2 -2
- package/data/chromium-i18n/ssl-address/BB.json +3 -3
- package/data/chromium-i18n/ssl-address/BD.json +3 -3
- package/data/chromium-i18n/ssl-address/BE.json +3 -3
- package/data/chromium-i18n/ssl-address/BF.json +1 -6
- package/data/chromium-i18n/ssl-address/BG.json +3 -3
- package/data/chromium-i18n/ssl-address/BH.json +3 -3
- package/data/chromium-i18n/ssl-address/BI.json +1 -1
- package/data/chromium-i18n/ssl-address/BJ.json +1 -1
- package/data/chromium-i18n/ssl-address/BL.json +4 -4
- package/data/chromium-i18n/ssl-address/BM.json +3 -3
- package/data/chromium-i18n/ssl-address/BN.json +3 -3
- package/data/chromium-i18n/ssl-address/BO.json +1 -1
- package/data/chromium-i18n/ssl-address/BQ.json +1 -1
- package/data/chromium-i18n/ssl-address/BR.json +13 -13
- package/data/chromium-i18n/ssl-address/BS.json +5 -5
- package/data/chromium-i18n/ssl-address/BT.json +3 -3
- package/data/chromium-i18n/ssl-address/BV.json +1 -1
- package/data/chromium-i18n/ssl-address/BW.json +1 -1
- package/data/chromium-i18n/ssl-address/BY.json +4 -4
- package/data/chromium-i18n/ssl-address/BZ.json +1 -1
- package/data/chromium-i18n/ssl-address/CA.json +9 -9
- package/data/chromium-i18n/ssl-address/CC.json +3 -3
- package/data/chromium-i18n/ssl-address/CD.json +1 -1
- package/data/chromium-i18n/ssl-address/CF.json +1 -1
- package/data/chromium-i18n/ssl-address/CG.json +1 -1
- package/data/chromium-i18n/ssl-address/CH.json +5 -5
- package/data/chromium-i18n/ssl-address/CI.json +1 -6
- package/data/chromium-i18n/ssl-address/CK.json +1 -1
- package/data/chromium-i18n/ssl-address/CL.json +9 -9
- package/data/chromium-i18n/ssl-address/CM.json +1 -1
- package/data/chromium-i18n/ssl-address/CN.json +14 -14
- package/data/chromium-i18n/ssl-address/CO.json +8 -4
- package/data/chromium-i18n/ssl-address/CR.json +3 -3
- package/data/chromium-i18n/ssl-address/CU.json +5 -5
- package/data/chromium-i18n/ssl-address/CV.json +6 -6
- package/data/chromium-i18n/ssl-address/CW.json +1 -1
- package/data/chromium-i18n/ssl-address/CX.json +3 -3
- package/data/chromium-i18n/ssl-address/CY.json +2 -2
- package/data/chromium-i18n/ssl-address/CZ.json +3 -3
- package/data/chromium-i18n/ssl-address/DE.json +3 -3
- package/data/chromium-i18n/ssl-address/DJ.json +1 -1
- package/data/chromium-i18n/ssl-address/DK.json +3 -3
- package/data/chromium-i18n/ssl-address/DM.json +1 -1
- package/data/chromium-i18n/ssl-address/DO.json +3 -3
- package/data/chromium-i18n/ssl-address/DZ.json +1 -8
- package/data/chromium-i18n/ssl-address/EC.json +4 -4
- package/data/chromium-i18n/ssl-address/EE.json +5 -4
- package/data/chromium-i18n/ssl-address/EG.json +8 -8
- package/data/chromium-i18n/ssl-address/EH.json +2 -2
- package/data/chromium-i18n/ssl-address/ER.json +1 -1
- package/data/chromium-i18n/ssl-address/ES.json +9 -9
- package/data/chromium-i18n/ssl-address/ET.json +1 -8
- package/data/chromium-i18n/ssl-address/FI.json +4 -4
- package/data/chromium-i18n/ssl-address/FJ.json +1 -1
- package/data/chromium-i18n/ssl-address/FK.json +3 -3
- package/data/chromium-i18n/ssl-address/FM.json +6 -6
- package/data/chromium-i18n/ssl-address/FO.json +4 -4
- package/data/chromium-i18n/ssl-address/FR.json +5 -5
- package/data/chromium-i18n/ssl-address/GA.json +1 -1
- package/data/chromium-i18n/ssl-address/GB.json +5 -5
- package/data/chromium-i18n/ssl-address/GD.json +1 -1
- package/data/chromium-i18n/ssl-address/GE.json +3 -3
- package/data/chromium-i18n/ssl-address/GF.json +4 -4
- package/data/chromium-i18n/ssl-address/GG.json +4 -4
- package/data/chromium-i18n/ssl-address/GH.json +1 -1
- package/data/chromium-i18n/ssl-address/GI.json +2 -2
- package/data/chromium-i18n/ssl-address/GL.json +2 -2
- package/data/chromium-i18n/ssl-address/GM.json +1 -1
- package/data/chromium-i18n/ssl-address/GN.json +1 -8
- package/data/chromium-i18n/ssl-address/GP.json +4 -4
- package/data/chromium-i18n/ssl-address/GQ.json +1 -1
- package/data/chromium-i18n/ssl-address/GR.json +3 -3
- package/data/chromium-i18n/ssl-address/GS.json +3 -3
- package/data/chromium-i18n/ssl-address/GT.json +2 -2
- package/data/chromium-i18n/ssl-address/GU.json +5 -5
- package/data/chromium-i18n/ssl-address/GW.json +2 -2
- package/data/chromium-i18n/ssl-address/GY.json +1 -1
- package/data/chromium-i18n/ssl-address/HK.json +8 -8
- package/data/chromium-i18n/ssl-address/HM.json +3 -3
- package/data/chromium-i18n/ssl-address/HN.json +3 -2
- package/data/chromium-i18n/ssl-address/HR.json +3 -3
- package/data/chromium-i18n/ssl-address/HT.json +3 -3
- package/data/chromium-i18n/ssl-address/HU.json +4 -4
- package/data/chromium-i18n/ssl-address/ID.json +7 -6
- package/data/chromium-i18n/ssl-address/IE.json +9 -9
- package/data/chromium-i18n/ssl-address/IL.json +3 -3
- package/data/chromium-i18n/ssl-address/IM.json +4 -4
- package/data/chromium-i18n/ssl-address/IN.json +11 -11
- package/data/chromium-i18n/ssl-address/IO.json +3 -3
- package/data/chromium-i18n/ssl-address/IQ.json +3 -3
- package/data/chromium-i18n/ssl-address/IR.json +7 -7
- package/data/chromium-i18n/ssl-address/IS.json +3 -3
- package/data/chromium-i18n/ssl-address/IT.json +10 -10
- package/data/chromium-i18n/ssl-address/JE.json +4 -4
- package/data/chromium-i18n/ssl-address/JM.json +6 -6
- package/data/chromium-i18n/ssl-address/JO.json +1 -8
- package/data/chromium-i18n/ssl-address/JP.json +11 -11
- package/data/chromium-i18n/ssl-address/KE.json +1 -8
- package/data/chromium-i18n/ssl-address/KG.json +1 -8
- package/data/chromium-i18n/ssl-address/KH.json +4 -3
- package/data/chromium-i18n/ssl-address/KI.json +2 -2
- package/data/chromium-i18n/ssl-address/KM.json +1 -1
- package/data/chromium-i18n/ssl-address/KN.json +5 -5
- package/data/chromium-i18n/ssl-address/KP.json +6 -6
- package/data/chromium-i18n/ssl-address/KR.json +15 -15
- package/data/chromium-i18n/ssl-address/KW.json +2 -2
- package/data/chromium-i18n/ssl-address/KY.json +7 -7
- package/data/chromium-i18n/ssl-address/KZ.json +2 -2
- package/data/chromium-i18n/ssl-address/LA.json +2 -2
- package/data/chromium-i18n/ssl-address/LB.json +2 -2
- package/data/chromium-i18n/ssl-address/LC.json +1 -1
- package/data/chromium-i18n/ssl-address/LI.json +3 -3
- package/data/chromium-i18n/ssl-address/LK.json +3 -3
- package/data/chromium-i18n/ssl-address/LR.json +1 -8
- package/data/chromium-i18n/ssl-address/LS.json +1 -8
- package/data/chromium-i18n/ssl-address/LT.json +5 -4
- package/data/chromium-i18n/ssl-address/LU.json +3 -3
- package/data/chromium-i18n/ssl-address/LV.json +5 -4
- package/data/chromium-i18n/ssl-address/LY.json +1 -1
- package/data/chromium-i18n/ssl-address/MA.json +2 -2
- package/data/chromium-i18n/ssl-address/MC.json +3 -3
- package/data/chromium-i18n/ssl-address/MD.json +3 -3
- package/data/chromium-i18n/ssl-address/ME.json +2 -2
- package/data/chromium-i18n/ssl-address/MF.json +4 -4
- package/data/chromium-i18n/ssl-address/MG.json +1 -8
- package/data/chromium-i18n/ssl-address/MH.json +6 -6
- package/data/chromium-i18n/ssl-address/MK.json +2 -2
- package/data/chromium-i18n/ssl-address/ML.json +1 -1
- package/data/chromium-i18n/ssl-address/MM.json +1 -8
- package/data/chromium-i18n/ssl-address/MN.json +3 -3
- package/data/chromium-i18n/ssl-address/MO.json +1 -8
- package/data/chromium-i18n/ssl-address/MP.json +6 -6
- package/data/chromium-i18n/ssl-address/MQ.json +4 -4
- package/data/chromium-i18n/ssl-address/MR.json +1 -1
- package/data/chromium-i18n/ssl-address/MS.json +1 -1
- package/data/chromium-i18n/ssl-address/MT.json +4 -4
- package/data/chromium-i18n/ssl-address/MU.json +3 -3
- package/data/chromium-i18n/ssl-address/MV.json +3 -3
- package/data/chromium-i18n/ssl-address/MW.json +1 -1
- package/data/chromium-i18n/ssl-address/MX.json +12 -12
- package/data/chromium-i18n/ssl-address/MY.json +12 -12
- package/data/chromium-i18n/ssl-address/MZ.json +5 -5
- package/data/chromium-i18n/ssl-address/NA.json +8 -1
- package/data/chromium-i18n/ssl-address/NC.json +4 -4
- package/data/chromium-i18n/ssl-address/NE.json +1 -8
- package/data/chromium-i18n/ssl-address/NF.json +3 -3
- package/data/chromium-i18n/ssl-address/NG.json +8 -8
- package/data/chromium-i18n/ssl-address/NI.json +8 -8
- package/data/chromium-i18n/ssl-address/NL.json +4 -4
- package/data/chromium-i18n/ssl-address/NO.json +3 -3
- package/data/chromium-i18n/ssl-address/NP.json +3 -3
- package/data/chromium-i18n/ssl-address/NR.json +5 -5
- package/data/chromium-i18n/ssl-address/NU.json +1 -1
- package/data/chromium-i18n/ssl-address/NZ.json +3 -3
- package/data/chromium-i18n/ssl-address/OM.json +2 -2
- package/data/chromium-i18n/ssl-address/PA.json +1 -7
- package/data/chromium-i18n/ssl-address/PE.json +7 -7
- package/data/chromium-i18n/ssl-address/PF.json +4 -4
- package/data/chromium-i18n/ssl-address/PG.json +2 -2
- package/data/chromium-i18n/ssl-address/PH.json +7 -7
- package/data/chromium-i18n/ssl-address/PK.json +4 -4
- package/data/chromium-i18n/ssl-address/PL.json +3 -3
- package/data/chromium-i18n/ssl-address/PM.json +3 -3
- package/data/chromium-i18n/ssl-address/PN.json +3 -3
- package/data/chromium-i18n/ssl-address/PR.json +6 -6
- package/data/chromium-i18n/ssl-address/PS.json +1 -1
- package/data/chromium-i18n/ssl-address/PT.json +3 -3
- package/data/chromium-i18n/ssl-address/PW.json +6 -6
- package/data/chromium-i18n/ssl-address/PY.json +2 -2
- package/data/chromium-i18n/ssl-address/QA.json +1 -1
- package/data/chromium-i18n/ssl-address/RE.json +4 -4
- package/data/chromium-i18n/ssl-address/RO.json +6 -5
- package/data/chromium-i18n/ssl-address/RS.json +3 -3
- package/data/chromium-i18n/ssl-address/RU.json +12 -12
- package/data/chromium-i18n/ssl-address/RW.json +1 -1
- package/data/chromium-i18n/ssl-address/SA.json +2 -2
- package/data/chromium-i18n/ssl-address/SB.json +1 -1
- package/data/chromium-i18n/ssl-address/SC.json +2 -2
- package/data/chromium-i18n/ssl-address/SD.json +3 -3
- package/data/chromium-i18n/ssl-address/SE.json +5 -5
- package/data/chromium-i18n/ssl-address/SG.json +3 -3
- package/data/chromium-i18n/ssl-address/SH.json +3 -3
- package/data/chromium-i18n/ssl-address/SI.json +3 -3
- package/data/chromium-i18n/ssl-address/SJ.json +3 -3
- package/data/chromium-i18n/ssl-address/SK.json +3 -3
- package/data/chromium-i18n/ssl-address/SL.json +1 -1
- package/data/chromium-i18n/ssl-address/SM.json +3 -3
- package/data/chromium-i18n/ssl-address/SN.json +2 -2
- package/data/chromium-i18n/ssl-address/SO.json +8 -8
- package/data/chromium-i18n/ssl-address/SR.json +4 -4
- package/data/chromium-i18n/ssl-address/SS.json +1 -1
- package/data/chromium-i18n/ssl-address/ST.json +1 -1
- package/data/chromium-i18n/ssl-address/SV.json +9 -9
- package/data/chromium-i18n/ssl-address/SX.json +1 -1
- package/data/chromium-i18n/ssl-address/SY.json +1 -6
- package/data/chromium-i18n/ssl-address/SZ.json +4 -4
- package/data/chromium-i18n/ssl-address/TA.json +2 -2
- package/data/chromium-i18n/ssl-address/TC.json +3 -3
- package/data/chromium-i18n/ssl-address/TD.json +1 -1
- package/data/chromium-i18n/ssl-address/TF.json +1 -1
- package/data/chromium-i18n/ssl-address/TG.json +1 -1
- package/data/chromium-i18n/ssl-address/TH.json +8 -8
- package/data/chromium-i18n/ssl-address/TJ.json +2 -2
- package/data/chromium-i18n/ssl-address/TK.json +1 -1
- package/data/chromium-i18n/ssl-address/TL.json +1 -1
- package/data/chromium-i18n/ssl-address/TM.json +1 -8
- package/data/chromium-i18n/ssl-address/TN.json +3 -3
- package/data/chromium-i18n/ssl-address/TO.json +1 -1
- package/data/chromium-i18n/ssl-address/TR.json +8 -8
- package/data/chromium-i18n/ssl-address/TT.json +1 -1
- package/data/chromium-i18n/ssl-address/TV.json +5 -5
- package/data/chromium-i18n/ssl-address/TW.json +13 -12
- package/data/chromium-i18n/ssl-address/TZ.json +2 -2
- package/data/chromium-i18n/ssl-address/UA.json +11 -11
- package/data/chromium-i18n/ssl-address/UG.json +1 -1
- package/data/chromium-i18n/ssl-address/UM.json +6 -6
- package/data/chromium-i18n/ssl-address/US.json +11 -11
- package/data/chromium-i18n/ssl-address/UY.json +7 -7
- package/data/chromium-i18n/ssl-address/UZ.json +4 -4
- package/data/chromium-i18n/ssl-address/VA.json +1 -8
- package/data/chromium-i18n/ssl-address/VC.json +3 -3
- package/data/chromium-i18n/ssl-address/VE.json +9 -9
- package/data/chromium-i18n/ssl-address/VG.json +2 -2
- package/data/chromium-i18n/ssl-address/VI.json +6 -6
- package/data/chromium-i18n/ssl-address/VN.json +8 -8
- package/data/chromium-i18n/ssl-address/VU.json +1 -1
- package/data/chromium-i18n/ssl-address/WF.json +3 -3
- package/data/chromium-i18n/ssl-address/WS.json +1 -1
- package/data/chromium-i18n/ssl-address/XK.json +1 -8
- package/data/chromium-i18n/ssl-address/YE.json +1 -1
- package/data/chromium-i18n/ssl-address/YT.json +3 -3
- package/data/chromium-i18n/ssl-address/ZA.json +3 -3
- package/data/chromium-i18n/ssl-address/ZM.json +1 -8
- package/data/chromium-i18n/ssl-address/ZW.json +1 -1
- package/out/api/headless.d.ts +7 -3
- package/out/api/headless.d.ts.map +1 -1
- package/out/api/headless.js +3 -4
- package/out/api/headless.js.map +1 -1
- package/out/api/index.d.ts +3 -3
- package/out/classification/Classification.d.ts +3 -3
- package/out/classification/CompositeClassifier.d.ts +3 -3
- package/out/classification/PhraseClassifier.d.ts +1 -1
- package/out/classification/SectionClassifier.d.ts +1 -1
- package/out/classification/WordClassifier.d.ts +1 -1
- package/out/classification/index.d.ts +7 -7
- package/out/classification/scheme.d.ts +1 -1
- package/out/coarse-placer/coarse-placer.d.ts +1 -1
- package/out/coarse-placer/tools/build-dataset.d.ts +18 -3
- package/out/coarse-placer/tools/build-dataset.d.ts.map +1 -1
- package/out/coarse-placer/tools/build-dataset.js +108 -111
- package/out/coarse-placer/tools/build-dataset.js.map +1 -1
- package/out/coarse-placer/tools/build-outlier-exposure.d.ts +18 -3
- package/out/coarse-placer/tools/build-outlier-exposure.d.ts.map +1 -1
- package/out/coarse-placer/tools/build-outlier-exposure.js +46 -52
- package/out/coarse-placer/tools/build-outlier-exposure.js.map +1 -1
- package/out/coarse-placer/tools/build-outlier-latin.d.ts +41 -1
- package/out/coarse-placer/tools/build-outlier-latin.d.ts.map +1 -1
- package/out/coarse-placer/tools/build-outlier-latin.js +74 -82
- package/out/coarse-placer/tools/build-outlier-latin.js.map +1 -1
- package/out/coarse-placer/tools/build-outlier-oa.d.ts +49 -1
- package/out/coarse-placer/tools/build-outlier-oa.d.ts.map +1 -1
- package/out/coarse-placer/tools/build-outlier-oa.js +100 -102
- package/out/coarse-placer/tools/build-outlier-oa.js.map +1 -1
- package/out/coarse-placer/tools/eval-latin-offmap.d.ts +30 -1
- package/out/coarse-placer/tools/eval-latin-offmap.d.ts.map +1 -1
- package/out/coarse-placer/tools/eval-latin-offmap.js +82 -83
- package/out/coarse-placer/tools/eval-latin-offmap.js.map +1 -1
- package/out/coarse-placer/tools/eval-openset.d.ts +23 -2
- package/out/coarse-placer/tools/eval-openset.d.ts.map +1 -1
- package/out/coarse-placer/tools/eval-openset.js +282 -287
- package/out/coarse-placer/tools/eval-openset.js.map +1 -1
- package/out/coarse-placer/tools/eval-quant-compare.d.ts +35 -1
- package/out/coarse-placer/tools/eval-quant-compare.d.ts.map +1 -1
- package/out/coarse-placer/tools/eval-quant-compare.js +87 -91
- package/out/coarse-placer/tools/eval-quant-compare.js.map +1 -1
- package/out/coarse-placer/tools/eval.d.ts +20 -2
- package/out/coarse-placer/tools/eval.d.ts.map +1 -1
- package/out/coarse-placer/tools/eval.js +104 -105
- package/out/coarse-placer/tools/eval.js.map +1 -1
- package/out/coarse-placer/tools/fnv-hash.d.ts +15 -0
- package/out/coarse-placer/tools/fnv-hash.d.ts.map +1 -0
- package/out/coarse-placer/tools/fnv-hash.js +22 -0
- package/out/coarse-placer/tools/fnv-hash.js.map +1 -0
- package/out/coarse-placer/tools/index.d.ts +23 -0
- package/out/coarse-placer/tools/index.d.ts.map +1 -0
- package/out/coarse-placer/tools/index.js +23 -0
- package/out/coarse-placer/tools/index.js.map +1 -0
- package/out/coarse-placer/tools/probe-frontier.d.ts +22 -3
- package/out/coarse-placer/tools/probe-frontier.d.ts.map +1 -1
- package/out/coarse-placer/tools/probe-frontier.js +92 -95
- package/out/coarse-placer/tools/probe-frontier.js.map +1 -1
- package/out/coarse-placer/tools/quantize.d.ts +34 -1
- package/out/coarse-placer/tools/quantize.d.ts.map +1 -1
- package/out/coarse-placer/tools/quantize.js +58 -60
- package/out/coarse-placer/tools/quantize.js.map +1 -1
- package/out/coarse-placer/tools/train.d.ts +25 -4
- package/out/coarse-placer/tools/train.d.ts.map +1 -1
- package/out/coarse-placer/tools/train.js +135 -137
- package/out/coarse-placer/tools/train.js.map +1 -1
- package/out/decoder/arbitrate-tree.d.ts +2 -2
- package/out/decoder/build-tree.d.ts +2 -2
- package/out/decoder/containment.d.ts +2 -2
- package/out/decoder/index.d.ts +12 -12
- package/out/decoder/proposals-to-tree.d.ts +2 -2
- package/out/decoder/resolve-proposal-overlaps.d.ts +1 -1
- package/out/decoder/serialize-json.d.ts +3 -3
- package/out/decoder/serialize-tuples.d.ts +2 -2
- package/out/decoder/serialize-xml.d.ts +1 -1
- package/out/decoder/types.d.ts +1 -1
- package/out/decoder/unknown-spans.d.ts +1 -1
- package/out/decoder/validate-tree.d.ts +2 -2
- package/out/env/index.d.ts +1 -0
- package/out/env/index.d.ts.map +1 -1
- package/out/env/schema.d.ts +1 -0
- package/out/env/schema.d.ts.map +1 -1
- package/out/env/schema.js +3 -2
- package/out/env/schema.js.map +1 -1
- package/out/errors/index.d.ts +1 -1
- package/out/filters/RelationshipFilter.d.ts.map +1 -1
- package/out/filters/RelationshipFilter.js.map +1 -1
- package/out/filters/index.d.ts +4 -4
- package/out/fs/node.d.ts +20 -0
- package/out/fs/node.d.ts.map +1 -0
- package/out/fs/node.js +33 -0
- package/out/fs/node.js.map +1 -0
- package/out/index.d.ts +11 -11
- package/out/kysley/client.d.ts +2 -2
- package/out/kysley/client.d.ts.map +1 -1
- package/out/kysley/client.js +1 -1
- package/out/kysley/client.js.map +1 -1
- package/out/kysley/dialect.d.ts +1 -1
- package/out/kysley/dialect.d.ts.map +1 -1
- package/out/kysley/dialect.js +1 -1
- package/out/kysley/dialect.js.map +1 -1
- package/out/kysley/driver.d.ts +1 -1
- package/out/kysley/driver.d.ts.map +1 -1
- package/out/lifecycle/index.d.ts +3 -3
- package/out/locale/index.d.ts +3 -3
- package/out/locale/locale.d.ts +1 -1
- package/out/locale/profiles/en-us.d.ts +1 -1
- package/out/locale/profiles/fr-fr.d.ts +1 -1
- package/out/locale/profiles/index.d.ts +3 -3
- package/out/locale/profiles/ja-jp.d.ts +1 -1
- package/out/locale/registry.d.ts +1 -1
- package/out/logging/index.d.ts +2 -2
- package/out/logging/shared.d.ts +1 -1
- package/out/logging/shared.js +1 -1
- package/out/parser/AddressParser.d.ts +1 -1
- package/out/parser/index.d.ts +3 -3
- package/out/parser/proposal-pipeline.d.ts +4 -4
- package/out/parser/solution-to-proposals.d.ts +2 -2
- package/out/pipeline/index.d.ts +8 -8
- package/out/pipeline/reconcile-lookups.d.ts +2 -2
- package/out/pipeline/reconcile.d.ts +3 -3
- package/out/pipeline/runtime-pipeline.d.ts +3 -3
- package/out/pipeline/span-logit-aggregation.d.ts +1 -1
- package/out/pipeline/types.d.ts +3 -3
- package/out/policy/defaults.d.ts +1 -1
- package/out/policy/from-config.d.ts +3 -3
- package/out/policy/index.d.ts +5 -5
- package/out/policy/input-shape-router.d.ts +1 -1
- package/out/policy/registry.d.ts +1 -1
- package/out/resolver/index.d.ts +2 -2
- package/out/resolver/types.d.ts +1 -1
- package/out/resources/LocaleIndex.d.ts +2 -2
- package/out/resources/ResourceMapCache.d.ts +1 -1
- package/out/resources/ResourceMapCache.d.ts.map +1 -1
- package/out/resources/ResourceMapCache.js +1 -1
- package/out/resources/ResourceMapCache.js.map +1 -1
- package/out/resources/git.d.ts.map +1 -1
- package/out/resources/git.js +1 -1
- package/out/resources/git.js.map +1 -1
- package/out/resources/index.d.ts +11 -12
- package/out/resources/index.d.ts.map +1 -1
- package/out/resources/index.js +0 -1
- package/out/resources/index.js.map +1 -1
- package/out/resources/languages/index.d.ts +2 -2
- package/out/resources/languages/types.gen.d.ts +1 -1
- package/out/resources/languages/types.gen.js +1 -1
- package/out/resources/libpostal.d.ts +1 -1
- package/out/resources/libpostal.d.ts.map +1 -1
- package/out/resources/libpostal.js +1 -1
- package/out/resources/libpostal.js.map +1 -1
- package/out/resources/whosonfirst/DataSourceCache.d.ts +1 -1
- package/out/resources/whosonfirst/PlacetypeDataSource.d.ts +1 -1
- package/out/resources/whosonfirst/index.d.ts +4 -4
- package/out/resources/whosonfirst/loader.d.ts +2 -2
- package/out/resources/whosonfirst/placetypes/Placetype.d.ts +1 -1
- package/out/resources/whosonfirst/placetypes/admin.d.ts +1 -1
- package/out/resources/whosonfirst/placetypes/graph.d.ts +2 -2
- package/out/resources/whosonfirst/placetypes/index.d.ts +6 -6
- package/out/resources/whosonfirst/placetypes/mermaid.d.ts +2 -2
- package/out/resources/whosonfirst/placetypes/tree.d.ts +2 -2
- package/out/scripting/index.d.ts +15 -0
- package/out/scripting/index.d.ts.map +1 -0
- package/out/scripting/index.js +34 -0
- package/out/scripting/index.js.map +1 -0
- package/out/{utils/scripting.d.ts → scripting/utils/index.d.ts} +6 -15
- package/out/scripting/utils/index.d.ts.map +1 -0
- package/out/{utils/scripting.js → scripting/utils/index.js} +15 -32
- package/out/scripting/utils/index.js.map +1 -0
- package/out/solver/HashMapSolver.d.ts +2 -2
- package/out/solver/Solution.d.ts +1 -1
- package/out/solver/SolutionMatch.d.ts +1 -1
- package/out/solver/index.d.ts +5 -5
- package/out/solver/mask.d.ts +1 -1
- package/out/solvers/index.d.ts +8 -8
- package/out/tokenization/Graph.d.ts +1 -1
- package/out/tokenization/Span.d.ts +5 -5
- package/out/tokenization/context.d.ts +1 -1
- package/out/tokenization/index.d.ts +5 -5
- package/out/tokenization/permutate.d.ts +1 -1
- package/out/tokenization/split.d.ts +1 -1
- package/out/{data/libpostal/resources-download.d.ts → tools/download-libpostal-resources.d.ts} +10 -5
- package/out/tools/download-libpostal-resources.d.ts.map +1 -0
- package/out/{data/libpostal/resources-download.js → tools/download-libpostal-resources.js} +20 -35
- package/out/tools/download-libpostal-resources.js.map +1 -0
- package/out/{data/chromium-i18n/ssl-address-download.d.ts → tools/download-ssl-address.d.ts} +17 -5
- package/out/tools/download-ssl-address.d.ts.map +1 -0
- package/out/{data/chromium-i18n/ssl-address-download.js → tools/download-ssl-address.js} +15 -29
- package/out/tools/download-ssl-address.js.map +1 -0
- package/out/tools/generate-language-types.d.ts +23 -0
- package/out/tools/generate-language-types.d.ts.map +1 -0
- package/out/tools/generate-language-types.js +137 -0
- package/out/tools/generate-language-types.js.map +1 -0
- package/out/tools/index.d.ts +13 -0
- package/out/tools/index.d.ts.map +1 -0
- package/out/tools/index.js +13 -0
- package/out/tools/index.js.map +1 -0
- package/out/types/classifier.d.ts +2 -2
- package/out/types/index.d.ts +3 -3
- package/out/types/mapping.d.ts +2 -2
- package/out/utils/hash.d.ts +13 -0
- package/out/utils/hash.d.ts.map +1 -0
- package/out/utils/hash.js +23 -0
- package/out/utils/hash.js.map +1 -0
- package/out/utils/index.d.ts +8 -6
- package/out/utils/index.d.ts.map +1 -1
- package/out/utils/index.js +5 -3
- package/out/utils/index.js.map +1 -1
- package/out/utils/jsonl.d.ts +16 -0
- package/out/utils/jsonl.d.ts.map +1 -0
- package/out/utils/jsonl.js +38 -0
- package/out/utils/jsonl.js.map +1 -0
- package/out/utils/stats.d.ts +19 -0
- package/out/utils/stats.d.ts.map +1 -0
- package/out/utils/stats.js +30 -0
- package/out/utils/stats.js.map +1 -0
- package/out/vitest.config.js +3 -3
- package/package.json +309 -42
- package/data/chromium-i18n/ssl-address-download.ts +0 -106
- package/data/libpostal/resources-download.ts +0 -118
- package/out/data/chromium-i18n/ssl-address-download.d.ts.map +0 -1
- package/out/data/chromium-i18n/ssl-address-download.js.map +0 -1
- package/out/data/libpostal/resources-download.d.ts.map +0 -1
- package/out/data/libpostal/resources-download.js.map +0 -1
- package/out/resources/fs.d.ts +0 -12
- package/out/resources/fs.d.ts.map +0 -1
- package/out/resources/fs.js +0 -13
- package/out/resources/fs.js.map +0 -1
- package/out/utils/scripting.d.ts.map +0 -1
- package/out/utils/scripting.js.map +0 -1
|
@@ -8,133 +8,67 @@
|
|
|
8
8
|
* After training, fits a single temperature on val (NLL minimization) for calibrated confidence.
|
|
9
9
|
* Writes a `meta.json` + `weights.bin` (Float32, row-major [class][feature]) artifact.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
* $MAILWOMAN_DATA_ROOT/coarse-placer/model]
|
|
13
|
-
* featurizer).
|
|
11
|
+
* Run: `mailwoman placer train [--epochs 12] [--lr 0.1] [--l2 1e-6] [--out
|
|
12
|
+
* $MAILWOMAN_DATA_ROOT/coarse-placer/model]`
|
|
14
13
|
*/
|
|
15
14
|
import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
16
15
|
import * as path from "node:path";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
options
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
if (y === undefined)
|
|
43
|
-
continue;
|
|
44
|
-
out.push({ x: Int32Array.from(featurize(r.raw)), y });
|
|
45
|
-
}
|
|
46
|
-
return out;
|
|
47
|
-
}
|
|
48
|
-
console.error("featurizing…");
|
|
49
|
-
const train = load("train");
|
|
50
|
-
const val = load("val");
|
|
51
|
-
console.error(`train ${train.length} val ${val.length} classes ${C} dim ${D}`);
|
|
52
|
-
const W = new Float32Array(C * D);
|
|
53
|
-
const b = new Float32Array(C);
|
|
54
|
-
// Deterministic LCG shuffle (no Math.random → reproducible runs).
|
|
55
|
-
let rng = 1234567;
|
|
56
|
-
const rand = () => (rng = (Math.imul(rng, 1103515245) + 12345) & 0x7fffffff) / 0x7fffffff;
|
|
57
|
-
function shuffle(arr) {
|
|
58
|
-
for (let i = arr.length - 1; i > 0; i--) {
|
|
59
|
-
const j = Math.floor(rand() * (i + 1));
|
|
60
|
-
[arr[i], arr[j]] = [arr[j], arr[i]];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
const logits = new Float32Array(C);
|
|
64
|
-
const probs = new Float32Array(C);
|
|
65
|
-
function forward(x) {
|
|
66
|
-
for (let c = 0; c < C; c++) {
|
|
67
|
-
let s = b[c];
|
|
68
|
-
const base = c * D;
|
|
69
|
-
for (let k = 0; k < x.length; k++) {
|
|
70
|
-
s += W[base + x[k]];
|
|
16
|
+
import { dataRootPath } from "../../utils/data-root.js";
|
|
17
|
+
import { repoRootPath } from "../../utils/repo.js";
|
|
18
|
+
import { COARSE_CLASSES, FEATURE_DIM, featurize } from "../featurize.js";
|
|
19
|
+
/** Coarse-placer SGD trainer — see the module doc. */
|
|
20
|
+
export async function trainCoarsePlacer(options = {}, report) {
|
|
21
|
+
const epochs = options.epochs ?? 12;
|
|
22
|
+
const lr0 = options.lr ?? 0.1;
|
|
23
|
+
const l2 = options.l2 ?? 0.000001;
|
|
24
|
+
const outDir = options.out || dataRootPath("coarse-placer", "model");
|
|
25
|
+
const dataDir = options.data || repoRootPath("data", "coarse-placer");
|
|
26
|
+
const C = COARSE_CLASSES.length;
|
|
27
|
+
const D = FEATURE_DIM;
|
|
28
|
+
const classIdx = new Map(COARSE_CLASSES.map((c, i) => [c, i]));
|
|
29
|
+
function load(split) {
|
|
30
|
+
const rows = readFileSync(path.join(dataDir, `${split}.jsonl`), "utf8")
|
|
31
|
+
.trim()
|
|
32
|
+
.split("\n")
|
|
33
|
+
.map((l) => JSON.parse(l));
|
|
34
|
+
// Precompute features once: Int32Array of active indices + label id per row.
|
|
35
|
+
const out = [];
|
|
36
|
+
for (const r of rows) {
|
|
37
|
+
const y = classIdx.get(r.country);
|
|
38
|
+
if (y === undefined)
|
|
39
|
+
continue;
|
|
40
|
+
out.push({ x: Int32Array.from(featurize(r.raw)), y });
|
|
71
41
|
}
|
|
72
|
-
|
|
42
|
+
return out;
|
|
73
43
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
44
|
+
report?.("featurizing…");
|
|
45
|
+
const train = load("train");
|
|
46
|
+
const val = load("val");
|
|
47
|
+
report?.(`train ${train.length} val ${val.length} classes ${C} dim ${D}`);
|
|
48
|
+
const W = new Float32Array(C * D);
|
|
49
|
+
const b = new Float32Array(C);
|
|
50
|
+
// Deterministic LCG shuffle (no Math.random → reproducible runs).
|
|
51
|
+
// NOTE(phase4b): deliberately NOT `SeededRandom.shuffle` — that's mulberry32; this LCG stream is
|
|
52
|
+
// what every shipped model was trained on, and swapping the RNG changes the shuffle order (a
|
|
53
|
+
// silent retrain-reproducibility break).
|
|
54
|
+
let rng = 1234567;
|
|
55
|
+
const rand = () => (rng = (Math.imul(rng, 1103515245) + 12345) & 0x7fffffff) / 0x7fffffff;
|
|
56
|
+
function shuffle(arr) {
|
|
57
|
+
for (let i = arr.length - 1; i > 0; i--) {
|
|
58
|
+
const j = Math.floor(rand() * (i + 1));
|
|
59
|
+
[arr[i], arr[j]] = [arr[j], arr[i]];
|
|
78
60
|
}
|
|
79
|
-
let sum = 0;
|
|
80
|
-
for (let c = 0; c < C; c++) {
|
|
81
|
-
const e = Math.exp(logits[c] - mx);
|
|
82
|
-
probs[c] = e;
|
|
83
|
-
sum += e;
|
|
84
61
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
function accuracy(set) {
|
|
90
|
-
let ok = 0;
|
|
91
|
-
for (const { x, y } of set) {
|
|
92
|
-
forward(x);
|
|
93
|
-
let top = 0;
|
|
94
|
-
for (let c = 1; c < C; c++)
|
|
95
|
-
if (probs[c] > probs[top]) {
|
|
96
|
-
top = c;
|
|
97
|
-
}
|
|
98
|
-
if (top === y) {
|
|
99
|
-
ok++;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
return ok / set.length;
|
|
103
|
-
}
|
|
104
|
-
const epochs = Number(args.epochs);
|
|
105
|
-
const lr0 = Number(args.lr);
|
|
106
|
-
const l2 = Number(args.l2);
|
|
107
|
-
for (let ep = 0; ep < epochs; ep++) {
|
|
108
|
-
shuffle(train);
|
|
109
|
-
const lr = lr0 / (1 + 0.5 * ep);
|
|
110
|
-
// simple decay
|
|
111
|
-
for (const { x, y } of train) {
|
|
112
|
-
forward(x);
|
|
113
|
-
for (let c = 0; c < C; c++) {
|
|
114
|
-
const g = probs[c] - (c === y ? 1 : 0);
|
|
115
|
-
if (g === 0 && c !== y)
|
|
116
|
-
continue;
|
|
117
|
-
b[c] = b[c] - lr * g;
|
|
118
|
-
const base = c * D;
|
|
119
|
-
for (let k = 0; k < x.length; k++) {
|
|
120
|
-
const idx = base + x[k];
|
|
121
|
-
W[idx] = W[idx] - lr * (g + l2 * W[idx]);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
console.error(`epoch ${ep + 1}/${epochs} lr=${lr.toFixed(4)} train_acc=${accuracy(train.slice(0, 5000)).toFixed(4)} val_acc=${accuracy(val).toFixed(4)}`);
|
|
126
|
-
}
|
|
127
|
-
// --- Temperature calibration: minimize val NLL over T by coarse-then-fine 1-D search. ---
|
|
128
|
-
function valNLL(T) {
|
|
129
|
-
let nll = 0;
|
|
130
|
-
for (const { x, y } of val) {
|
|
62
|
+
const logits = new Float32Array(C);
|
|
63
|
+
const probs = new Float32Array(C);
|
|
64
|
+
function forward(x) {
|
|
131
65
|
for (let c = 0; c < C; c++) {
|
|
132
66
|
let s = b[c];
|
|
133
67
|
const base = c * D;
|
|
134
68
|
for (let k = 0; k < x.length; k++) {
|
|
135
69
|
s += W[base + x[k]];
|
|
136
70
|
}
|
|
137
|
-
logits[c] = s
|
|
71
|
+
logits[c] = s;
|
|
138
72
|
}
|
|
139
73
|
let mx = -Infinity;
|
|
140
74
|
for (let c = 0; c < C; c++)
|
|
@@ -143,31 +77,95 @@ function valNLL(T) {
|
|
|
143
77
|
}
|
|
144
78
|
let sum = 0;
|
|
145
79
|
for (let c = 0; c < C; c++) {
|
|
146
|
-
|
|
80
|
+
const e = Math.exp(logits[c] - mx);
|
|
81
|
+
probs[c] = e;
|
|
82
|
+
sum += e;
|
|
83
|
+
}
|
|
84
|
+
for (let c = 0; c < C; c++) {
|
|
85
|
+
probs[c] = probs[c] / sum;
|
|
147
86
|
}
|
|
148
|
-
nll += -(logits[y] - mx - Math.log(sum));
|
|
149
87
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
88
|
+
function accuracy(set) {
|
|
89
|
+
let ok = 0;
|
|
90
|
+
for (const { x, y } of set) {
|
|
91
|
+
forward(x);
|
|
92
|
+
let top = 0;
|
|
93
|
+
for (let c = 1; c < C; c++)
|
|
94
|
+
if (probs[c] > probs[top]) {
|
|
95
|
+
top = c;
|
|
96
|
+
}
|
|
97
|
+
if (top === y) {
|
|
98
|
+
ok++;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return ok / set.length;
|
|
102
|
+
}
|
|
103
|
+
for (let ep = 0; ep < epochs; ep++) {
|
|
104
|
+
shuffle(train);
|
|
105
|
+
const lr = lr0 / (1 + 0.5 * ep);
|
|
106
|
+
// simple decay
|
|
107
|
+
for (const { x, y } of train) {
|
|
108
|
+
forward(x);
|
|
109
|
+
for (let c = 0; c < C; c++) {
|
|
110
|
+
const g = probs[c] - (c === y ? 1 : 0);
|
|
111
|
+
if (g === 0 && c !== y)
|
|
112
|
+
continue;
|
|
113
|
+
b[c] = b[c] - lr * g;
|
|
114
|
+
const base = c * D;
|
|
115
|
+
for (let k = 0; k < x.length; k++) {
|
|
116
|
+
const idx = base + x[k];
|
|
117
|
+
W[idx] = W[idx] - lr * (g + l2 * W[idx]);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
report?.(`epoch ${ep + 1}/${epochs} lr=${lr.toFixed(4)} train_acc=${accuracy(train.slice(0, 5000)).toFixed(4)} val_acc=${accuracy(val).toFixed(4)}`);
|
|
122
|
+
}
|
|
123
|
+
// --- Temperature calibration: minimize val NLL over T by coarse-then-fine 1-D search. ---
|
|
124
|
+
function valNLL(T) {
|
|
125
|
+
let nll = 0;
|
|
126
|
+
for (const { x, y } of val) {
|
|
127
|
+
for (let c = 0; c < C; c++) {
|
|
128
|
+
let s = b[c];
|
|
129
|
+
const base = c * D;
|
|
130
|
+
for (let k = 0; k < x.length; k++) {
|
|
131
|
+
s += W[base + x[k]];
|
|
132
|
+
}
|
|
133
|
+
logits[c] = s / T;
|
|
134
|
+
}
|
|
135
|
+
let mx = -Infinity;
|
|
136
|
+
for (let c = 0; c < C; c++)
|
|
137
|
+
if (logits[c] > mx) {
|
|
138
|
+
mx = logits[c];
|
|
139
|
+
}
|
|
140
|
+
let sum = 0;
|
|
141
|
+
for (let c = 0; c < C; c++) {
|
|
142
|
+
sum += Math.exp(logits[c] - mx);
|
|
143
|
+
}
|
|
144
|
+
nll += -(logits[y] - mx - Math.log(sum));
|
|
145
|
+
}
|
|
146
|
+
return nll / val.length;
|
|
147
|
+
}
|
|
148
|
+
let bestT = 1;
|
|
149
|
+
let bestNLL = Infinity;
|
|
150
|
+
for (let T = 0.5; T <= 4.01; T += 0.1) {
|
|
151
|
+
const nll = valNLL(T);
|
|
152
|
+
if (nll < bestNLL) {
|
|
153
|
+
bestNLL = nll;
|
|
154
|
+
bestT = T;
|
|
155
|
+
}
|
|
159
156
|
}
|
|
157
|
+
report?.(`temperature=${bestT.toFixed(2)} val_NLL=${bestNLL.toFixed(4)}`);
|
|
158
|
+
mkdirSync(outDir, { recursive: true });
|
|
159
|
+
writeFileSync(path.join(outDir, "meta.json"), JSON.stringify({
|
|
160
|
+
classes: [...COARSE_CLASSES],
|
|
161
|
+
featureDim: D,
|
|
162
|
+
temperature: bestT,
|
|
163
|
+
bias: [...b],
|
|
164
|
+
trainedAt: null,
|
|
165
|
+
trainRows: train.length,
|
|
166
|
+
}, null, 2));
|
|
167
|
+
writeFileSync(path.join(outDir, "weights.bin"), Buffer.from(W.buffer));
|
|
168
|
+
report?.(`→ ${outDir}/meta.json + weights.bin (${(W.byteLength / 1e6).toFixed(1)} MB fp32)`);
|
|
169
|
+
return { outDir, trainRows: train.length, valRows: val.length, temperature: bestT, valNLL: bestNLL };
|
|
160
170
|
}
|
|
161
|
-
console.error(`temperature=${bestT.toFixed(2)} val_NLL=${bestNLL.toFixed(4)}`);
|
|
162
|
-
mkdirSync(args.out, { recursive: true });
|
|
163
|
-
writeFileSync(path.join(args.out, "meta.json"), JSON.stringify({
|
|
164
|
-
classes: [...COARSE_CLASSES],
|
|
165
|
-
featureDim: D,
|
|
166
|
-
temperature: bestT,
|
|
167
|
-
bias: [...b],
|
|
168
|
-
trainedAt: null,
|
|
169
|
-
trainRows: train.length,
|
|
170
|
-
}, null, 2));
|
|
171
|
-
writeFileSync(path.join(args.out, "weights.bin"), Buffer.from(W.buffer));
|
|
172
|
-
console.error(`→ ${args.out}/meta.json + weights.bin (${(W.byteLength / 1e6).toFixed(1)} MB fp32)`);
|
|
173
171
|
//# sourceMappingURL=train.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"train.js","sourceRoot":"","sources":["../../../coarse-placer/tools/train.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"train.js","sourceRoot":"","sources":["../../../coarse-placer/tools/train.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAChE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AA8BxE,sDAAsD;AACtD,MAAM,CAAC,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V,CAAC;IACF,CAAC;IACD,MAAM,EAAE,CAAC,eAAe,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,aAAa,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;IAE1E,SAAS,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;IACtC,aAAa,CACZ,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,WAAW,CAAC,EAC9B,IAAI,CAAC,SAAS,CACb;QACC,OAAO,EAAE,CAAC,GAAG,cAAc,CAAC;QAC5B,UAAU,EAAE,CAAC;QACb,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC;QACZ,SAAS,EAAE,IAAI;QACf,SAAS,EAAE,KAAK,CAAC,MAAM;KACvB,EACD,IAAI,EACJ,CAAC,CACD,CACD,CAAA;IACD,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;IACtE,MAAM,EAAE,CAAC,KAAK,MAAM,6BAA6B,CAAC,CAAC,CAAC,UAAU,GAAG,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAA;IAE5F,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,CAAA;AACrG,CAAC"}
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
* only in street decomposition — is a **no-op**. The cost is losing pure-decomposition wins (low
|
|
32
32
|
* value); the gate re-run is the arbiter.
|
|
33
33
|
*/
|
|
34
|
-
import type { ClassificationProposal } from "../types/index.
|
|
35
|
-
import type { AddressTree } from "./types.
|
|
34
|
+
import type { ClassificationProposal } from "../types/index.ts";
|
|
35
|
+
import type { AddressTree } from "./types.ts";
|
|
36
36
|
/**
|
|
37
37
|
* Edit the nested neural argmax tree with the solved v0 (rule) parse under the `rule_preferred` route — relabel
|
|
38
38
|
* same-span tag disagreements toward rule, add rule-only non-overlapping missing tags. Containment-preserving (no
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* first. Source order is still preserved in the `start`/`end` fields, which the XML serializer
|
|
23
23
|
* exposes as attributes.
|
|
24
24
|
*/
|
|
25
|
-
import type { Calibrator } from "./calibration.
|
|
26
|
-
import type { AddressSystem, AddressTree, DecoderToken } from "./types.
|
|
25
|
+
import type { Calibrator } from "./calibration.ts";
|
|
26
|
+
import type { AddressSystem, AddressTree, DecoderToken } from "./types.ts";
|
|
27
27
|
/**
|
|
28
28
|
* Optional caller-supplied attribution stamped on every emitted node. The BIO stream comes from a single model, so
|
|
29
29
|
* there's no per-span variation — one source for the whole tree.
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
* don't break. When a distinct system map lands (Phase 6 JP), it slots in here with zero
|
|
28
28
|
* call-site churn. See `AddressSystem` in `./types.ts`.
|
|
29
29
|
*/
|
|
30
|
-
import type { ComponentTag } from "../types/component.
|
|
31
|
-
import type { AddressSystem } from "./types.
|
|
30
|
+
import type { ComponentTag } from "../types/component.ts";
|
|
31
|
+
import type { AddressSystem } from "./types.ts";
|
|
32
32
|
/** Preferred-parent ordering for each tag. Empty / missing = always root. */
|
|
33
33
|
export declare const WESTERN_PARENT_OF: Partial<Record<ComponentTag, ComponentTag[]>>;
|
|
34
34
|
/**
|
package/out/decoder/index.d.ts
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* @license AGPL-3.0
|
|
4
4
|
* @author Teffen Ellis, et al.
|
|
5
5
|
*/
|
|
6
|
-
export * from "./arbitrate-tree.
|
|
7
|
-
export * from "./build-tree.
|
|
8
|
-
export * from "./calibration.
|
|
9
|
-
export * from "./containment.
|
|
10
|
-
export * from "./proposals-to-tree.
|
|
11
|
-
export * from "./resolve-proposal-overlaps.
|
|
12
|
-
export * from "./serialize-json.
|
|
13
|
-
export * from "./serialize-tuples.
|
|
14
|
-
export * from "./serialize-xml.
|
|
15
|
-
export * from "./types.
|
|
16
|
-
export * from "./unknown-spans.
|
|
17
|
-
export * from "./validate-tree.
|
|
6
|
+
export * from "./arbitrate-tree.ts";
|
|
7
|
+
export * from "./build-tree.ts";
|
|
8
|
+
export * from "./calibration.ts";
|
|
9
|
+
export * from "./containment.ts";
|
|
10
|
+
export * from "./proposals-to-tree.ts";
|
|
11
|
+
export * from "./resolve-proposal-overlaps.ts";
|
|
12
|
+
export * from "./serialize-json.ts";
|
|
13
|
+
export * from "./serialize-tuples.ts";
|
|
14
|
+
export * from "./serialize-xml.ts";
|
|
15
|
+
export * from "./types.ts";
|
|
16
|
+
export * from "./unknown-spans.ts";
|
|
17
|
+
export * from "./validate-tree.ts";
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* For consumers that need containment back, re-tokenize the input and run the full decoder
|
|
14
14
|
* pipeline.
|
|
15
15
|
*/
|
|
16
|
-
import type { ClassificationProposal, ClassificationProposalSource, ComponentTag } from "../types/index.
|
|
17
|
-
import type { AddressTree } from "./types.
|
|
16
|
+
import type { ClassificationProposal, ClassificationProposalSource, ComponentTag } from "../types/index.ts";
|
|
17
|
+
import type { AddressTree } from "./types.ts";
|
|
18
18
|
export declare function proposalsToTree(raw: string, proposals: readonly ClassificationProposal[]): AddressTree;
|
|
19
19
|
/**
|
|
20
20
|
* The inverse of {@link proposalsToTree}: walk an `AddressTree` into a flat list of `ClassificationProposal`s (one per
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
*
|
|
38
38
|
* Pure module: reads only `span.{start,end}` + `confidence`. Safe to import anywhere.
|
|
39
39
|
*/
|
|
40
|
-
import type { ClassificationProposal } from "../types/index.
|
|
40
|
+
import type { ClassificationProposal } from "../types/index.ts";
|
|
41
41
|
/**
|
|
42
42
|
* Reduce a set of (possibly overlapping) arbitrated proposals to a coherent, non-overlapping set via greedy interval
|
|
43
43
|
* selection. The output is sorted by span start (the order {@link proposalsToTree} expects). Input is not mutated.
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
* entry per role from its `interpretations`, so `out.locality` still surfaces for a completed
|
|
13
13
|
* city-state. The shared span means every role gets the same `value`.
|
|
14
14
|
*/
|
|
15
|
-
import type { ComponentTag } from "../types/component.
|
|
16
|
-
import type { AddressTree } from "./types.
|
|
17
|
-
import { type UnknownSpan } from "./unknown-spans.
|
|
15
|
+
import type { ComponentTag } from "../types/component.ts";
|
|
16
|
+
import type { AddressTree } from "./types.ts";
|
|
17
|
+
import { type UnknownSpan } from "./unknown-spans.ts";
|
|
18
18
|
/** Options for {@link decodeAsJSON}. */
|
|
19
19
|
export interface SerializeJSONOpts {
|
|
20
20
|
/**
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* two `locality` entries for "Springfield, IL — sent from Springfield, MA"). Hierarchy is lost —
|
|
10
10
|
* use `decodeAsXML` when containment matters.
|
|
11
11
|
*/
|
|
12
|
-
import type { ComponentTag } from "../types/component.
|
|
13
|
-
import type { AddressTree } from "./types.
|
|
12
|
+
import type { ComponentTag } from "../types/component.ts";
|
|
13
|
+
import type { AddressTree } from "./types.ts";
|
|
14
14
|
/** Options for {@link decodeAsTuples}. */
|
|
15
15
|
export interface SerializeTuplesOpts {
|
|
16
16
|
/**
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
* n.nodeType === 3).map(n => n.nodeValue).join('').trim()` or XPath `text()` to get just the
|
|
30
30
|
* parent's own value. Documented in the package README.
|
|
31
31
|
*/
|
|
32
|
-
import type { AddressTree } from "./types.
|
|
32
|
+
import type { AddressTree } from "./types.ts";
|
|
33
33
|
export interface SerializeXMLOpts {
|
|
34
34
|
/** Pretty-print with line breaks and indentation. Default true. */
|
|
35
35
|
pretty?: boolean;
|
package/out/decoder/types.d.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* JSON / tuple projections deliberately do not surface provenance — libpostal compat is
|
|
26
26
|
* essential.
|
|
27
27
|
*/
|
|
28
|
-
import type { BIOLabel, ComponentTag } from "../types/component.
|
|
28
|
+
import type { BIOLabel, ComponentTag } from "../types/component.ts";
|
|
29
29
|
export type { BIOLabel, ComponentTag };
|
|
30
30
|
/**
|
|
31
31
|
* A single token emitted by the model, paired with its predicted label and confidence.
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* It mutates nothing and changes no serializer — wiring `unknown` into the JSON/XML/tuple contracts + the
|
|
13
13
|
* demo is the focused follow-up (#493). Byte-stable by construction, so it ships ahead of that work.
|
|
14
14
|
*/
|
|
15
|
-
import type { AddressTree } from "./types.
|
|
15
|
+
import type { AddressTree } from "./types.ts";
|
|
16
16
|
export interface UnknownSpan {
|
|
17
17
|
kind: "unknown";
|
|
18
18
|
value: string;
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* (postcode / locality / region / street / venue / po_box) are deliberately NOT checked: a
|
|
23
23
|
* postcode-only or city-only input is a degenerate-but-valid parse, not a violation.
|
|
24
24
|
*/
|
|
25
|
-
import type { ComponentTag } from "../types/component.
|
|
26
|
-
import type { AddressTree } from "./types.
|
|
25
|
+
import type { ComponentTag } from "../types/component.ts";
|
|
26
|
+
import type { AddressTree } from "./types.ts";
|
|
27
27
|
export interface TreeViolation {
|
|
28
28
|
type: "illegal-edge" | "stranded-dependent";
|
|
29
29
|
tag: ComponentTag;
|
package/out/env/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare const $public: {
|
|
|
23
23
|
NAD_MODE?: string | undefined;
|
|
24
24
|
NAD_URL?: string | undefined;
|
|
25
25
|
FS_END_OID?: string | undefined;
|
|
26
|
+
FS_START_OID?: string | undefined;
|
|
26
27
|
FS_CHUNK_SIZE?: string | undefined;
|
|
27
28
|
FS_PAGE_SIZE?: string | undefined;
|
|
28
29
|
FS_CONCURRENCY?: string | undefined;
|
package/out/env/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../env/index.ts"],"names":[],"mappings":"AA2BA;;;;;GAKG;AACH,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../env/index.ts"],"names":[],"mappings":"AA2BA;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAA;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;CAA4B,CAAA"}
|
package/out/env/schema.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare const PublicEnvSchema: z.ZodObject<{
|
|
|
26
26
|
NAD_MODE: z.ZodOptional<z.ZodString>;
|
|
27
27
|
NAD_URL: z.ZodOptional<z.ZodString>;
|
|
28
28
|
FS_END_OID: z.ZodOptional<z.ZodString>;
|
|
29
|
+
FS_START_OID: z.ZodOptional<z.ZodString>;
|
|
29
30
|
FS_CHUNK_SIZE: z.ZodOptional<z.ZodString>;
|
|
30
31
|
FS_PAGE_SIZE: z.ZodOptional<z.ZodString>;
|
|
31
32
|
FS_CONCURRENCY: z.ZodOptional<z.ZodString>;
|
package/out/env/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../env/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../env/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkF1B,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;iBAwB3B,CAAA"}
|
package/out/env/schema.js
CHANGED
|
@@ -22,12 +22,13 @@ export const PublicEnvSchema = z.object({
|
|
|
22
22
|
MAILWOMAN_BATCH_MAX: z.coerce.number().int().positive().default(1000),
|
|
23
23
|
// The gazetteer/model data root (`core/utils/data-root.ts`, `scripts/copy-weights.ts`).
|
|
24
24
|
MAILWOMAN_DATA_ROOT: z.string().optional(),
|
|
25
|
-
// Corpus source-fetch
|
|
25
|
+
// Corpus source-fetch tools (`corpus/src/tools/fetch/*` — env knobs are now command flags; these remain for compat). Callers do their own numeric/boolean parsing on these,
|
|
26
26
|
// so they stay raw strings — the schema only gates which keys surface, not how they're coerced.
|
|
27
27
|
OUT_ROOT: z.string().optional(),
|
|
28
28
|
NAD_MODE: z.string().optional(),
|
|
29
29
|
NAD_URL: z.string().optional(),
|
|
30
30
|
FS_END_OID: z.string().optional(),
|
|
31
|
+
FS_START_OID: z.string().optional(),
|
|
31
32
|
FS_CHUNK_SIZE: z.string().optional(),
|
|
32
33
|
FS_PAGE_SIZE: z.string().optional(),
|
|
33
34
|
FS_CONCURRENCY: z.string().optional(),
|
|
@@ -95,7 +96,7 @@ export const PrivateEnvSchema = z.object({
|
|
|
95
96
|
RCLONE_S3_ENDPOINT: z.string().optional(),
|
|
96
97
|
RCLONE_S3_ACCESS_KEY_ID: z.string().optional(),
|
|
97
98
|
RCLONE_S3_SECRET_ACCESS_KEY: z.string().optional(),
|
|
98
|
-
// OpenAddresses batch-download API token (`corpus/
|
|
99
|
+
// OpenAddresses batch-download API token (`corpus/src/tools/fetch/openaddresses.ts`).
|
|
99
100
|
OA_BATCH_TOKEN: z.string().optional(),
|
|
100
101
|
// npm 2FA OTP for the release publish flow (`scripts/publish-workspace.ts`).
|
|
101
102
|
RELEASE_IT_WORKSPACES_OTP: z.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AAE;IACpC,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAE5C,wDAAwD;IACxD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAExC,uEAAuE;IACvE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAElD,sFAAsF;IACtF,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAErC,6EAA6E;IAC7E,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
|
package/out/errors/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipFilter.d.ts","sourceRoot":"","sources":["../../filters/RelationshipFilter.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACN,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,QAAQ,EACR,KAAK,MAAM,EACX,KAAK,aAAa,EAElB,MAAM,iBAAiB,CAAA;AAExB,qBAAa,kBAAmB,YAAW,MAAM;
|
|
1
|
+
{"version":3,"file":"RelationshipFilter.d.ts","sourceRoot":"","sources":["../../filters/RelationshipFilter.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACN,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,QAAQ,EACR,KAAK,MAAM,EACX,KAAK,aAAa,EAElB,MAAM,iBAAiB,CAAA;AAExB,qBAAa,kBAAmB,YAAW,MAAM;IAChD,SAAS,CAAC,KAAK,EAAE,kBAAkB,EAAE,CAAA;gBAEzB,KAAK,EAAE,kBAAkB,EAAE;IAIvC,SAAS,CAAC,aAAa,CAAC,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,QAAQ,EAAE,GAAG,QAAQ,EAAE;IAgC7F,SAAS,CAAC,kBAAkB,CAAC,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,QAAQ,EAAE,GAAG,QAAQ,EAAE;IAkB3F,KAAK,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;CAW1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipFilter.js","sourceRoot":"","sources":["../../filters/RelationshipFilter.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAGN,QAAQ,EAGR,IAAI,GACJ,MAAM,iBAAiB,CAAA;AAExB,MAAM,OAAO,kBAAkB;
|
|
1
|
+
{"version":3,"file":"RelationshipFilter.js","sourceRoot":"","sources":["../../filters/RelationshipFilter.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAGN,QAAQ,EAGR,IAAI,GACJ,MAAM,iBAAiB,CAAA;AAExB,MAAM,OAAO,kBAAkB;IACpB,KAAK,CAAsB;IAErC,YAAY,KAA2B;QACtC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;IACnB,CAAC;IAES,aAAa,CAAC,QAAwB,EAAE,SAA8B;QAC/E,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpC,IAAI,SAAmD,CAAA;YACvD,MAAM,eAAe,GAAW,EAAE,CAAA;YAElC,KAAK,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;gBACzD,IAAI,CAAC,SAAS,IAAI,cAAc,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;oBACtD,SAAS;wBACR,QAAQ,CAAC,SAAS,KAAK,UAAU;4BAChC,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CA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,GAAG,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC;gBAAE,OAAO,IAAI,CAAA;YAEpF,uDAAuD;YACvD,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,KAAK,QAAQ,CAAC,MAAM,CAAC,CAAA;YAEvF,OAAO,QAAQ,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAA;QACnC,CAAC,CAAC,CAAA;IACH,CAAC;IAEM,KAAK,CAAC,OAAsB;QAClC,KAAK,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACvD,MAAM,QAAQ,GAAmB;gBAChC,MAAM;gBACN,SAAS;gBACT,OAAO;aACP,CAAA;YAED,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,CAAA;QACpE,CAAC;IACF,CAAC;CACD"}
|
package/out/filters/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @license AGPL-3.0
|
|
4
4
|
* @author Teffen Ellis, et al.
|
|
5
5
|
*/
|
|
6
|
-
export * from "./InvalidSolutionFilter.
|
|
7
|
-
export * from "./RelationshipFilter.
|
|
8
|
-
export * from "./SubsetFilter.
|
|
9
|
-
export * from "./TokenDistanceFilter.
|
|
6
|
+
export * from "./InvalidSolutionFilter.ts";
|
|
7
|
+
export * from "./RelationshipFilter.ts";
|
|
8
|
+
export * from "./SubsetFilter.ts";
|
|
9
|
+
export * from "./TokenDistanceFilter.ts";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|