mailwoman 1.0.0 → 2.0.3

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.
Files changed (1855) hide show
  1. package/out/commands/corpus/build.d.ts.map +1 -0
  2. package/out/commands/corpus/build.js +107 -0
  3. package/out/commands/corpus/build.js.map +1 -0
  4. package/out/commands/corpus/list.d.ts.map +1 -0
  5. package/out/commands/corpus/list.js +28 -0
  6. package/out/commands/corpus/list.js.map +1 -0
  7. package/out/commands/corpus/run.d.ts.map +1 -0
  8. package/out/commands/corpus/run.js +109 -0
  9. package/out/commands/corpus/run.js.map +1 -0
  10. package/out/commands/debug.d.ts.map +1 -1
  11. package/out/commands/debug.js +12 -4
  12. package/out/commands/debug.js.map +1 -1
  13. package/out/commands/parse.d.ts.map +1 -1
  14. package/out/commands/parse.js +116 -4
  15. package/out/commands/parse.js.map +1 -1
  16. package/out/commands/serve.d.ts.map +1 -1
  17. package/out/commands/serve.js +4 -3
  18. package/out/commands/serve.js.map +1 -1
  19. package/out/commands/wof/prepare/index.d.ts.map +1 -1
  20. package/out/commands/wof/prepare/index.js +3 -2
  21. package/out/commands/wof/prepare/index.js.map +1 -1
  22. package/out/commands/wof/sync.d.ts.map +1 -1
  23. package/out/commands/wof/sync.js +33 -6
  24. package/out/commands/wof/sync.js.map +1 -1
  25. package/out/index.d.ts.map +1 -1
  26. package/out/index.js +7 -2
  27. package/out/index.js.map +1 -1
  28. package/out/sdk/cli.d.ts.map +1 -1
  29. package/out/sdk/test/index.d.ts.map +1 -1
  30. package/out/sdk/test/index.js +22 -36
  31. package/out/sdk/test/index.js.map +1 -1
  32. package/out/server/AddressRouter.d.ts.map +1 -1
  33. package/out/server/AddressRouter.js.map +1 -1
  34. package/out/server/static/main.d.ts.map +1 -0
  35. package/out/utils/DebugOutputBuilder.d.ts.map +1 -1
  36. package/out/utils/DebugOutputBuilder.js +1 -1
  37. package/out/utils/DebugOutputBuilder.js.map +1 -1
  38. package/out/utils/parser.d.ts.map +1 -1
  39. package/out/utils/parser.js +4 -4
  40. package/out/utils/parser.js.map +1 -1
  41. package/package.json +89 -165
  42. package/LICENSE.md +0 -675
  43. package/README.md +0 -191
  44. package/out/classifiers/AdjacencyClassifier.d.ts +0 -16
  45. package/out/classifiers/AdjacencyClassifier.d.ts.map +0 -1
  46. package/out/classifiers/AdjacencyClassifier.js +0 -50
  47. package/out/classifiers/AdjacencyClassifier.js.map +0 -1
  48. package/out/classifiers/AlphaNumericClassifier.d.ts +0 -10
  49. package/out/classifiers/AlphaNumericClassifier.d.ts.map +0 -1
  50. package/out/classifiers/AlphaNumericClassifier.js +0 -23
  51. package/out/classifiers/AlphaNumericClassifier.js.map +0 -1
  52. package/out/classifiers/AlphaNumericClassifier.test.d.ts +0 -7
  53. package/out/classifiers/AlphaNumericClassifier.test.d.ts.map +0 -1
  54. package/out/classifiers/AlphaNumericClassifier.test.js +0 -80
  55. package/out/classifiers/AlphaNumericClassifier.test.js.map +0 -1
  56. package/out/classifiers/CentralEuropeanStreetNameClassifier.d.ts +0 -16
  57. package/out/classifiers/CentralEuropeanStreetNameClassifier.d.ts.map +0 -1
  58. package/out/classifiers/CentralEuropeanStreetNameClassifier.js +0 -36
  59. package/out/classifiers/CentralEuropeanStreetNameClassifier.js.map +0 -1
  60. package/out/classifiers/CentralEuropeanStreetNameClassifier.test.d.ts +0 -7
  61. package/out/classifiers/CentralEuropeanStreetNameClassifier.test.d.ts.map +0 -1
  62. package/out/classifiers/CentralEuropeanStreetNameClassifier.test.js +0 -70
  63. package/out/classifiers/CentralEuropeanStreetNameClassifier.test.js.map +0 -1
  64. package/out/classifiers/ChainClassifier.d.ts +0 -14
  65. package/out/classifiers/ChainClassifier.d.ts.map +0 -1
  66. package/out/classifiers/ChainClassifier.js +0 -25
  67. package/out/classifiers/ChainClassifier.js.map +0 -1
  68. package/out/classifiers/ChainClassifier.test.d.ts +0 -7
  69. package/out/classifiers/ChainClassifier.test.d.ts.map +0 -1
  70. package/out/classifiers/ChainClassifier.test.js +0 -15
  71. package/out/classifiers/ChainClassifier.test.js.map +0 -1
  72. package/out/classifiers/CompositeClassifier.test.d.ts +0 -7
  73. package/out/classifiers/CompositeClassifier.test.d.ts.map +0 -1
  74. package/out/classifiers/CompositeClassifier.test.js +0 -63
  75. package/out/classifiers/CompositeClassifier.test.js.map +0 -1
  76. package/out/classifiers/CompoundLevelClassifier.d.ts +0 -16
  77. package/out/classifiers/CompoundLevelClassifier.d.ts.map +0 -1
  78. package/out/classifiers/CompoundLevelClassifier.js +0 -58
  79. package/out/classifiers/CompoundLevelClassifier.js.map +0 -1
  80. package/out/classifiers/CompoundStreetClassifier.d.ts +0 -12
  81. package/out/classifiers/CompoundStreetClassifier.d.ts.map +0 -1
  82. package/out/classifiers/CompoundStreetClassifier.js +0 -50
  83. package/out/classifiers/CompoundStreetClassifier.js.map +0 -1
  84. package/out/classifiers/CompoundStreetClassifier.test.d.ts +0 -7
  85. package/out/classifiers/CompoundStreetClassifier.test.d.ts.map +0 -1
  86. package/out/classifiers/CompoundStreetClassifier.test.js +0 -24
  87. package/out/classifiers/CompoundStreetClassifier.test.js.map +0 -1
  88. package/out/classifiers/CompoundUnitDesignatorClassifier.d.ts +0 -16
  89. package/out/classifiers/CompoundUnitDesignatorClassifier.d.ts.map +0 -1
  90. package/out/classifiers/CompoundUnitDesignatorClassifier.js +0 -57
  91. package/out/classifiers/CompoundUnitDesignatorClassifier.js.map +0 -1
  92. package/out/classifiers/DirectionalClassifier.d.ts +0 -11
  93. package/out/classifiers/DirectionalClassifier.d.ts.map +0 -1
  94. package/out/classifiers/DirectionalClassifier.js +0 -31
  95. package/out/classifiers/DirectionalClassifier.js.map +0 -1
  96. package/out/classifiers/DirectionalClassifier.test.d.ts +0 -7
  97. package/out/classifiers/DirectionalClassifier.test.d.ts.map +0 -1
  98. package/out/classifiers/DirectionalClassifier.test.js +0 -167
  99. package/out/classifiers/DirectionalClassifier.test.js.map +0 -1
  100. package/out/classifiers/GivenNameClassifier.d.ts +0 -11
  101. package/out/classifiers/GivenNameClassifier.d.ts.map +0 -1
  102. package/out/classifiers/GivenNameClassifier.js +0 -32
  103. package/out/classifiers/GivenNameClassifier.js.map +0 -1
  104. package/out/classifiers/GivenNameClassifier.test.d.ts +0 -7
  105. package/out/classifiers/GivenNameClassifier.test.d.ts.map +0 -1
  106. package/out/classifiers/GivenNameClassifier.test.js +0 -13
  107. package/out/classifiers/GivenNameClassifier.test.js.map +0 -1
  108. package/out/classifiers/HouseNumberClassifier.d.ts +0 -15
  109. package/out/classifiers/HouseNumberClassifier.d.ts.map +0 -1
  110. package/out/classifiers/HouseNumberClassifier.js +0 -79
  111. package/out/classifiers/HouseNumberClassifier.js.map +0 -1
  112. package/out/classifiers/HouseNumberClassifier.test.d.ts +0 -7
  113. package/out/classifiers/HouseNumberClassifier.test.d.ts.map +0 -1
  114. package/out/classifiers/HouseNumberClassifier.test.js +0 -242
  115. package/out/classifiers/HouseNumberClassifier.test.js.map +0 -1
  116. package/out/classifiers/IntersectionClassifier.d.ts +0 -11
  117. package/out/classifiers/IntersectionClassifier.d.ts.map +0 -1
  118. package/out/classifiers/IntersectionClassifier.js +0 -33
  119. package/out/classifiers/IntersectionClassifier.js.map +0 -1
  120. package/out/classifiers/LevelClassifier.d.ts +0 -11
  121. package/out/classifiers/LevelClassifier.d.ts.map +0 -1
  122. package/out/classifiers/LevelClassifier.js +0 -28
  123. package/out/classifiers/LevelClassifier.js.map +0 -1
  124. package/out/classifiers/LevelDesignatorClassifier.d.ts +0 -11
  125. package/out/classifiers/LevelDesignatorClassifier.d.ts.map +0 -1
  126. package/out/classifiers/LevelDesignatorClassifier.js +0 -21
  127. package/out/classifiers/LevelDesignatorClassifier.js.map +0 -1
  128. package/out/classifiers/LevelDesignatorClassifier.test.d.ts +0 -7
  129. package/out/classifiers/LevelDesignatorClassifier.test.d.ts.map +0 -1
  130. package/out/classifiers/LevelDesignatorClassifier.test.js +0 -17
  131. package/out/classifiers/LevelDesignatorClassifier.test.js.map +0 -1
  132. package/out/classifiers/MiddleInitialClassifier.d.ts +0 -10
  133. package/out/classifiers/MiddleInitialClassifier.d.ts.map +0 -1
  134. package/out/classifiers/MiddleInitialClassifier.js +0 -18
  135. package/out/classifiers/MiddleInitialClassifier.js.map +0 -1
  136. package/out/classifiers/MiddleInitialClassifier.test.d.ts +0 -7
  137. package/out/classifiers/MiddleInitialClassifier.test.d.ts.map +0 -1
  138. package/out/classifiers/MiddleInitialClassifier.test.js +0 -21
  139. package/out/classifiers/MiddleInitialClassifier.test.js.map +0 -1
  140. package/out/classifiers/OrdinalClassifier.d.ts +0 -10
  141. package/out/classifiers/OrdinalClassifier.d.ts.map +0 -1
  142. package/out/classifiers/OrdinalClassifier.js +0 -23
  143. package/out/classifiers/OrdinalClassifier.js.map +0 -1
  144. package/out/classifiers/OrdinalClassifier.test.d.ts +0 -7
  145. package/out/classifiers/OrdinalClassifier.test.d.ts.map +0 -1
  146. package/out/classifiers/OrdinalClassifier.test.js +0 -30
  147. package/out/classifiers/OrdinalClassifier.test.js.map +0 -1
  148. package/out/classifiers/PersonClassifier.d.ts +0 -11
  149. package/out/classifiers/PersonClassifier.d.ts.map +0 -1
  150. package/out/classifiers/PersonClassifier.js +0 -30
  151. package/out/classifiers/PersonClassifier.js.map +0 -1
  152. package/out/classifiers/PersonClassifier.test.d.ts +0 -7
  153. package/out/classifiers/PersonClassifier.test.d.ts.map +0 -1
  154. package/out/classifiers/PersonClassifier.test.js +0 -19
  155. package/out/classifiers/PersonClassifier.test.js.map +0 -1
  156. package/out/classifiers/PersonalSuffixClassifier.d.ts +0 -11
  157. package/out/classifiers/PersonalSuffixClassifier.d.ts.map +0 -1
  158. package/out/classifiers/PersonalSuffixClassifier.js +0 -31
  159. package/out/classifiers/PersonalSuffixClassifier.js.map +0 -1
  160. package/out/classifiers/PersonalSuffixClassifier.test.d.ts +0 -7
  161. package/out/classifiers/PersonalSuffixClassifier.test.d.ts.map +0 -1
  162. package/out/classifiers/PersonalSuffixClassifier.test.js +0 -15
  163. package/out/classifiers/PersonalSuffixClassifier.test.js.map +0 -1
  164. package/out/classifiers/PersonalTitleClassifier.d.ts +0 -11
  165. package/out/classifiers/PersonalTitleClassifier.d.ts.map +0 -1
  166. package/out/classifiers/PersonalTitleClassifier.js +0 -32
  167. package/out/classifiers/PersonalTitleClassifier.js.map +0 -1
  168. package/out/classifiers/PersonalTitleClassifier.test.d.ts +0 -7
  169. package/out/classifiers/PersonalTitleClassifier.test.d.ts.map +0 -1
  170. package/out/classifiers/PersonalTitleClassifier.test.js +0 -23
  171. package/out/classifiers/PersonalTitleClassifier.test.js.map +0 -1
  172. package/out/classifiers/PlaceClassifier.d.ts +0 -11
  173. package/out/classifiers/PlaceClassifier.d.ts.map +0 -1
  174. package/out/classifiers/PlaceClassifier.js +0 -38
  175. package/out/classifiers/PlaceClassifier.js.map +0 -1
  176. package/out/classifiers/PlaceClassifier.test.d.ts +0 -7
  177. package/out/classifiers/PlaceClassifier.test.d.ts.map +0 -1
  178. package/out/classifiers/PlaceClassifier.test.js +0 -15
  179. package/out/classifiers/PlaceClassifier.test.js.map +0 -1
  180. package/out/classifiers/PostcodeClassifier.d.ts +0 -14
  181. package/out/classifiers/PostcodeClassifier.d.ts.map +0 -1
  182. package/out/classifiers/PostcodeClassifier.js +0 -62
  183. package/out/classifiers/PostcodeClassifier.js.map +0 -1
  184. package/out/classifiers/PostcodeClassifier.test.d.ts +0 -7
  185. package/out/classifiers/PostcodeClassifier.test.d.ts.map +0 -1
  186. package/out/classifiers/PostcodeClassifier.test.js +0 -65
  187. package/out/classifiers/PostcodeClassifier.test.js.map +0 -1
  188. package/out/classifiers/RoadTypeClassifier.d.ts +0 -11
  189. package/out/classifiers/RoadTypeClassifier.d.ts.map +0 -1
  190. package/out/classifiers/RoadTypeClassifier.js +0 -20
  191. package/out/classifiers/RoadTypeClassifier.js.map +0 -1
  192. package/out/classifiers/RoadTypeClassifier.test.d.ts +0 -7
  193. package/out/classifiers/RoadTypeClassifier.test.d.ts.map +0 -1
  194. package/out/classifiers/RoadTypeClassifier.test.js +0 -29
  195. package/out/classifiers/RoadTypeClassifier.test.js.map +0 -1
  196. package/out/classifiers/StopWordClassifier.d.ts +0 -14
  197. package/out/classifiers/StopWordClassifier.d.ts.map +0 -1
  198. package/out/classifiers/StopWordClassifier.js +0 -35
  199. package/out/classifiers/StopWordClassifier.js.map +0 -1
  200. package/out/classifiers/StopWordClassifier.test.d.ts +0 -7
  201. package/out/classifiers/StopWordClassifier.test.d.ts.map +0 -1
  202. package/out/classifiers/StopWordClassifier.test.js +0 -17
  203. package/out/classifiers/StopWordClassifier.test.js.map +0 -1
  204. package/out/classifiers/StreetPrefixClassifier.d.ts +0 -11
  205. package/out/classifiers/StreetPrefixClassifier.d.ts.map +0 -1
  206. package/out/classifiers/StreetPrefixClassifier.js +0 -40
  207. package/out/classifiers/StreetPrefixClassifier.js.map +0 -1
  208. package/out/classifiers/StreetPrefixClassifier.test.d.ts +0 -7
  209. package/out/classifiers/StreetPrefixClassifier.test.d.ts.map +0 -1
  210. package/out/classifiers/StreetPrefixClassifier.test.js +0 -26
  211. package/out/classifiers/StreetPrefixClassifier.test.js.map +0 -1
  212. package/out/classifiers/StreetProperNameClassifier.d.ts +0 -16
  213. package/out/classifiers/StreetProperNameClassifier.d.ts.map +0 -1
  214. package/out/classifiers/StreetProperNameClassifier.js +0 -32
  215. package/out/classifiers/StreetProperNameClassifier.js.map +0 -1
  216. package/out/classifiers/StreetProperNameClassifier.test.d.ts +0 -7
  217. package/out/classifiers/StreetProperNameClassifier.test.d.ts.map +0 -1
  218. package/out/classifiers/StreetProperNameClassifier.test.js +0 -13
  219. package/out/classifiers/StreetProperNameClassifier.test.js.map +0 -1
  220. package/out/classifiers/StreetSuffixClassifier.d.ts +0 -11
  221. package/out/classifiers/StreetSuffixClassifier.d.ts.map +0 -1
  222. package/out/classifiers/StreetSuffixClassifier.js +0 -50
  223. package/out/classifiers/StreetSuffixClassifier.js.map +0 -1
  224. package/out/classifiers/StreetSuffixClassifier.test.d.ts +0 -7
  225. package/out/classifiers/StreetSuffixClassifier.test.d.ts.map +0 -1
  226. package/out/classifiers/StreetSuffixClassifier.test.js +0 -51
  227. package/out/classifiers/StreetSuffixClassifier.test.js.map +0 -1
  228. package/out/classifiers/SurnameClassifier.d.ts +0 -11
  229. package/out/classifiers/SurnameClassifier.d.ts.map +0 -1
  230. package/out/classifiers/SurnameClassifier.js +0 -29
  231. package/out/classifiers/SurnameClassifier.js.map +0 -1
  232. package/out/classifiers/SurnameClassifier.test.d.ts +0 -7
  233. package/out/classifiers/SurnameClassifier.test.d.ts.map +0 -1
  234. package/out/classifiers/SurnameClassifier.test.js +0 -13
  235. package/out/classifiers/SurnameClassifier.test.js.map +0 -1
  236. package/out/classifiers/TokenPositionClassifier.d.ts +0 -20
  237. package/out/classifiers/TokenPositionClassifier.d.ts.map +0 -1
  238. package/out/classifiers/TokenPositionClassifier.js +0 -40
  239. package/out/classifiers/TokenPositionClassifier.js.map +0 -1
  240. package/out/classifiers/TokenPositionClassifier.test.d.ts +0 -7
  241. package/out/classifiers/TokenPositionClassifier.test.d.ts.map +0 -1
  242. package/out/classifiers/TokenPositionClassifier.test.js +0 -81
  243. package/out/classifiers/TokenPositionClassifier.test.js.map +0 -1
  244. package/out/classifiers/ToponymClassifier.d.ts +0 -11
  245. package/out/classifiers/ToponymClassifier.d.ts.map +0 -1
  246. package/out/classifiers/ToponymClassifier.js +0 -26
  247. package/out/classifiers/ToponymClassifier.js.map +0 -1
  248. package/out/classifiers/ToponymClassifier.test.d.ts +0 -7
  249. package/out/classifiers/ToponymClassifier.test.d.ts.map +0 -1
  250. package/out/classifiers/ToponymClassifier.test.js +0 -26
  251. package/out/classifiers/ToponymClassifier.test.js.map +0 -1
  252. package/out/classifiers/UnitClassifier.d.ts +0 -11
  253. package/out/classifiers/UnitClassifier.d.ts.map +0 -1
  254. package/out/classifiers/UnitClassifier.js +0 -43
  255. package/out/classifiers/UnitClassifier.js.map +0 -1
  256. package/out/classifiers/UnitClassifier.test.d.ts +0 -7
  257. package/out/classifiers/UnitClassifier.test.d.ts.map +0 -1
  258. package/out/classifiers/UnitClassifier.test.js +0 -78
  259. package/out/classifiers/UnitClassifier.test.js.map +0 -1
  260. package/out/classifiers/UnitDesignatorClassifier.d.ts +0 -11
  261. package/out/classifiers/UnitDesignatorClassifier.d.ts.map +0 -1
  262. package/out/classifiers/UnitDesignatorClassifier.js +0 -25
  263. package/out/classifiers/UnitDesignatorClassifier.js.map +0 -1
  264. package/out/classifiers/UnitDesignatorClassifier.test.d.ts +0 -7
  265. package/out/classifiers/UnitDesignatorClassifier.test.d.ts.map +0 -1
  266. package/out/classifiers/UnitDesignatorClassifier.test.js +0 -14
  267. package/out/classifiers/UnitDesignatorClassifier.test.js.map +0 -1
  268. package/out/classifiers/UnitTypeUnitClassifier.test.d.ts +0 -7
  269. package/out/classifiers/UnitTypeUnitClassifier.test.d.ts.map +0 -1
  270. package/out/classifiers/UnitTypeUnitClassifier.test.js +0 -26
  271. package/out/classifiers/UnitTypeUnitClassifier.test.js.map +0 -1
  272. package/out/classifiers/WhosOnFirstClassifier.d.ts +0 -16
  273. package/out/classifiers/WhosOnFirstClassifier.d.ts.map +0 -1
  274. package/out/classifiers/WhosOnFirstClassifier.js +0 -148
  275. package/out/classifiers/WhosOnFirstClassifier.js.map +0 -1
  276. package/out/classifiers/WhosOnFirstClassifier.test.d.ts +0 -7
  277. package/out/classifiers/WhosOnFirstClassifier.test.d.ts.map +0 -1
  278. package/out/classifiers/WhosOnFirstClassifier.test.js +0 -33
  279. package/out/classifiers/WhosOnFirstClassifier.test.js.map +0 -1
  280. package/out/classifiers/composite/index.d.ts +0 -12
  281. package/out/classifiers/composite/index.d.ts.map +0 -1
  282. package/out/classifiers/composite/index.js +0 -12
  283. package/out/classifiers/composite/index.js.map +0 -1
  284. package/out/classifiers/composite/intersection.d.ts +0 -10
  285. package/out/classifiers/composite/intersection.d.ts.map +0 -1
  286. package/out/classifiers/composite/intersection.js +0 -115
  287. package/out/classifiers/composite/intersection.js.map +0 -1
  288. package/out/classifiers/composite/person.d.ts +0 -10
  289. package/out/classifiers/composite/person.d.ts.map +0 -1
  290. package/out/classifiers/composite/person.js +0 -112
  291. package/out/classifiers/composite/person.js.map +0 -1
  292. package/out/classifiers/composite/street.d.ts +0 -10
  293. package/out/classifiers/composite/street.d.ts.map +0 -1
  294. package/out/classifiers/composite/street.js +0 -384
  295. package/out/classifiers/composite/street.js.map +0 -1
  296. package/out/classifiers/composite/street_name.d.ts +0 -10
  297. package/out/classifiers/composite/street_name.d.ts.map +0 -1
  298. package/out/classifiers/composite/street_name.js +0 -78
  299. package/out/classifiers/composite/street_name.js.map +0 -1
  300. package/out/classifiers/composite/subdivision.d.ts +0 -10
  301. package/out/classifiers/composite/subdivision.d.ts.map +0 -1
  302. package/out/classifiers/composite/subdivision.js +0 -29
  303. package/out/classifiers/composite/subdivision.js.map +0 -1
  304. package/out/classifiers/composite/venue.d.ts +0 -10
  305. package/out/classifiers/composite/venue.d.ts.map +0 -1
  306. package/out/classifiers/composite/venue.js +0 -213
  307. package/out/classifiers/composite/venue.js.map +0 -1
  308. package/out/classifiers/index.d.ts +0 -38
  309. package/out/classifiers/index.d.ts.map +0 -1
  310. package/out/classifiers/index.js +0 -38
  311. package/out/classifiers/index.js.map +0 -1
  312. package/out/cli.d.ts +0 -8
  313. package/out/commands/debug.d.ts +0 -12
  314. package/out/commands/parse.d.ts +0 -19
  315. package/out/commands/serve.d.ts +0 -35
  316. package/out/commands/wof/prepare/index.d.ts +0 -12
  317. package/out/commands/wof/sync.d.ts +0 -12
  318. package/out/core/classification/BaseClassifier.d.ts +0 -35
  319. package/out/core/classification/BaseClassifier.d.ts.map +0 -1
  320. package/out/core/classification/BaseClassifier.js +0 -8
  321. package/out/core/classification/BaseClassifier.js.map +0 -1
  322. package/out/core/classification/Classification.d.ts +0 -79
  323. package/out/core/classification/Classification.d.ts.map +0 -1
  324. package/out/core/classification/Classification.js +0 -133
  325. package/out/core/classification/Classification.js.map +0 -1
  326. package/out/core/classification/CompositeClassifier.d.ts +0 -16
  327. package/out/core/classification/CompositeClassifier.d.ts.map +0 -1
  328. package/out/core/classification/CompositeClassifier.js +0 -112
  329. package/out/core/classification/CompositeClassifier.js.map +0 -1
  330. package/out/core/classification/PhraseClassifier.d.ts +0 -23
  331. package/out/core/classification/PhraseClassifier.d.ts.map +0 -1
  332. package/out/core/classification/PhraseClassifier.js +0 -32
  333. package/out/core/classification/PhraseClassifier.js.map +0 -1
  334. package/out/core/classification/SectionClassifier.d.ts +0 -23
  335. package/out/core/classification/SectionClassifier.d.ts.map +0 -1
  336. package/out/core/classification/SectionClassifier.js +0 -27
  337. package/out/core/classification/SectionClassifier.js.map +0 -1
  338. package/out/core/classification/WordClassifier.d.ts +0 -22
  339. package/out/core/classification/WordClassifier.d.ts.map +0 -1
  340. package/out/core/classification/WordClassifier.js +0 -33
  341. package/out/core/classification/WordClassifier.js.map +0 -1
  342. package/out/core/classification/index.d.ts +0 -13
  343. package/out/core/classification/index.d.ts.map +0 -1
  344. package/out/core/classification/index.js +0 -13
  345. package/out/core/classification/index.js.map +0 -1
  346. package/out/core/classification/scheme.d.ts +0 -46
  347. package/out/core/classification/scheme.d.ts.map +0 -1
  348. package/out/core/classification/scheme.js +0 -37
  349. package/out/core/classification/scheme.js.map +0 -1
  350. package/out/core/formatter/index.d.ts +0 -11
  351. package/out/core/formatter/index.d.ts.map +0 -1
  352. package/out/core/formatter/index.js +0 -49
  353. package/out/core/formatter/index.js.map +0 -1
  354. package/out/core/index.d.ts +0 -12
  355. package/out/core/index.d.ts.map +0 -1
  356. package/out/core/index.js +0 -12
  357. package/out/core/index.js.map +0 -1
  358. package/out/core/parser/AddressParser.d.ts +0 -62
  359. package/out/core/parser/AddressParser.d.ts.map +0 -1
  360. package/out/core/parser/AddressParser.js +0 -96
  361. package/out/core/parser/AddressParser.js.map +0 -1
  362. package/out/core/parser/index.d.ts +0 -7
  363. package/out/core/parser/index.d.ts.map +0 -1
  364. package/out/core/parser/index.js +0 -7
  365. package/out/core/parser/index.js.map +0 -1
  366. package/out/core/resources/LocaleIndex.d.ts +0 -54
  367. package/out/core/resources/LocaleIndex.d.ts.map +0 -1
  368. package/out/core/resources/LocaleIndex.js +0 -90
  369. package/out/core/resources/LocaleIndex.js.map +0 -1
  370. package/out/core/resources/ResourceMapCache.d.ts +0 -40
  371. package/out/core/resources/ResourceMapCache.d.ts.map +0 -1
  372. package/out/core/resources/ResourceMapCache.js +0 -75
  373. package/out/core/resources/ResourceMapCache.js.map +0 -1
  374. package/out/core/resources/collections.d.ts +0 -28
  375. package/out/core/resources/collections.d.ts.map +0 -1
  376. package/out/core/resources/collections.js +0 -76
  377. package/out/core/resources/collections.js.map +0 -1
  378. package/out/core/resources/db/index.d.ts +0 -7
  379. package/out/core/resources/db/index.d.ts.map +0 -1
  380. package/out/core/resources/db/index.js +0 -7
  381. package/out/core/resources/db/index.js.map +0 -1
  382. package/out/core/resources/debugging.d.ts +0 -16
  383. package/out/core/resources/debugging.d.ts.map +0 -1
  384. package/out/core/resources/debugging.js +0 -12
  385. package/out/core/resources/debugging.js.map +0 -1
  386. package/out/core/resources/fs.d.ts +0 -12
  387. package/out/core/resources/fs.d.ts.map +0 -1
  388. package/out/core/resources/fs.js +0 -13
  389. package/out/core/resources/fs.js.map +0 -1
  390. package/out/core/resources/git.d.ts +0 -24
  391. package/out/core/resources/git.d.ts.map +0 -1
  392. package/out/core/resources/git.js +0 -36
  393. package/out/core/resources/git.js.map +0 -1
  394. package/out/core/resources/index.d.ts +0 -19
  395. package/out/core/resources/index.d.ts.map +0 -1
  396. package/out/core/resources/index.js +0 -19
  397. package/out/core/resources/index.js.map +0 -1
  398. package/out/core/resources/languages/index.d.ts +0 -24
  399. package/out/core/resources/languages/index.d.ts.map +0 -1
  400. package/out/core/resources/languages/index.js +0 -43
  401. package/out/core/resources/languages/index.js.map +0 -1
  402. package/out/core/resources/languages/types.gen.d.ts +0 -259
  403. package/out/core/resources/languages/types.gen.d.ts.map +0 -1
  404. package/out/core/resources/languages/types.gen.js +0 -983
  405. package/out/core/resources/languages/types.gen.js.map +0 -1
  406. package/out/core/resources/libaddressinput.d.ts +0 -103
  407. package/out/core/resources/libaddressinput.d.ts.map +0 -1
  408. package/out/core/resources/libaddressinput.js +0 -30
  409. package/out/core/resources/libaddressinput.js.map +0 -1
  410. package/out/core/resources/libpostal.d.ts +0 -31
  411. package/out/core/resources/libpostal.d.ts.map +0 -1
  412. package/out/core/resources/libpostal.js +0 -115
  413. package/out/core/resources/libpostal.js.map +0 -1
  414. package/out/core/resources/libpostal.test.d.ts +0 -7
  415. package/out/core/resources/libpostal.test.d.ts.map +0 -1
  416. package/out/core/resources/libpostal.test.js +0 -283
  417. package/out/core/resources/libpostal.test.js.map +0 -1
  418. package/out/core/resources/locale.d.ts +0 -14
  419. package/out/core/resources/locale.d.ts.map +0 -1
  420. package/out/core/resources/locale.js +0 -22
  421. package/out/core/resources/locale.js.map +0 -1
  422. package/out/core/resources/set.d.ts +0 -62
  423. package/out/core/resources/set.d.ts.map +0 -1
  424. package/out/core/resources/set.js +0 -149
  425. package/out/core/resources/set.js.map +0 -1
  426. package/out/core/resources/whosonfirst/DataSourceCache.d.ts +0 -18
  427. package/out/core/resources/whosonfirst/DataSourceCache.d.ts.map +0 -1
  428. package/out/core/resources/whosonfirst/DataSourceCache.js +0 -53
  429. package/out/core/resources/whosonfirst/DataSourceCache.js.map +0 -1
  430. package/out/core/resources/whosonfirst/PlacetypeDataSource.d.ts +0 -74
  431. package/out/core/resources/whosonfirst/PlacetypeDataSource.d.ts.map +0 -1
  432. package/out/core/resources/whosonfirst/PlacetypeDataSource.js +0 -111
  433. package/out/core/resources/whosonfirst/PlacetypeDataSource.js.map +0 -1
  434. package/out/core/resources/whosonfirst/index.d.ts +0 -10
  435. package/out/core/resources/whosonfirst/index.d.ts.map +0 -1
  436. package/out/core/resources/whosonfirst/index.js +0 -10
  437. package/out/core/resources/whosonfirst/index.js.map +0 -1
  438. package/out/core/resources/whosonfirst/loader.d.ts +0 -56
  439. package/out/core/resources/whosonfirst/loader.d.ts.map +0 -1
  440. package/out/core/resources/whosonfirst/loader.js +0 -114
  441. package/out/core/resources/whosonfirst/loader.js.map +0 -1
  442. package/out/core/resources/whosonfirst/placetypes/Placetype.d.ts +0 -128
  443. package/out/core/resources/whosonfirst/placetypes/Placetype.d.ts.map +0 -1
  444. package/out/core/resources/whosonfirst/placetypes/Placetype.js +0 -337
  445. package/out/core/resources/whosonfirst/placetypes/Placetype.js.map +0 -1
  446. package/out/core/resources/whosonfirst/placetypes/admin.d.ts +0 -48
  447. package/out/core/resources/whosonfirst/placetypes/admin.d.ts.map +0 -1
  448. package/out/core/resources/whosonfirst/placetypes/admin.js +0 -61
  449. package/out/core/resources/whosonfirst/placetypes/admin.js.map +0 -1
  450. package/out/core/resources/whosonfirst/placetypes/definition.d.ts +0 -73
  451. package/out/core/resources/whosonfirst/placetypes/definition.d.ts.map +0 -1
  452. package/out/core/resources/whosonfirst/placetypes/definition.js +0 -26
  453. package/out/core/resources/whosonfirst/placetypes/definition.js.map +0 -1
  454. package/out/core/resources/whosonfirst/placetypes/index.d.ts +0 -10
  455. package/out/core/resources/whosonfirst/placetypes/index.d.ts.map +0 -1
  456. package/out/core/resources/whosonfirst/placetypes/index.js +0 -10
  457. package/out/core/resources/whosonfirst/placetypes/index.js.map +0 -1
  458. package/out/core/resources/whosonfirst/placetypes/mermaid.d.ts +0 -20
  459. package/out/core/resources/whosonfirst/placetypes/mermaid.d.ts.map +0 -1
  460. package/out/core/resources/whosonfirst/placetypes/mermaid.js +0 -43
  461. package/out/core/resources/whosonfirst/placetypes/mermaid.js.map +0 -1
  462. package/out/core/solver/BaseSolver.d.ts +0 -24
  463. package/out/core/solver/BaseSolver.d.ts.map +0 -1
  464. package/out/core/solver/BaseSolver.js +0 -7
  465. package/out/core/solver/BaseSolver.js.map +0 -1
  466. package/out/core/solver/HashMapSolver.d.ts +0 -15
  467. package/out/core/solver/HashMapSolver.d.ts.map +0 -1
  468. package/out/core/solver/HashMapSolver.js +0 -61
  469. package/out/core/solver/HashMapSolver.js.map +0 -1
  470. package/out/core/solver/Solution.d.ts +0 -69
  471. package/out/core/solver/Solution.d.ts.map +0 -1
  472. package/out/core/solver/Solution.js +0 -136
  473. package/out/core/solver/Solution.js.map +0 -1
  474. package/out/core/solver/SolutionMatch.d.ts +0 -69
  475. package/out/core/solver/SolutionMatch.d.ts.map +0 -1
  476. package/out/core/solver/SolutionMatch.js +0 -100
  477. package/out/core/solver/SolutionMatch.js.map +0 -1
  478. package/out/core/solver/index.d.ts +0 -11
  479. package/out/core/solver/index.d.ts.map +0 -1
  480. package/out/core/solver/index.js +0 -11
  481. package/out/core/solver/index.js.map +0 -1
  482. package/out/core/solver/mask.d.ts +0 -27
  483. package/out/core/solver/mask.d.ts.map +0 -1
  484. package/out/core/solver/mask.js +0 -50
  485. package/out/core/solver/mask.js.map +0 -1
  486. package/out/core/solver/mask.test.d.ts +0 -7
  487. package/out/core/solver/mask.test.d.ts.map +0 -1
  488. package/out/core/solver/mask.test.js +0 -39
  489. package/out/core/solver/mask.test.js.map +0 -1
  490. package/out/core/tokenization/Graph.d.ts +0 -35
  491. package/out/core/tokenization/Graph.d.ts.map +0 -1
  492. package/out/core/tokenization/Graph.js +0 -38
  493. package/out/core/tokenization/Graph.js.map +0 -1
  494. package/out/core/tokenization/Span.d.ts +0 -116
  495. package/out/core/tokenization/Span.d.ts.map +0 -1
  496. package/out/core/tokenization/Span.js +0 -212
  497. package/out/core/tokenization/Span.js.map +0 -1
  498. package/out/core/tokenization/Span.test.d.ts +0 -7
  499. package/out/core/tokenization/Span.test.d.ts.map +0 -1
  500. package/out/core/tokenization/Span.test.js +0 -202
  501. package/out/core/tokenization/Span.test.js.map +0 -1
  502. package/out/core/tokenization/context.d.ts +0 -39
  503. package/out/core/tokenization/context.d.ts.map +0 -1
  504. package/out/core/tokenization/context.js +0 -114
  505. package/out/core/tokenization/context.js.map +0 -1
  506. package/out/core/tokenization/context.test.d.ts +0 -7
  507. package/out/core/tokenization/context.test.d.ts.map +0 -1
  508. package/out/core/tokenization/context.test.js +0 -157
  509. package/out/core/tokenization/context.test.js.map +0 -1
  510. package/out/core/tokenization/index.d.ts +0 -11
  511. package/out/core/tokenization/index.d.ts.map +0 -1
  512. package/out/core/tokenization/index.js +0 -11
  513. package/out/core/tokenization/index.js.map +0 -1
  514. package/out/core/tokenization/normalizer.d.ts +0 -41
  515. package/out/core/tokenization/normalizer.d.ts.map +0 -1
  516. package/out/core/tokenization/normalizer.js +0 -94
  517. package/out/core/tokenization/normalizer.js.map +0 -1
  518. package/out/core/tokenization/normalizer.test.d.ts +0 -7
  519. package/out/core/tokenization/normalizer.test.d.ts.map +0 -1
  520. package/out/core/tokenization/normalizer.test.js +0 -49
  521. package/out/core/tokenization/normalizer.test.js.map +0 -1
  522. package/out/core/tokenization/permutate.d.ts +0 -29
  523. package/out/core/tokenization/permutate.d.ts.map +0 -1
  524. package/out/core/tokenization/permutate.js +0 -73
  525. package/out/core/tokenization/permutate.js.map +0 -1
  526. package/out/core/tokenization/permutate.test.d.ts +0 -7
  527. package/out/core/tokenization/permutate.test.d.ts.map +0 -1
  528. package/out/core/tokenization/permutate.test.js +0 -332
  529. package/out/core/tokenization/permutate.test.js.map +0 -1
  530. package/out/core/tokenization/split.d.ts +0 -22
  531. package/out/core/tokenization/split.d.ts.map +0 -1
  532. package/out/core/tokenization/split.js +0 -63
  533. package/out/core/tokenization/split.js.map +0 -1
  534. package/out/core/tokenization/split.test.d.ts +0 -7
  535. package/out/core/tokenization/split.test.d.ts.map +0 -1
  536. package/out/core/tokenization/split.test.js +0 -84
  537. package/out/core/tokenization/split.test.js.map +0 -1
  538. package/out/filters/InvalidSolutionFilter.d.ts +0 -19
  539. package/out/filters/InvalidSolutionFilter.d.ts.map +0 -1
  540. package/out/filters/InvalidSolutionFilter.js +0 -29
  541. package/out/filters/InvalidSolutionFilter.js.map +0 -1
  542. package/out/filters/RelationshipFilter.d.ts +0 -14
  543. package/out/filters/RelationshipFilter.d.ts.map +0 -1
  544. package/out/filters/RelationshipFilter.js +0 -63
  545. package/out/filters/RelationshipFilter.js.map +0 -1
  546. package/out/filters/RelationshipFilter.test.d.ts +0 -7
  547. package/out/filters/RelationshipFilter.test.d.ts.map +0 -1
  548. package/out/filters/RelationshipFilter.test.js +0 -45
  549. package/out/filters/RelationshipFilter.test.js.map +0 -1
  550. package/out/filters/SubsetFilter.d.ts +0 -10
  551. package/out/filters/SubsetFilter.d.ts.map +0 -1
  552. package/out/filters/SubsetFilter.js +0 -26
  553. package/out/filters/SubsetFilter.js.map +0 -1
  554. package/out/filters/SubsetFilter.test.d.ts +0 -7
  555. package/out/filters/SubsetFilter.test.d.ts.map +0 -1
  556. package/out/filters/SubsetFilter.test.js +0 -53
  557. package/out/filters/SubsetFilter.test.js.map +0 -1
  558. package/out/filters/TokenDistanceFilter.d.ts +0 -10
  559. package/out/filters/TokenDistanceFilter.d.ts.map +0 -1
  560. package/out/filters/TokenDistanceFilter.js +0 -30
  561. package/out/filters/TokenDistanceFilter.js.map +0 -1
  562. package/out/filters/index.d.ts +0 -10
  563. package/out/filters/index.d.ts.map +0 -1
  564. package/out/filters/index.js +0 -10
  565. package/out/filters/index.js.map +0 -1
  566. package/out/index.d.ts +0 -9
  567. package/out/scripts/generate-language-types.d.ts +0 -7
  568. package/out/scripts/generate-language-types.d.ts.map +0 -1
  569. package/out/scripts/generate-language-types.js +0 -127
  570. package/out/scripts/generate-language-types.js.map +0 -1
  571. package/out/scripts/generate.d.ts +0 -18
  572. package/out/scripts/generate.d.ts.map +0 -1
  573. package/out/scripts/generate.js +0 -144
  574. package/out/scripts/generate.js.map +0 -1
  575. package/out/sdk/cli.d.ts +0 -28
  576. package/out/sdk/repo.d.ts +0 -37
  577. package/out/sdk/repo.d.ts.map +0 -1
  578. package/out/sdk/repo.js +0 -49
  579. package/out/sdk/repo.js.map +0 -1
  580. package/out/sdk/test/index.d.ts +0 -43
  581. package/out/server/AddressRouter.d.ts +0 -20
  582. package/out/server/index.d.ts +0 -7
  583. package/out/solvers/ExclusiveCartesianSolver.d.ts +0 -12
  584. package/out/solvers/ExclusiveCartesianSolver.d.ts.map +0 -1
  585. package/out/solvers/ExclusiveCartesianSolver.js +0 -58
  586. package/out/solvers/ExclusiveCartesianSolver.js.map +0 -1
  587. package/out/solvers/HouseNumberPositionPenalty.d.ts +0 -10
  588. package/out/solvers/HouseNumberPositionPenalty.d.ts.map +0 -1
  589. package/out/solvers/HouseNumberPositionPenalty.js +0 -63
  590. package/out/solvers/HouseNumberPositionPenalty.js.map +0 -1
  591. package/out/solvers/LeadingAreaDeclassifier.d.ts +0 -13
  592. package/out/solvers/LeadingAreaDeclassifier.d.ts.map +0 -1
  593. package/out/solvers/LeadingAreaDeclassifier.js +0 -35
  594. package/out/solvers/LeadingAreaDeclassifier.js.map +0 -1
  595. package/out/solvers/MultiStreetSolver.d.ts +0 -32
  596. package/out/solvers/MultiStreetSolver.d.ts.map +0 -1
  597. package/out/solvers/MultiStreetSolver.js +0 -110
  598. package/out/solvers/MultiStreetSolver.js.map +0 -1
  599. package/out/solvers/OrphanedLevelTypeDeclassifier.d.ts +0 -10
  600. package/out/solvers/OrphanedLevelTypeDeclassifier.d.ts.map +0 -1
  601. package/out/solvers/OrphanedLevelTypeDeclassifier.js +0 -21
  602. package/out/solvers/OrphanedLevelTypeDeclassifier.js.map +0 -1
  603. package/out/solvers/OrphanedUnitTypeDeclassifier.d.ts +0 -10
  604. package/out/solvers/OrphanedUnitTypeDeclassifier.d.ts.map +0 -1
  605. package/out/solvers/OrphanedUnitTypeDeclassifier.js +0 -21
  606. package/out/solvers/OrphanedUnitTypeDeclassifier.js.map +0 -1
  607. package/out/solvers/OrphanedUnitTypeDeclassifier.test.d.ts +0 -7
  608. package/out/solvers/OrphanedUnitTypeDeclassifier.test.d.ts.map +0 -1
  609. package/out/solvers/OrphanedUnitTypeDeclassifier.test.js +0 -49
  610. package/out/solvers/OrphanedUnitTypeDeclassifier.test.js.map +0 -1
  611. package/out/solvers/PostcodePositionPenalty.d.ts +0 -16
  612. package/out/solvers/PostcodePositionPenalty.d.ts.map +0 -1
  613. package/out/solvers/PostcodePositionPenalty.js +0 -33
  614. package/out/solvers/PostcodePositionPenalty.js.map +0 -1
  615. package/out/solvers/VenueCaptureSolver.d.ts +0 -13
  616. package/out/solvers/VenueCaptureSolver.d.ts.map +0 -1
  617. package/out/solvers/VenueCaptureSolver.js +0 -22
  618. package/out/solvers/VenueCaptureSolver.js.map +0 -1
  619. package/out/solvers/index.d.ts +0 -14
  620. package/out/solvers/index.d.ts.map +0 -1
  621. package/out/solvers/index.js +0 -14
  622. package/out/solvers/index.js.map +0 -1
  623. package/out/test/address.aus.test.d.ts +0 -7
  624. package/out/test/address.aus.test.d.ts.map +0 -1
  625. package/out/test/address.aus.test.js +0 -90
  626. package/out/test/address.aus.test.js.map +0 -1
  627. package/out/test/address.bra.test.d.ts +0 -7
  628. package/out/test/address.bra.test.d.ts.map +0 -1
  629. package/out/test/address.bra.test.js +0 -17
  630. package/out/test/address.bra.test.js.map +0 -1
  631. package/out/test/address.cze.test.d.ts +0 -7
  632. package/out/test/address.cze.test.d.ts.map +0 -1
  633. package/out/test/address.cze.test.js +0 -31
  634. package/out/test/address.cze.test.js.map +0 -1
  635. package/out/test/address.deu.test.d.ts +0 -7
  636. package/out/test/address.deu.test.d.ts.map +0 -1
  637. package/out/test/address.deu.test.js +0 -138
  638. package/out/test/address.deu.test.js.map +0 -1
  639. package/out/test/address.esp.test.d.ts +0 -7
  640. package/out/test/address.esp.test.d.ts.map +0 -1
  641. package/out/test/address.esp.test.js +0 -16
  642. package/out/test/address.esp.test.js.map +0 -1
  643. package/out/test/address.fra.test.d.ts +0 -7
  644. package/out/test/address.fra.test.d.ts.map +0 -1
  645. package/out/test/address.fra.test.js +0 -231
  646. package/out/test/address.fra.test.js.map +0 -1
  647. package/out/test/address.gbr.test.d.ts +0 -7
  648. package/out/test/address.gbr.test.d.ts.map +0 -1
  649. package/out/test/address.gbr.test.js +0 -30
  650. package/out/test/address.gbr.test.js.map +0 -1
  651. package/out/test/address.hrv.test.d.ts +0 -7
  652. package/out/test/address.hrv.test.d.ts.map +0 -1
  653. package/out/test/address.hrv.test.js +0 -15
  654. package/out/test/address.hrv.test.js.map +0 -1
  655. package/out/test/address.ind.test.d.ts +0 -7
  656. package/out/test/address.ind.test.d.ts.map +0 -1
  657. package/out/test/address.ind.test.js +0 -17
  658. package/out/test/address.ind.test.js.map +0 -1
  659. package/out/test/address.nld.test.d.ts +0 -7
  660. package/out/test/address.nld.test.d.ts.map +0 -1
  661. package/out/test/address.nld.test.js +0 -162
  662. package/out/test/address.nld.test.js.map +0 -1
  663. package/out/test/address.nor.test.d.ts +0 -7
  664. package/out/test/address.nor.test.d.ts.map +0 -1
  665. package/out/test/address.nor.test.js +0 -70
  666. package/out/test/address.nor.test.js.map +0 -1
  667. package/out/test/address.nzd.test.d.ts +0 -7
  668. package/out/test/address.nzd.test.d.ts.map +0 -1
  669. package/out/test/address.nzd.test.js +0 -161
  670. package/out/test/address.nzd.test.js.map +0 -1
  671. package/out/test/address.pol.test.d.ts +0 -7
  672. package/out/test/address.pol.test.d.ts.map +0 -1
  673. package/out/test/address.pol.test.js +0 -51
  674. package/out/test/address.pol.test.js.map +0 -1
  675. package/out/test/address.prt.test.d.ts +0 -7
  676. package/out/test/address.prt.test.d.ts.map +0 -1
  677. package/out/test/address.prt.test.js +0 -71
  678. package/out/test/address.prt.test.js.map +0 -1
  679. package/out/test/address.rom.test.d.ts +0 -7
  680. package/out/test/address.rom.test.d.ts.map +0 -1
  681. package/out/test/address.rom.test.js +0 -44
  682. package/out/test/address.rom.test.js.map +0 -1
  683. package/out/test/address.svk.test.d.ts +0 -7
  684. package/out/test/address.svk.test.d.ts.map +0 -1
  685. package/out/test/address.svk.test.js +0 -14
  686. package/out/test/address.svk.test.js.map +0 -1
  687. package/out/test/address.swe.test.d.ts +0 -7
  688. package/out/test/address.swe.test.d.ts.map +0 -1
  689. package/out/test/address.swe.test.js +0 -35
  690. package/out/test/address.swe.test.js.map +0 -1
  691. package/out/test/address.usa.test.d.ts +0 -7
  692. package/out/test/address.usa.test.d.ts.map +0 -1
  693. package/out/test/address.usa.test.js +0 -506
  694. package/out/test/address.usa.test.js.map +0 -1
  695. package/out/test/addressit.aus.test.d.ts +0 -7
  696. package/out/test/addressit.aus.test.d.ts.map +0 -1
  697. package/out/test/addressit.aus.test.js +0 -94
  698. package/out/test/addressit.aus.test.js.map +0 -1
  699. package/out/test/addressit.usa.test.d.ts +0 -7
  700. package/out/test/addressit.usa.test.d.ts.map +0 -1
  701. package/out/test/addressit.usa.test.js +0 -174
  702. package/out/test/addressit.usa.test.js.map +0 -1
  703. package/out/test/compound_street.test.d.ts +0 -7
  704. package/out/test/compound_street.test.d.ts.map +0 -1
  705. package/out/test/compound_street.test.js +0 -35
  706. package/out/test/compound_street.test.js.map +0 -1
  707. package/out/test/functional.test.d.ts +0 -7
  708. package/out/test/functional.test.d.ts.map +0 -1
  709. package/out/test/functional.test.js +0 -217
  710. package/out/test/functional.test.js.map +0 -1
  711. package/out/test/intersection.test.d.ts +0 -7
  712. package/out/test/intersection.test.d.ts.map +0 -1
  713. package/out/test/intersection.test.js +0 -469
  714. package/out/test/intersection.test.js.map +0 -1
  715. package/out/test/libpostal.test.d.ts +0 -7
  716. package/out/test/libpostal.test.d.ts.map +0 -1
  717. package/out/test/libpostal.test.js +0 -17
  718. package/out/test/libpostal.test.js.map +0 -1
  719. package/out/test/place.fra.test.d.ts +0 -7
  720. package/out/test/place.fra.test.d.ts.map +0 -1
  721. package/out/test/place.fra.test.js +0 -103
  722. package/out/test/place.fra.test.js.map +0 -1
  723. package/out/test/transit.test.d.ts +0 -7
  724. package/out/test/transit.test.d.ts.map +0 -1
  725. package/out/test/transit.test.js +0 -19
  726. package/out/test/transit.test.js.map +0 -1
  727. package/out/test/venue.usa.test.d.ts +0 -7
  728. package/out/test/venue.usa.test.d.ts.map +0 -1
  729. package/out/test/venue.usa.test.js +0 -47
  730. package/out/test/venue.usa.test.js.map +0 -1
  731. package/out/utils/DebugOutputBuilder.d.ts +0 -11
  732. package/out/utils/index.d.ts +0 -8
  733. package/out/utils/parser.d.ts +0 -13
  734. package/resources/chromium-i18n/ssl-address/AC.json +0 -8
  735. package/resources/chromium-i18n/ssl-address/AD.json +0 -16
  736. package/resources/chromium-i18n/ssl-address/AE.json +0 -15
  737. package/resources/chromium-i18n/ssl-address/AF.json +0 -8
  738. package/resources/chromium-i18n/ssl-address/AG.json +0 -1
  739. package/resources/chromium-i18n/ssl-address/AI.json +0 -8
  740. package/resources/chromium-i18n/ssl-address/AL.json +0 -8
  741. package/resources/chromium-i18n/ssl-address/AM.json +0 -16
  742. package/resources/chromium-i18n/ssl-address/AO.json +0 -1
  743. package/resources/chromium-i18n/ssl-address/AQ.json +0 -1
  744. package/resources/chromium-i18n/ssl-address/AR.json +0 -16
  745. package/resources/chromium-i18n/ssl-address/AS.json +0 -13
  746. package/resources/chromium-i18n/ssl-address/AT.json +0 -10
  747. package/resources/chromium-i18n/ssl-address/AU.json +0 -20
  748. package/resources/chromium-i18n/ssl-address/AW.json +0 -1
  749. package/resources/chromium-i18n/ssl-address/AX.json +0 -11
  750. package/resources/chromium-i18n/ssl-address/AZ.json +0 -9
  751. package/resources/chromium-i18n/ssl-address/BA.json +0 -8
  752. package/resources/chromium-i18n/ssl-address/BB.json +0 -9
  753. package/resources/chromium-i18n/ssl-address/BD.json +0 -9
  754. package/resources/chromium-i18n/ssl-address/BE.json +0 -10
  755. package/resources/chromium-i18n/ssl-address/BF.json +0 -6
  756. package/resources/chromium-i18n/ssl-address/BG.json +0 -9
  757. package/resources/chromium-i18n/ssl-address/BH.json +0 -8
  758. package/resources/chromium-i18n/ssl-address/BI.json +0 -1
  759. package/resources/chromium-i18n/ssl-address/BJ.json +0 -1
  760. package/resources/chromium-i18n/ssl-address/BL.json +0 -11
  761. package/resources/chromium-i18n/ssl-address/BM.json +0 -9
  762. package/resources/chromium-i18n/ssl-address/BN.json +0 -9
  763. package/resources/chromium-i18n/ssl-address/BO.json +0 -1
  764. package/resources/chromium-i18n/ssl-address/BQ.json +0 -1
  765. package/resources/chromium-i18n/ssl-address/BR.json +0 -21
  766. package/resources/chromium-i18n/ssl-address/BS.json +0 -12
  767. package/resources/chromium-i18n/ssl-address/BT.json +0 -9
  768. package/resources/chromium-i18n/ssl-address/BV.json +0 -1
  769. package/resources/chromium-i18n/ssl-address/BW.json +0 -1
  770. package/resources/chromium-i18n/ssl-address/BY.json +0 -9
  771. package/resources/chromium-i18n/ssl-address/BZ.json +0 -1
  772. package/resources/chromium-i18n/ssl-address/CA.json +0 -17
  773. package/resources/chromium-i18n/ssl-address/CC.json +0 -9
  774. package/resources/chromium-i18n/ssl-address/CD.json +0 -1
  775. package/resources/chromium-i18n/ssl-address/CF.json +0 -1
  776. package/resources/chromium-i18n/ssl-address/CG.json +0 -1
  777. package/resources/chromium-i18n/ssl-address/CH.json +0 -12
  778. package/resources/chromium-i18n/ssl-address/CI.json +0 -6
  779. package/resources/chromium-i18n/ssl-address/CK.json +0 -1
  780. package/resources/chromium-i18n/ssl-address/CL.json +0 -15
  781. package/resources/chromium-i18n/ssl-address/CM.json +0 -1
  782. package/resources/chromium-i18n/ssl-address/CN.json +0 -22
  783. package/resources/chromium-i18n/ssl-address/CO.json +0 -11
  784. package/resources/chromium-i18n/ssl-address/CR.json +0 -10
  785. package/resources/chromium-i18n/ssl-address/CU.json +0 -12
  786. package/resources/chromium-i18n/ssl-address/CV.json +0 -13
  787. package/resources/chromium-i18n/ssl-address/CW.json +0 -1
  788. package/resources/chromium-i18n/ssl-address/CX.json +0 -9
  789. package/resources/chromium-i18n/ssl-address/CY.json +0 -8
  790. package/resources/chromium-i18n/ssl-address/CZ.json +0 -10
  791. package/resources/chromium-i18n/ssl-address/DE.json +0 -10
  792. package/resources/chromium-i18n/ssl-address/DJ.json +0 -1
  793. package/resources/chromium-i18n/ssl-address/DK.json +0 -10
  794. package/resources/chromium-i18n/ssl-address/DM.json +0 -1
  795. package/resources/chromium-i18n/ssl-address/DO.json +0 -9
  796. package/resources/chromium-i18n/ssl-address/DZ.json +0 -8
  797. package/resources/chromium-i18n/ssl-address/EC.json +0 -10
  798. package/resources/chromium-i18n/ssl-address/EE.json +0 -9
  799. package/resources/chromium-i18n/ssl-address/EG.json +0 -16
  800. package/resources/chromium-i18n/ssl-address/EH.json +0 -8
  801. package/resources/chromium-i18n/ssl-address/ER.json +0 -1
  802. package/resources/chromium-i18n/ssl-address/ES.json +0 -16
  803. package/resources/chromium-i18n/ssl-address/ET.json +0 -8
  804. package/resources/chromium-i18n/ssl-address/FI.json +0 -11
  805. package/resources/chromium-i18n/ssl-address/FJ.json +0 -1
  806. package/resources/chromium-i18n/ssl-address/FK.json +0 -10
  807. package/resources/chromium-i18n/ssl-address/FM.json +0 -13
  808. package/resources/chromium-i18n/ssl-address/FO.json +0 -10
  809. package/resources/chromium-i18n/ssl-address/FR.json +0 -11
  810. package/resources/chromium-i18n/ssl-address/GA.json +0 -1
  811. package/resources/chromium-i18n/ssl-address/GB.json +0 -12
  812. package/resources/chromium-i18n/ssl-address/GD.json +0 -1
  813. package/resources/chromium-i18n/ssl-address/GE.json +0 -9
  814. package/resources/chromium-i18n/ssl-address/GF.json +0 -11
  815. package/resources/chromium-i18n/ssl-address/GG.json +0 -11
  816. package/resources/chromium-i18n/ssl-address/GH.json +0 -1
  817. package/resources/chromium-i18n/ssl-address/GI.json +0 -9
  818. package/resources/chromium-i18n/ssl-address/GL.json +0 -9
  819. package/resources/chromium-i18n/ssl-address/GM.json +0 -1
  820. package/resources/chromium-i18n/ssl-address/GN.json +0 -8
  821. package/resources/chromium-i18n/ssl-address/GP.json +0 -11
  822. package/resources/chromium-i18n/ssl-address/GQ.json +0 -1
  823. package/resources/chromium-i18n/ssl-address/GR.json +0 -10
  824. package/resources/chromium-i18n/ssl-address/GS.json +0 -10
  825. package/resources/chromium-i18n/ssl-address/GT.json +0 -8
  826. package/resources/chromium-i18n/ssl-address/GU.json +0 -12
  827. package/resources/chromium-i18n/ssl-address/GW.json +0 -8
  828. package/resources/chromium-i18n/ssl-address/GY.json +0 -1
  829. package/resources/chromium-i18n/ssl-address/HK.json +0 -16
  830. package/resources/chromium-i18n/ssl-address/HM.json +0 -9
  831. package/resources/chromium-i18n/ssl-address/HN.json +0 -9
  832. package/resources/chromium-i18n/ssl-address/HR.json +0 -10
  833. package/resources/chromium-i18n/ssl-address/HT.json +0 -9
  834. package/resources/chromium-i18n/ssl-address/HU.json +0 -11
  835. package/resources/chromium-i18n/ssl-address/ID.json +0 -13
  836. package/resources/chromium-i18n/ssl-address/IE.json +0 -16
  837. package/resources/chromium-i18n/ssl-address/IL.json +0 -9
  838. package/resources/chromium-i18n/ssl-address/IM.json +0 -11
  839. package/resources/chromium-i18n/ssl-address/IN.json +0 -18
  840. package/resources/chromium-i18n/ssl-address/IO.json +0 -10
  841. package/resources/chromium-i18n/ssl-address/IQ.json +0 -10
  842. package/resources/chromium-i18n/ssl-address/IR.json +0 -14
  843. package/resources/chromium-i18n/ssl-address/IS.json +0 -9
  844. package/resources/chromium-i18n/ssl-address/IT.json +0 -17
  845. package/resources/chromium-i18n/ssl-address/JE.json +0 -11
  846. package/resources/chromium-i18n/ssl-address/JM.json +0 -12
  847. package/resources/chromium-i18n/ssl-address/JO.json +0 -8
  848. package/resources/chromium-i18n/ssl-address/JP.json +0 -19
  849. package/resources/chromium-i18n/ssl-address/KE.json +0 -8
  850. package/resources/chromium-i18n/ssl-address/KG.json +0 -8
  851. package/resources/chromium-i18n/ssl-address/KH.json +0 -8
  852. package/resources/chromium-i18n/ssl-address/KI.json +0 -8
  853. package/resources/chromium-i18n/ssl-address/KM.json +0 -1
  854. package/resources/chromium-i18n/ssl-address/KN.json +0 -12
  855. package/resources/chromium-i18n/ssl-address/KP.json +0 -12
  856. package/resources/chromium-i18n/ssl-address/KR.json +0 -23
  857. package/resources/chromium-i18n/ssl-address/KW.json +0 -8
  858. package/resources/chromium-i18n/ssl-address/KY.json +0 -14
  859. package/resources/chromium-i18n/ssl-address/KZ.json +0 -8
  860. package/resources/chromium-i18n/ssl-address/LA.json +0 -8
  861. package/resources/chromium-i18n/ssl-address/LB.json +0 -8
  862. package/resources/chromium-i18n/ssl-address/LC.json +0 -1
  863. package/resources/chromium-i18n/ssl-address/LI.json +0 -11
  864. package/resources/chromium-i18n/ssl-address/LK.json +0 -9
  865. package/resources/chromium-i18n/ssl-address/LR.json +0 -8
  866. package/resources/chromium-i18n/ssl-address/LS.json +0 -8
  867. package/resources/chromium-i18n/ssl-address/LT.json +0 -10
  868. package/resources/chromium-i18n/ssl-address/LU.json +0 -11
  869. package/resources/chromium-i18n/ssl-address/LV.json +0 -9
  870. package/resources/chromium-i18n/ssl-address/LY.json +0 -1
  871. package/resources/chromium-i18n/ssl-address/MA.json +0 -8
  872. package/resources/chromium-i18n/ssl-address/MC.json +0 -9
  873. package/resources/chromium-i18n/ssl-address/MD.json +0 -9
  874. package/resources/chromium-i18n/ssl-address/ME.json +0 -8
  875. package/resources/chromium-i18n/ssl-address/MF.json +0 -11
  876. package/resources/chromium-i18n/ssl-address/MG.json +0 -8
  877. package/resources/chromium-i18n/ssl-address/MH.json +0 -13
  878. package/resources/chromium-i18n/ssl-address/MK.json +0 -8
  879. package/resources/chromium-i18n/ssl-address/ML.json +0 -1
  880. package/resources/chromium-i18n/ssl-address/MM.json +0 -8
  881. package/resources/chromium-i18n/ssl-address/MN.json +0 -9
  882. package/resources/chromium-i18n/ssl-address/MO.json +0 -8
  883. package/resources/chromium-i18n/ssl-address/MP.json +0 -13
  884. package/resources/chromium-i18n/ssl-address/MQ.json +0 -11
  885. package/resources/chromium-i18n/ssl-address/MR.json +0 -1
  886. package/resources/chromium-i18n/ssl-address/MS.json +0 -1
  887. package/resources/chromium-i18n/ssl-address/MT.json +0 -10
  888. package/resources/chromium-i18n/ssl-address/MU.json +0 -9
  889. package/resources/chromium-i18n/ssl-address/MV.json +0 -9
  890. package/resources/chromium-i18n/ssl-address/MW.json +0 -1
  891. package/resources/chromium-i18n/ssl-address/MX.json +0 -20
  892. package/resources/chromium-i18n/ssl-address/MY.json +0 -19
  893. package/resources/chromium-i18n/ssl-address/MZ.json +0 -12
  894. package/resources/chromium-i18n/ssl-address/NA.json +0 -1
  895. package/resources/chromium-i18n/ssl-address/NC.json +0 -11
  896. package/resources/chromium-i18n/ssl-address/NE.json +0 -8
  897. package/resources/chromium-i18n/ssl-address/NF.json +0 -9
  898. package/resources/chromium-i18n/ssl-address/NG.json +0 -15
  899. package/resources/chromium-i18n/ssl-address/NI.json +0 -16
  900. package/resources/chromium-i18n/ssl-address/NL.json +0 -10
  901. package/resources/chromium-i18n/ssl-address/NO.json +0 -11
  902. package/resources/chromium-i18n/ssl-address/NP.json +0 -9
  903. package/resources/chromium-i18n/ssl-address/NR.json +0 -12
  904. package/resources/chromium-i18n/ssl-address/NU.json +0 -1
  905. package/resources/chromium-i18n/ssl-address/NZ.json +0 -10
  906. package/resources/chromium-i18n/ssl-address/OM.json +0 -8
  907. package/resources/chromium-i18n/ssl-address/PA.json +0 -7
  908. package/resources/chromium-i18n/ssl-address/PE.json +0 -14
  909. package/resources/chromium-i18n/ssl-address/PF.json +0 -11
  910. package/resources/chromium-i18n/ssl-address/PG.json +0 -9
  911. package/resources/chromium-i18n/ssl-address/PH.json +0 -15
  912. package/resources/chromium-i18n/ssl-address/PK.json +0 -9
  913. package/resources/chromium-i18n/ssl-address/PL.json +0 -10
  914. package/resources/chromium-i18n/ssl-address/PM.json +0 -10
  915. package/resources/chromium-i18n/ssl-address/PN.json +0 -10
  916. package/resources/chromium-i18n/ssl-address/PR.json +0 -13
  917. package/resources/chromium-i18n/ssl-address/PS.json +0 -1
  918. package/resources/chromium-i18n/ssl-address/PT.json +0 -10
  919. package/resources/chromium-i18n/ssl-address/PW.json +0 -13
  920. package/resources/chromium-i18n/ssl-address/PY.json +0 -8
  921. package/resources/chromium-i18n/ssl-address/QA.json +0 -1
  922. package/resources/chromium-i18n/ssl-address/RE.json +0 -11
  923. package/resources/chromium-i18n/ssl-address/RO.json +0 -10
  924. package/resources/chromium-i18n/ssl-address/RS.json +0 -9
  925. package/resources/chromium-i18n/ssl-address/RU.json +0 -20
  926. package/resources/chromium-i18n/ssl-address/RW.json +0 -1
  927. package/resources/chromium-i18n/ssl-address/SA.json +0 -8
  928. package/resources/chromium-i18n/ssl-address/SB.json +0 -1
  929. package/resources/chromium-i18n/ssl-address/SC.json +0 -8
  930. package/resources/chromium-i18n/ssl-address/SD.json +0 -9
  931. package/resources/chromium-i18n/ssl-address/SE.json +0 -12
  932. package/resources/chromium-i18n/ssl-address/SG.json +0 -10
  933. package/resources/chromium-i18n/ssl-address/SH.json +0 -10
  934. package/resources/chromium-i18n/ssl-address/SI.json +0 -9
  935. package/resources/chromium-i18n/ssl-address/SJ.json +0 -11
  936. package/resources/chromium-i18n/ssl-address/SK.json +0 -10
  937. package/resources/chromium-i18n/ssl-address/SL.json +0 -1
  938. package/resources/chromium-i18n/ssl-address/SM.json +0 -10
  939. package/resources/chromium-i18n/ssl-address/SN.json +0 -8
  940. package/resources/chromium-i18n/ssl-address/SO.json +0 -15
  941. package/resources/chromium-i18n/ssl-address/SR.json +0 -11
  942. package/resources/chromium-i18n/ssl-address/SS.json +0 -1
  943. package/resources/chromium-i18n/ssl-address/ST.json +0 -1
  944. package/resources/chromium-i18n/ssl-address/SV.json +0 -17
  945. package/resources/chromium-i18n/ssl-address/SX.json +0 -1
  946. package/resources/chromium-i18n/ssl-address/SY.json +0 -6
  947. package/resources/chromium-i18n/ssl-address/SZ.json +0 -10
  948. package/resources/chromium-i18n/ssl-address/TA.json +0 -8
  949. package/resources/chromium-i18n/ssl-address/TC.json +0 -10
  950. package/resources/chromium-i18n/ssl-address/TD.json +0 -1
  951. package/resources/chromium-i18n/ssl-address/TF.json +0 -1
  952. package/resources/chromium-i18n/ssl-address/TG.json +0 -1
  953. package/resources/chromium-i18n/ssl-address/TH.json +0 -16
  954. package/resources/chromium-i18n/ssl-address/TJ.json +0 -8
  955. package/resources/chromium-i18n/ssl-address/TK.json +0 -1
  956. package/resources/chromium-i18n/ssl-address/TL.json +0 -1
  957. package/resources/chromium-i18n/ssl-address/TM.json +0 -8
  958. package/resources/chromium-i18n/ssl-address/TN.json +0 -9
  959. package/resources/chromium-i18n/ssl-address/TO.json +0 -1
  960. package/resources/chromium-i18n/ssl-address/TR.json +0 -16
  961. package/resources/chromium-i18n/ssl-address/TT.json +0 -1
  962. package/resources/chromium-i18n/ssl-address/TV.json +0 -12
  963. package/resources/chromium-i18n/ssl-address/TW.json +0 -20
  964. package/resources/chromium-i18n/ssl-address/TZ.json +0 -8
  965. package/resources/chromium-i18n/ssl-address/UA.json +0 -19
  966. package/resources/chromium-i18n/ssl-address/UG.json +0 -1
  967. package/resources/chromium-i18n/ssl-address/UM.json +0 -13
  968. package/resources/chromium-i18n/ssl-address/US.json +0 -20
  969. package/resources/chromium-i18n/ssl-address/UY.json +0 -15
  970. package/resources/chromium-i18n/ssl-address/UZ.json +0 -10
  971. package/resources/chromium-i18n/ssl-address/VA.json +0 -8
  972. package/resources/chromium-i18n/ssl-address/VC.json +0 -9
  973. package/resources/chromium-i18n/ssl-address/VE.json +0 -16
  974. package/resources/chromium-i18n/ssl-address/VG.json +0 -9
  975. package/resources/chromium-i18n/ssl-address/VI.json +0 -13
  976. package/resources/chromium-i18n/ssl-address/VN.json +0 -15
  977. package/resources/chromium-i18n/ssl-address/VU.json +0 -1
  978. package/resources/chromium-i18n/ssl-address/WF.json +0 -10
  979. package/resources/chromium-i18n/ssl-address/WS.json +0 -1
  980. package/resources/chromium-i18n/ssl-address/XK.json +0 -8
  981. package/resources/chromium-i18n/ssl-address/YE.json +0 -1
  982. package/resources/chromium-i18n/ssl-address/YT.json +0 -10
  983. package/resources/chromium-i18n/ssl-address/ZA.json +0 -10
  984. package/resources/chromium-i18n/ssl-address/ZM.json +0 -8
  985. package/resources/chromium-i18n/ssl-address/ZW.json +0 -1
  986. package/resources/chromium-i18n/ssl-address-download.sh +0 -15
  987. package/resources/internal/dictionaries/languages.csv +0 -184
  988. package/resources/internal/dictionaries/libpostal/af/personal_titles.txt +0 -2
  989. package/resources/internal/dictionaries/libpostal/all/surnames.txt +0 -1
  990. package/resources/internal/dictionaries/libpostal/de/academic_degrees.txt +0 -7
  991. package/resources/internal/dictionaries/libpostal/de/concatenated_suffixes_separable.txt +0 -3
  992. package/resources/internal/dictionaries/libpostal/de/near.txt +0 -2
  993. package/resources/internal/dictionaries/libpostal/de/place_names.txt +0 -11
  994. package/resources/internal/dictionaries/libpostal/de/stopwords.txt +0 -1
  995. package/resources/internal/dictionaries/libpostal/de/street_types.txt +0 -2
  996. package/resources/internal/dictionaries/libpostal/en/place_names.txt +0 -7
  997. package/resources/internal/dictionaries/libpostal/en/road_types.txt +0 -18
  998. package/resources/internal/dictionaries/libpostal/en/street_names.txt +0 -2
  999. package/resources/internal/dictionaries/libpostal/en/street_types.txt +0 -16
  1000. package/resources/internal/dictionaries/libpostal/en/unit_types_numbered.txt +0 -3
  1001. package/resources/internal/dictionaries/libpostal/es/street_types.txt +0 -2
  1002. package/resources/internal/dictionaries/libpostal/fr/personal_titles.txt +0 -4
  1003. package/resources/internal/dictionaries/libpostal/fr/stopwords.txt +0 -2
  1004. package/resources/internal/dictionaries/libpostal/fr/street_types.txt +0 -5
  1005. package/resources/internal/dictionaries/libpostal/it/street_types.txt +0 -2
  1006. package/resources/internal/dictionaries/libpostal/ko/street_types.txt +0 -1
  1007. package/resources/internal/dictionaries/libpostal/nb/concatenated_suffixes_inseparable.txt +0 -40
  1008. package/resources/internal/dictionaries/libpostal/nb/directionals.txt +0 -8
  1009. package/resources/internal/dictionaries/libpostal/nb/street_types.txt +0 -36
  1010. package/resources/internal/dictionaries/libpostal/nl/concatenated_suffixes_inseparable.txt +0 -1
  1011. package/resources/internal/dictionaries/libpostal/nl/concatenated_suffixes_separable.txt +0 -8
  1012. package/resources/internal/dictionaries/libpostal/nl/directionals.txt +0 -4
  1013. package/resources/internal/dictionaries/libpostal/nl/personal_suffixes.txt +0 -4
  1014. package/resources/internal/dictionaries/libpostal/nl/personal_titles.txt +0 -43
  1015. package/resources/internal/dictionaries/libpostal/pl/place_names.txt +0 -1
  1016. package/resources/internal/dictionaries/libpostal/pl/synonyms.txt +0 -1
  1017. package/resources/internal/dictionaries/libpostal/sv/concatenated_suffixes_separable.txt +0 -1
  1018. package/resources/internal/dictionaries/whosonfirst/locality/name:eng_x_preferred.txt +0 -81
  1019. package/resources/internal/dictionaries/whosonfirst/locality/name:fra_x_preferred.txt +0 -2
  1020. package/resources/internal/dictionaries/whosonfirst/region/name:eng_x_preferred.txt +0 -2
  1021. package/resources/libpostal/dictionaries/README.md +0 -88
  1022. package/resources/libpostal/dictionaries/af/ambiguous_expansions.txt +0 -8
  1023. package/resources/libpostal/dictionaries/af/concatenated_suffixes_inseparable.txt +0 -1
  1024. package/resources/libpostal/dictionaries/af/concatenated_suffixes_separable.txt +0 -14
  1025. package/resources/libpostal/dictionaries/af/directionals.txt +0 -12
  1026. package/resources/libpostal/dictionaries/af/personal_titles.txt +0 -23
  1027. package/resources/libpostal/dictionaries/af/place_names.txt +0 -2
  1028. package/resources/libpostal/dictionaries/af/qualifiers.txt +0 -4
  1029. package/resources/libpostal/dictionaries/af/stopwords.txt +0 -38
  1030. package/resources/libpostal/dictionaries/af/street_types.txt +0 -21
  1031. package/resources/libpostal/dictionaries/all/ambiguous_expansions.txt +0 -1
  1032. package/resources/libpostal/dictionaries/all/chains.txt +0 -504
  1033. package/resources/libpostal/dictionaries/all/given_names.txt +0 -12715
  1034. package/resources/libpostal/dictionaries/all/people.txt +0 -5
  1035. package/resources/libpostal/dictionaries/all/surnames.txt +0 -49375
  1036. package/resources/libpostal/dictionaries/ar/personal_titles.txt +0 -4
  1037. package/resources/libpostal/dictionaries/ar/place_names.txt +0 -1
  1038. package/resources/libpostal/dictionaries/ar/street_types.txt +0 -11
  1039. package/resources/libpostal/dictionaries/ast/ambiguous_expansions.txt +0 -1
  1040. package/resources/libpostal/dictionaries/ast/personal_titles.txt +0 -1
  1041. package/resources/libpostal/dictionaries/ast/street_types.txt +0 -3
  1042. package/resources/libpostal/dictionaries/az/building_types.txt +0 -1
  1043. package/resources/libpostal/dictionaries/az/directionals.txt +0 -8
  1044. package/resources/libpostal/dictionaries/az/personal_titles.txt +0 -3
  1045. package/resources/libpostal/dictionaries/az/place_names.txt +0 -1
  1046. package/resources/libpostal/dictionaries/az/street_types.txt +0 -18
  1047. package/resources/libpostal/dictionaries/be/ambiguous_expansions.txt +0 -8
  1048. package/resources/libpostal/dictionaries/be/building_types.txt +0 -2
  1049. package/resources/libpostal/dictionaries/be/chains.txt +0 -8
  1050. package/resources/libpostal/dictionaries/be/directionals.txt +0 -25
  1051. package/resources/libpostal/dictionaries/be/house_numbers.txt +0 -2
  1052. package/resources/libpostal/dictionaries/be/personal_titles.txt +0 -6
  1053. package/resources/libpostal/dictionaries/be/qualifiers.txt +0 -20
  1054. package/resources/libpostal/dictionaries/be/street_types.txt +0 -28
  1055. package/resources/libpostal/dictionaries/be/unit_types_numbered.txt +0 -2
  1056. package/resources/libpostal/dictionaries/bg/ambiguous_expansions.txt +0 -2
  1057. package/resources/libpostal/dictionaries/bg/cross_streets.txt +0 -10
  1058. package/resources/libpostal/dictionaries/bg/directionals.txt +0 -8
  1059. package/resources/libpostal/dictionaries/bg/entrances.txt +0 -2
  1060. package/resources/libpostal/dictionaries/bg/level_types_numbered.txt +0 -6
  1061. package/resources/libpostal/dictionaries/bg/level_types_standalone.txt +0 -4
  1062. package/resources/libpostal/dictionaries/bg/near.txt +0 -20
  1063. package/resources/libpostal/dictionaries/bg/number.txt +0 -2
  1064. package/resources/libpostal/dictionaries/bg/personal_titles.txt +0 -14
  1065. package/resources/libpostal/dictionaries/bg/place_names.txt +0 -6
  1066. package/resources/libpostal/dictionaries/bg/post_office.txt +0 -2
  1067. package/resources/libpostal/dictionaries/bg/qualifiers.txt +0 -10
  1068. package/resources/libpostal/dictionaries/bg/staircases.txt +0 -2
  1069. package/resources/libpostal/dictionaries/bg/street_types.txt +0 -6
  1070. package/resources/libpostal/dictionaries/bg/unit_directions.txt +0 -4
  1071. package/resources/libpostal/dictionaries/bg/unit_types_numbered.txt +0 -6
  1072. package/resources/libpostal/dictionaries/br/personal_titles.txt +0 -3
  1073. package/resources/libpostal/dictionaries/br/place_names.txt +0 -3
  1074. package/resources/libpostal/dictionaries/br/qualifiers.txt +0 -1
  1075. package/resources/libpostal/dictionaries/br/stopwords.txt +0 -4
  1076. package/resources/libpostal/dictionaries/br/street_types.txt +0 -40
  1077. package/resources/libpostal/dictionaries/bs/ambiguous_expansions.txt +0 -5
  1078. package/resources/libpostal/dictionaries/bs/building_types.txt +0 -1
  1079. package/resources/libpostal/dictionaries/bs/cross_streets.txt +0 -6
  1080. package/resources/libpostal/dictionaries/bs/directionals.txt +0 -4
  1081. package/resources/libpostal/dictionaries/bs/entrances.txt +0 -1
  1082. package/resources/libpostal/dictionaries/bs/level_types_basement.txt +0 -1
  1083. package/resources/libpostal/dictionaries/bs/level_types_mezzanine.txt +0 -1
  1084. package/resources/libpostal/dictionaries/bs/level_types_numbered.txt +0 -2
  1085. package/resources/libpostal/dictionaries/bs/level_types_standalone.txt +0 -2
  1086. package/resources/libpostal/dictionaries/bs/near.txt +0 -5
  1087. package/resources/libpostal/dictionaries/bs/no_number.txt +0 -1
  1088. package/resources/libpostal/dictionaries/bs/number.txt +0 -1
  1089. package/resources/libpostal/dictionaries/bs/personal_titles.txt +0 -8
  1090. package/resources/libpostal/dictionaries/bs/place_names.txt +0 -9
  1091. package/resources/libpostal/dictionaries/bs/post_office.txt +0 -1
  1092. package/resources/libpostal/dictionaries/bs/qualifiers.txt +0 -2
  1093. package/resources/libpostal/dictionaries/bs/staircases.txt +0 -1
  1094. package/resources/libpostal/dictionaries/bs/stopwords.txt +0 -2
  1095. package/resources/libpostal/dictionaries/bs/street_types.txt +0 -12
  1096. package/resources/libpostal/dictionaries/bs/unit_directions.txt +0 -2
  1097. package/resources/libpostal/dictionaries/bs/unit_types_numbered.txt +0 -4
  1098. package/resources/libpostal/dictionaries/ca/ambiguous_expansions.txt +0 -9
  1099. package/resources/libpostal/dictionaries/ca/cross_streets.txt +0 -8
  1100. package/resources/libpostal/dictionaries/ca/directionals.txt +0 -9
  1101. package/resources/libpostal/dictionaries/ca/elisions.txt +0 -1
  1102. package/resources/libpostal/dictionaries/ca/entrances.txt +0 -1
  1103. package/resources/libpostal/dictionaries/ca/given_names.txt +0 -1
  1104. package/resources/libpostal/dictionaries/ca/level_types_basement.txt +0 -1
  1105. package/resources/libpostal/dictionaries/ca/level_types_mezzanine.txt +0 -1
  1106. package/resources/libpostal/dictionaries/ca/level_types_numbered.txt +0 -2
  1107. package/resources/libpostal/dictionaries/ca/level_types_standalone.txt +0 -5
  1108. package/resources/libpostal/dictionaries/ca/level_types_sub_basement.txt +0 -1
  1109. package/resources/libpostal/dictionaries/ca/near.txt +0 -12
  1110. package/resources/libpostal/dictionaries/ca/no_number.txt +0 -1
  1111. package/resources/libpostal/dictionaries/ca/number.txt +0 -1
  1112. package/resources/libpostal/dictionaries/ca/personal_titles.txt +0 -10
  1113. package/resources/libpostal/dictionaries/ca/place_names.txt +0 -133
  1114. package/resources/libpostal/dictionaries/ca/post_office.txt +0 -1
  1115. package/resources/libpostal/dictionaries/ca/postcodes.txt +0 -1
  1116. package/resources/libpostal/dictionaries/ca/qualifiers.txt +0 -8
  1117. package/resources/libpostal/dictionaries/ca/staircases.txt +0 -1
  1118. package/resources/libpostal/dictionaries/ca/stopwords.txt +0 -31
  1119. package/resources/libpostal/dictionaries/ca/street_types.txt +0 -28
  1120. package/resources/libpostal/dictionaries/ca/synonyms.txt +0 -14
  1121. package/resources/libpostal/dictionaries/ca/unit_directions.txt +0 -2
  1122. package/resources/libpostal/dictionaries/ca/unit_types_numbered.txt +0 -10
  1123. package/resources/libpostal/dictionaries/cs/ambiguous_expansions.txt +0 -6
  1124. package/resources/libpostal/dictionaries/cs/chains.txt +0 -1
  1125. package/resources/libpostal/dictionaries/cs/cross_streets.txt +0 -9
  1126. package/resources/libpostal/dictionaries/cs/directionals.txt +0 -4
  1127. package/resources/libpostal/dictionaries/cs/entrances.txt +0 -1
  1128. package/resources/libpostal/dictionaries/cs/house_numbers.txt +0 -1
  1129. package/resources/libpostal/dictionaries/cs/level_types_basement.txt +0 -1
  1130. package/resources/libpostal/dictionaries/cs/level_types_numbered.txt +0 -3
  1131. package/resources/libpostal/dictionaries/cs/level_types_standalone.txt +0 -1
  1132. package/resources/libpostal/dictionaries/cs/near.txt +0 -12
  1133. package/resources/libpostal/dictionaries/cs/number.txt +0 -1
  1134. package/resources/libpostal/dictionaries/cs/personal_titles.txt +0 -2
  1135. package/resources/libpostal/dictionaries/cs/place_names.txt +0 -47
  1136. package/resources/libpostal/dictionaries/cs/post_office.txt +0 -1
  1137. package/resources/libpostal/dictionaries/cs/staircases.txt +0 -1
  1138. package/resources/libpostal/dictionaries/cs/stopwords.txt +0 -1
  1139. package/resources/libpostal/dictionaries/cs/street_types.txt +0 -6
  1140. package/resources/libpostal/dictionaries/cs/unit_directions.txt +0 -2
  1141. package/resources/libpostal/dictionaries/cs/unit_types_numbered.txt +0 -3
  1142. package/resources/libpostal/dictionaries/cy/building_types.txt +0 -5
  1143. package/resources/libpostal/dictionaries/cy/directionals.txt +0 -4
  1144. package/resources/libpostal/dictionaries/cy/personal_titles.txt +0 -2
  1145. package/resources/libpostal/dictionaries/cy/place_names.txt +0 -22
  1146. package/resources/libpostal/dictionaries/cy/qualifiers.txt +0 -2
  1147. package/resources/libpostal/dictionaries/cy/stopwords.txt +0 -3
  1148. package/resources/libpostal/dictionaries/cy/street_types.txt +0 -22
  1149. package/resources/libpostal/dictionaries/da/academic_degrees.txt +0 -1
  1150. package/resources/libpostal/dictionaries/da/ambiguous_expansions.txt +0 -7
  1151. package/resources/libpostal/dictionaries/da/building_types.txt +0 -3
  1152. package/resources/libpostal/dictionaries/da/concatenated_suffixes_inseparable.txt +0 -21
  1153. package/resources/libpostal/dictionaries/da/concatenated_suffixes_separable.txt +0 -9
  1154. package/resources/libpostal/dictionaries/da/cross_streets.txt +0 -5
  1155. package/resources/libpostal/dictionaries/da/directionals.txt +0 -13
  1156. package/resources/libpostal/dictionaries/da/entrances.txt +0 -1
  1157. package/resources/libpostal/dictionaries/da/level_types_basement.txt +0 -1
  1158. package/resources/libpostal/dictionaries/da/level_types_numbered.txt +0 -2
  1159. package/resources/libpostal/dictionaries/da/level_types_standalone.txt +0 -2
  1160. package/resources/libpostal/dictionaries/da/near.txt +0 -14
  1161. package/resources/libpostal/dictionaries/da/number.txt +0 -1
  1162. package/resources/libpostal/dictionaries/da/personal_titles.txt +0 -1
  1163. package/resources/libpostal/dictionaries/da/place_names.txt +0 -7
  1164. package/resources/libpostal/dictionaries/da/post_office.txt +0 -2
  1165. package/resources/libpostal/dictionaries/da/staircases.txt +0 -2
  1166. package/resources/libpostal/dictionaries/da/stopwords.txt +0 -1
  1167. package/resources/libpostal/dictionaries/da/street_types.txt +0 -38
  1168. package/resources/libpostal/dictionaries/da/synonyms.txt +0 -2
  1169. package/resources/libpostal/dictionaries/da/unit_directions.txt +0 -3
  1170. package/resources/libpostal/dictionaries/da/unit_types_numbered.txt +0 -2
  1171. package/resources/libpostal/dictionaries/de/academic_degrees.txt +0 -5
  1172. package/resources/libpostal/dictionaries/de/ambiguous_expansions.txt +0 -18
  1173. package/resources/libpostal/dictionaries/de/chains.txt +0 -11
  1174. package/resources/libpostal/dictionaries/de/company_types.txt +0 -8
  1175. package/resources/libpostal/dictionaries/de/concatenated_prefixes_separable.txt +0 -17
  1176. package/resources/libpostal/dictionaries/de/concatenated_suffixes_inseparable.txt +0 -5
  1177. package/resources/libpostal/dictionaries/de/concatenated_suffixes_separable.txt +0 -16
  1178. package/resources/libpostal/dictionaries/de/cross_streets.txt +0 -5
  1179. package/resources/libpostal/dictionaries/de/directionals.txt +0 -41
  1180. package/resources/libpostal/dictionaries/de/entrances.txt +0 -1
  1181. package/resources/libpostal/dictionaries/de/house_numbers.txt +0 -1
  1182. package/resources/libpostal/dictionaries/de/level_types_basement.txt +0 -1
  1183. package/resources/libpostal/dictionaries/de/level_types_numbered.txt +0 -3
  1184. package/resources/libpostal/dictionaries/de/level_types_standalone.txt +0 -4
  1185. package/resources/libpostal/dictionaries/de/near.txt +0 -16
  1186. package/resources/libpostal/dictionaries/de/number.txt +0 -1
  1187. package/resources/libpostal/dictionaries/de/personal_suffixes.txt +0 -2
  1188. package/resources/libpostal/dictionaries/de/personal_titles.txt +0 -18
  1189. package/resources/libpostal/dictionaries/de/place_names.txt +0 -123
  1190. package/resources/libpostal/dictionaries/de/post_office.txt +0 -1
  1191. package/resources/libpostal/dictionaries/de/qualifiers.txt +0 -3
  1192. package/resources/libpostal/dictionaries/de/staircases.txt +0 -2
  1193. package/resources/libpostal/dictionaries/de/stopwords.txt +0 -39
  1194. package/resources/libpostal/dictionaries/de/street_types.txt +0 -36
  1195. package/resources/libpostal/dictionaries/de/synonyms.txt +0 -16
  1196. package/resources/libpostal/dictionaries/de/toponyms.txt +0 -28
  1197. package/resources/libpostal/dictionaries/de/unit_directions.txt +0 -2
  1198. package/resources/libpostal/dictionaries/de/unit_types_numbered.txt +0 -7
  1199. package/resources/libpostal/dictionaries/el/ambiguous_expansions.txt +0 -1
  1200. package/resources/libpostal/dictionaries/el/building_types.txt +0 -2
  1201. package/resources/libpostal/dictionaries/el/entrances.txt +0 -2
  1202. package/resources/libpostal/dictionaries/el/given_names.txt +0 -6
  1203. package/resources/libpostal/dictionaries/el/level_types_basement.txt +0 -2
  1204. package/resources/libpostal/dictionaries/el/level_types_mezzanine.txt +0 -2
  1205. package/resources/libpostal/dictionaries/el/level_types_numbered.txt +0 -2
  1206. package/resources/libpostal/dictionaries/el/level_types_standalone.txt +0 -2
  1207. package/resources/libpostal/dictionaries/el/personal_titles.txt +0 -12
  1208. package/resources/libpostal/dictionaries/el/place_names.txt +0 -18
  1209. package/resources/libpostal/dictionaries/el/post_office.txt +0 -2
  1210. package/resources/libpostal/dictionaries/el/postcodes.txt +0 -2
  1211. package/resources/libpostal/dictionaries/el/qualifiers.txt +0 -6
  1212. package/resources/libpostal/dictionaries/el/staircases.txt +0 -2
  1213. package/resources/libpostal/dictionaries/el/street_types.txt +0 -6
  1214. package/resources/libpostal/dictionaries/el/synonyms.txt +0 -41
  1215. package/resources/libpostal/dictionaries/el/toponyms.txt +0 -3
  1216. package/resources/libpostal/dictionaries/el/unit_types_numbered.txt +0 -6
  1217. package/resources/libpostal/dictionaries/en/academic_degrees.txt +0 -27
  1218. package/resources/libpostal/dictionaries/en/ambiguous_expansions.txt +0 -178
  1219. package/resources/libpostal/dictionaries/en/building_types.txt +0 -19
  1220. package/resources/libpostal/dictionaries/en/chains.txt +0 -6
  1221. package/resources/libpostal/dictionaries/en/company_types.txt +0 -61
  1222. package/resources/libpostal/dictionaries/en/cross_streets.txt +0 -9
  1223. package/resources/libpostal/dictionaries/en/directionals.txt +0 -20
  1224. package/resources/libpostal/dictionaries/en/entrances.txt +0 -1
  1225. package/resources/libpostal/dictionaries/en/given_names.txt +0 -2
  1226. package/resources/libpostal/dictionaries/en/level_types_basement.txt +0 -1
  1227. package/resources/libpostal/dictionaries/en/level_types_mezzanine.txt +0 -5
  1228. package/resources/libpostal/dictionaries/en/level_types_numbered.txt +0 -4
  1229. package/resources/libpostal/dictionaries/en/level_types_standalone.txt +0 -12
  1230. package/resources/libpostal/dictionaries/en/level_types_sub_basement.txt +0 -1
  1231. package/resources/libpostal/dictionaries/en/near.txt +0 -7
  1232. package/resources/libpostal/dictionaries/en/no_number.txt +0 -1
  1233. package/resources/libpostal/dictionaries/en/nulls.txt +0 -2
  1234. package/resources/libpostal/dictionaries/en/number.txt +0 -1
  1235. package/resources/libpostal/dictionaries/en/personal_suffixes.txt +0 -2
  1236. package/resources/libpostal/dictionaries/en/personal_titles.txt +0 -80
  1237. package/resources/libpostal/dictionaries/en/place_names.txt +0 -315
  1238. package/resources/libpostal/dictionaries/en/post_office.txt +0 -16
  1239. package/resources/libpostal/dictionaries/en/qualifiers.txt +0 -5
  1240. package/resources/libpostal/dictionaries/en/staircases.txt +0 -3
  1241. package/resources/libpostal/dictionaries/en/stopwords.txt +0 -14
  1242. package/resources/libpostal/dictionaries/en/street_names.txt +0 -358
  1243. package/resources/libpostal/dictionaries/en/street_types.txt +0 -410
  1244. package/resources/libpostal/dictionaries/en/synonyms.txt +0 -53
  1245. package/resources/libpostal/dictionaries/en/toponyms.txt +0 -80
  1246. package/resources/libpostal/dictionaries/en/unit_directions.txt +0 -4
  1247. package/resources/libpostal/dictionaries/en/unit_types_numbered.txt +0 -69
  1248. package/resources/libpostal/dictionaries/en/unit_types_standalone.txt +0 -16
  1249. package/resources/libpostal/dictionaries/es/academic_degrees.txt +0 -2
  1250. package/resources/libpostal/dictionaries/es/ambiguous_expansions.txt +0 -45
  1251. package/resources/libpostal/dictionaries/es/building_types.txt +0 -15
  1252. package/resources/libpostal/dictionaries/es/company_types.txt +0 -49
  1253. package/resources/libpostal/dictionaries/es/cross_streets.txt +0 -9
  1254. package/resources/libpostal/dictionaries/es/directionals.txt +0 -13
  1255. package/resources/libpostal/dictionaries/es/entrances.txt +0 -3
  1256. package/resources/libpostal/dictionaries/es/given_names.txt +0 -3
  1257. package/resources/libpostal/dictionaries/es/house_numbers.txt +0 -2
  1258. package/resources/libpostal/dictionaries/es/level_types_basement.txt +0 -1
  1259. package/resources/libpostal/dictionaries/es/level_types_mezzanine.txt +0 -1
  1260. package/resources/libpostal/dictionaries/es/level_types_numbered.txt +0 -2
  1261. package/resources/libpostal/dictionaries/es/level_types_standalone.txt +0 -7
  1262. package/resources/libpostal/dictionaries/es/level_types_sub_basement.txt +0 -1
  1263. package/resources/libpostal/dictionaries/es/near.txt +0 -10
  1264. package/resources/libpostal/dictionaries/es/no_number.txt +0 -1
  1265. package/resources/libpostal/dictionaries/es/number.txt +0 -1
  1266. package/resources/libpostal/dictionaries/es/personal_suffixes.txt +0 -1
  1267. package/resources/libpostal/dictionaries/es/personal_titles.txt +0 -132
  1268. package/resources/libpostal/dictionaries/es/place_names.txt +0 -234
  1269. package/resources/libpostal/dictionaries/es/post_office.txt +0 -4
  1270. package/resources/libpostal/dictionaries/es/postcodes.txt +0 -1
  1271. package/resources/libpostal/dictionaries/es/qualifiers.txt +0 -34
  1272. package/resources/libpostal/dictionaries/es/staircases.txt +0 -2
  1273. package/resources/libpostal/dictionaries/es/stopwords.txt +0 -29
  1274. package/resources/libpostal/dictionaries/es/street_types.txt +0 -109
  1275. package/resources/libpostal/dictionaries/es/surnames.txt +0 -6
  1276. package/resources/libpostal/dictionaries/es/synonyms.txt +0 -58
  1277. package/resources/libpostal/dictionaries/es/toponyms.txt +0 -39
  1278. package/resources/libpostal/dictionaries/es/unit_directions.txt +0 -4
  1279. package/resources/libpostal/dictionaries/es/unit_types_numbered.txt +0 -15
  1280. package/resources/libpostal/dictionaries/es/unit_types_standalone.txt +0 -5
  1281. package/resources/libpostal/dictionaries/et/ambiguous_expansions.txt +0 -5
  1282. package/resources/libpostal/dictionaries/et/building_types.txt +0 -3
  1283. package/resources/libpostal/dictionaries/et/company_types.txt +0 -10
  1284. package/resources/libpostal/dictionaries/et/cross_streets.txt +0 -4
  1285. package/resources/libpostal/dictionaries/et/directionals.txt +0 -9
  1286. package/resources/libpostal/dictionaries/et/entrances.txt +0 -1
  1287. package/resources/libpostal/dictionaries/et/level_types_basement.txt +0 -2
  1288. package/resources/libpostal/dictionaries/et/level_types_numbered.txt +0 -1
  1289. package/resources/libpostal/dictionaries/et/near.txt +0 -4
  1290. package/resources/libpostal/dictionaries/et/number.txt +0 -1
  1291. package/resources/libpostal/dictionaries/et/personal_titles.txt +0 -13
  1292. package/resources/libpostal/dictionaries/et/place_names.txt +0 -39
  1293. package/resources/libpostal/dictionaries/et/post_office.txt +0 -2
  1294. package/resources/libpostal/dictionaries/et/qualifiers.txt +0 -6
  1295. package/resources/libpostal/dictionaries/et/staircases.txt +0 -1
  1296. package/resources/libpostal/dictionaries/et/stopwords.txt +0 -1
  1297. package/resources/libpostal/dictionaries/et/street_types.txt +0 -10
  1298. package/resources/libpostal/dictionaries/et/toponyms.txt +0 -1
  1299. package/resources/libpostal/dictionaries/et/unit_directions.txt +0 -4
  1300. package/resources/libpostal/dictionaries/et/unit_types_numbered.txt +0 -3
  1301. package/resources/libpostal/dictionaries/eu/ambiguous_expansions.txt +0 -2
  1302. package/resources/libpostal/dictionaries/eu/cross_streets.txt +0 -4
  1303. package/resources/libpostal/dictionaries/eu/entrances.txt +0 -1
  1304. package/resources/libpostal/dictionaries/eu/level_types_numbered.txt +0 -1
  1305. package/resources/libpostal/dictionaries/eu/level_types_standalone.txt +0 -2
  1306. package/resources/libpostal/dictionaries/eu/near.txt +0 -5
  1307. package/resources/libpostal/dictionaries/eu/no_number.txt +0 -1
  1308. package/resources/libpostal/dictionaries/eu/place_names.txt +0 -63
  1309. package/resources/libpostal/dictionaries/eu/post_office.txt +0 -1
  1310. package/resources/libpostal/dictionaries/eu/postcodes.txt +0 -1
  1311. package/resources/libpostal/dictionaries/eu/qualifiers.txt +0 -2
  1312. package/resources/libpostal/dictionaries/eu/staircases.txt +0 -1
  1313. package/resources/libpostal/dictionaries/eu/stopwords.txt +0 -1
  1314. package/resources/libpostal/dictionaries/eu/street_types.txt +0 -18
  1315. package/resources/libpostal/dictionaries/eu/unit_directions.txt +0 -3
  1316. package/resources/libpostal/dictionaries/eu/unit_types_numbered.txt +0 -2
  1317. package/resources/libpostal/dictionaries/fa/personal_titles.txt +0 -6
  1318. package/resources/libpostal/dictionaries/fa/place_names.txt +0 -3
  1319. package/resources/libpostal/dictionaries/fa/street_types.txt +0 -7
  1320. package/resources/libpostal/dictionaries/fi/ambiguous_expansions.txt +0 -5
  1321. package/resources/libpostal/dictionaries/fi/building_types.txt +0 -3
  1322. package/resources/libpostal/dictionaries/fi/chains.txt +0 -1
  1323. package/resources/libpostal/dictionaries/fi/concatenated_suffixes_separable.txt +0 -20
  1324. package/resources/libpostal/dictionaries/fi/cross_streets.txt +0 -3
  1325. package/resources/libpostal/dictionaries/fi/directionals.txt +0 -4
  1326. package/resources/libpostal/dictionaries/fi/entrances.txt +0 -1
  1327. package/resources/libpostal/dictionaries/fi/level_types_numbered.txt +0 -1
  1328. package/resources/libpostal/dictionaries/fi/near.txt +0 -5
  1329. package/resources/libpostal/dictionaries/fi/number.txt +0 -1
  1330. package/resources/libpostal/dictionaries/fi/post_office.txt +0 -1
  1331. package/resources/libpostal/dictionaries/fi/qualifiers.txt +0 -2
  1332. package/resources/libpostal/dictionaries/fi/staircases.txt +0 -1
  1333. package/resources/libpostal/dictionaries/fi/stopwords.txt +0 -1
  1334. package/resources/libpostal/dictionaries/fi/street_types.txt +0 -20
  1335. package/resources/libpostal/dictionaries/fi/synonyms.txt +0 -1
  1336. package/resources/libpostal/dictionaries/fi/unit_directions.txt +0 -4
  1337. package/resources/libpostal/dictionaries/fi/unit_types_numbered.txt +0 -2
  1338. package/resources/libpostal/dictionaries/fil/street_types.txt +0 -3
  1339. package/resources/libpostal/dictionaries/fr/ambiguous_expansions.txt +0 -25
  1340. package/resources/libpostal/dictionaries/fr/building_types.txt +0 -4
  1341. package/resources/libpostal/dictionaries/fr/chains.txt +0 -2
  1342. package/resources/libpostal/dictionaries/fr/company_types.txt +0 -40
  1343. package/resources/libpostal/dictionaries/fr/cross_streets.txt +0 -5
  1344. package/resources/libpostal/dictionaries/fr/directionals.txt +0 -12
  1345. package/resources/libpostal/dictionaries/fr/elisions.txt +0 -9
  1346. package/resources/libpostal/dictionaries/fr/entrances.txt +0 -2
  1347. package/resources/libpostal/dictionaries/fr/level_types_basement.txt +0 -1
  1348. package/resources/libpostal/dictionaries/fr/level_types_mezzanine.txt +0 -1
  1349. package/resources/libpostal/dictionaries/fr/level_types_numbered.txt +0 -2
  1350. package/resources/libpostal/dictionaries/fr/level_types_standalone.txt +0 -8
  1351. package/resources/libpostal/dictionaries/fr/level_types_sub_basement.txt +0 -1
  1352. package/resources/libpostal/dictionaries/fr/near.txt +0 -20
  1353. package/resources/libpostal/dictionaries/fr/no_number.txt +0 -1
  1354. package/resources/libpostal/dictionaries/fr/number.txt +0 -1
  1355. package/resources/libpostal/dictionaries/fr/people.txt +0 -1
  1356. package/resources/libpostal/dictionaries/fr/personal_titles.txt +0 -57
  1357. package/resources/libpostal/dictionaries/fr/place_names.txt +0 -147
  1358. package/resources/libpostal/dictionaries/fr/post_office.txt +0 -3
  1359. package/resources/libpostal/dictionaries/fr/qualifiers.txt +0 -19
  1360. package/resources/libpostal/dictionaries/fr/staircases.txt +0 -1
  1361. package/resources/libpostal/dictionaries/fr/stopwords.txt +0 -28
  1362. package/resources/libpostal/dictionaries/fr/street_types.txt +0 -165
  1363. package/resources/libpostal/dictionaries/fr/synonyms.txt +0 -14
  1364. package/resources/libpostal/dictionaries/fr/toponyms.txt +0 -13
  1365. package/resources/libpostal/dictionaries/fr/unit_directions.txt +0 -4
  1366. package/resources/libpostal/dictionaries/fr/unit_types_numbered.txt +0 -10
  1367. package/resources/libpostal/dictionaries/ga/building_types.txt +0 -16
  1368. package/resources/libpostal/dictionaries/ga/level_types_standalone.txt +0 -1
  1369. package/resources/libpostal/dictionaries/ga/personal_titles.txt +0 -1
  1370. package/resources/libpostal/dictionaries/ga/place_names.txt +0 -10
  1371. package/resources/libpostal/dictionaries/ga/street_types.txt +0 -95
  1372. package/resources/libpostal/dictionaries/ga/unit_types_numbered.txt +0 -1
  1373. package/resources/libpostal/dictionaries/gd/building_types.txt +0 -8
  1374. package/resources/libpostal/dictionaries/gd/directionals.txt +0 -6
  1375. package/resources/libpostal/dictionaries/gd/place_names.txt +0 -7
  1376. package/resources/libpostal/dictionaries/gd/qualifiers.txt +0 -1
  1377. package/resources/libpostal/dictionaries/gd/stopwords.txt +0 -2
  1378. package/resources/libpostal/dictionaries/gd/street_types.txt +0 -52
  1379. package/resources/libpostal/dictionaries/gl/ambiguous_expansions.txt +0 -6
  1380. package/resources/libpostal/dictionaries/gl/directionals.txt +0 -8
  1381. package/resources/libpostal/dictionaries/gl/personal_titles.txt +0 -2
  1382. package/resources/libpostal/dictionaries/gl/stopwords.txt +0 -39
  1383. package/resources/libpostal/dictionaries/gl/street_types.txt +0 -26
  1384. package/resources/libpostal/dictionaries/gl/unit_directions.txt +0 -2
  1385. package/resources/libpostal/dictionaries/gsw/ambiguous_expansions.txt +0 -1
  1386. package/resources/libpostal/dictionaries/gsw/concatenated_suffixes_separable.txt +0 -8
  1387. package/resources/libpostal/dictionaries/gsw/street_types.txt +0 -8
  1388. package/resources/libpostal/dictionaries/he/entrances.txt +0 -2
  1389. package/resources/libpostal/dictionaries/he/level_types_basement.txt +0 -2
  1390. package/resources/libpostal/dictionaries/he/level_types_numbered.txt +0 -2
  1391. package/resources/libpostal/dictionaries/he/level_types_standalone.txt +0 -2
  1392. package/resources/libpostal/dictionaries/he/personal_titles.txt +0 -2
  1393. package/resources/libpostal/dictionaries/he/post_office.txt +0 -2
  1394. package/resources/libpostal/dictionaries/he/street_types.txt +0 -8
  1395. package/resources/libpostal/dictionaries/he/unit_types_numbered.txt +0 -2
  1396. package/resources/libpostal/dictionaries/hi/street_types.txt +0 -3
  1397. package/resources/libpostal/dictionaries/hr/ambiguous_expansions.txt +0 -6
  1398. package/resources/libpostal/dictionaries/hr/building_types.txt +0 -1
  1399. package/resources/libpostal/dictionaries/hr/cross_streets.txt +0 -6
  1400. package/resources/libpostal/dictionaries/hr/directionals.txt +0 -4
  1401. package/resources/libpostal/dictionaries/hr/entrances.txt +0 -1
  1402. package/resources/libpostal/dictionaries/hr/level_types_basement.txt +0 -1
  1403. package/resources/libpostal/dictionaries/hr/level_types_mezzanine.txt +0 -1
  1404. package/resources/libpostal/dictionaries/hr/level_types_numbered.txt +0 -2
  1405. package/resources/libpostal/dictionaries/hr/level_types_standalone.txt +0 -2
  1406. package/resources/libpostal/dictionaries/hr/near.txt +0 -5
  1407. package/resources/libpostal/dictionaries/hr/no_number.txt +0 -1
  1408. package/resources/libpostal/dictionaries/hr/personal_titles.txt +0 -6
  1409. package/resources/libpostal/dictionaries/hr/place_names.txt +0 -18
  1410. package/resources/libpostal/dictionaries/hr/post_office.txt +0 -1
  1411. package/resources/libpostal/dictionaries/hr/qualifiers.txt +0 -1
  1412. package/resources/libpostal/dictionaries/hr/staircases.txt +0 -1
  1413. package/resources/libpostal/dictionaries/hr/stopwords.txt +0 -1
  1414. package/resources/libpostal/dictionaries/hr/street_types.txt +0 -12
  1415. package/resources/libpostal/dictionaries/hr/unit_directions.txt +0 -2
  1416. package/resources/libpostal/dictionaries/hr/unit_types_numbered.txt +0 -4
  1417. package/resources/libpostal/dictionaries/hu/ambiguous_expansions.txt +0 -6
  1418. package/resources/libpostal/dictionaries/hu/cross_streets.txt +0 -5
  1419. package/resources/libpostal/dictionaries/hu/directionals.txt +0 -8
  1420. package/resources/libpostal/dictionaries/hu/level_types_basement.txt +0 -4
  1421. package/resources/libpostal/dictionaries/hu/level_types_mezzanine.txt +0 -2
  1422. package/resources/libpostal/dictionaries/hu/level_types_numbered.txt +0 -1
  1423. package/resources/libpostal/dictionaries/hu/level_types_standalone.txt +0 -1
  1424. package/resources/libpostal/dictionaries/hu/near.txt +0 -3
  1425. package/resources/libpostal/dictionaries/hu/number.txt +0 -1
  1426. package/resources/libpostal/dictionaries/hu/personal_titles.txt +0 -1
  1427. package/resources/libpostal/dictionaries/hu/post_office.txt +0 -1
  1428. package/resources/libpostal/dictionaries/hu/stopwords.txt +0 -4
  1429. package/resources/libpostal/dictionaries/hu/street_types.txt +0 -21
  1430. package/resources/libpostal/dictionaries/hu/unit_directions.txt +0 -2
  1431. package/resources/libpostal/dictionaries/hu/unit_types_numbered.txt +0 -3
  1432. package/resources/libpostal/dictionaries/id/academic_degrees.txt +0 -78
  1433. package/resources/libpostal/dictionaries/id/ambiguous_expansions.txt +0 -64
  1434. package/resources/libpostal/dictionaries/id/building_types.txt +0 -7
  1435. package/resources/libpostal/dictionaries/id/chains.txt +0 -5
  1436. package/resources/libpostal/dictionaries/id/company_types.txt +0 -15
  1437. package/resources/libpostal/dictionaries/id/cross_streets.txt +0 -6
  1438. package/resources/libpostal/dictionaries/id/directionals.txt +0 -9
  1439. package/resources/libpostal/dictionaries/id/entrances.txt +0 -3
  1440. package/resources/libpostal/dictionaries/id/level_types_numbered.txt +0 -1
  1441. package/resources/libpostal/dictionaries/id/level_types_standalone.txt +0 -3
  1442. package/resources/libpostal/dictionaries/id/near.txt +0 -3
  1443. package/resources/libpostal/dictionaries/id/number.txt +0 -1
  1444. package/resources/libpostal/dictionaries/id/personal_titles.txt +0 -34
  1445. package/resources/libpostal/dictionaries/id/place_names.txt +0 -145
  1446. package/resources/libpostal/dictionaries/id/qualifiers.txt +0 -13
  1447. package/resources/libpostal/dictionaries/id/stopwords.txt +0 -9
  1448. package/resources/libpostal/dictionaries/id/street_types.txt +0 -7
  1449. package/resources/libpostal/dictionaries/id/synonyms.txt +0 -22
  1450. package/resources/libpostal/dictionaries/id/toponyms.txt +0 -34
  1451. package/resources/libpostal/dictionaries/id/unit_directions.txt +0 -4
  1452. package/resources/libpostal/dictionaries/id/unit_types_numbered.txt +0 -16
  1453. package/resources/libpostal/dictionaries/id/unit_types_standalone.txt +0 -9
  1454. package/resources/libpostal/dictionaries/is/ambiguous_expansions.txt +0 -6
  1455. package/resources/libpostal/dictionaries/is/concatenated_suffixes_inseparable.txt +0 -29
  1456. package/resources/libpostal/dictionaries/is/cross_streets.txt +0 -4
  1457. package/resources/libpostal/dictionaries/is/directionals.txt +0 -4
  1458. package/resources/libpostal/dictionaries/is/entrances.txt +0 -1
  1459. package/resources/libpostal/dictionaries/is/level_types_basement.txt +0 -1
  1460. package/resources/libpostal/dictionaries/is/level_types_numbered.txt +0 -1
  1461. package/resources/libpostal/dictionaries/is/level_types_standalone.txt +0 -1
  1462. package/resources/libpostal/dictionaries/is/near.txt +0 -6
  1463. package/resources/libpostal/dictionaries/is/number.txt +0 -1
  1464. package/resources/libpostal/dictionaries/is/post_office.txt +0 -1
  1465. package/resources/libpostal/dictionaries/is/qualifiers.txt +0 -2
  1466. package/resources/libpostal/dictionaries/is/staircases.txt +0 -1
  1467. package/resources/libpostal/dictionaries/is/stopwords.txt +0 -1
  1468. package/resources/libpostal/dictionaries/is/street_types.txt +0 -29
  1469. package/resources/libpostal/dictionaries/is/unit_directions.txt +0 -2
  1470. package/resources/libpostal/dictionaries/is/unit_types_numbered.txt +0 -1
  1471. package/resources/libpostal/dictionaries/it/academic_degrees.txt +0 -1
  1472. package/resources/libpostal/dictionaries/it/ambiguous_expansions.txt +0 -8
  1473. package/resources/libpostal/dictionaries/it/building_types.txt +0 -5
  1474. package/resources/libpostal/dictionaries/it/chains.txt +0 -5
  1475. package/resources/libpostal/dictionaries/it/company_types.txt +0 -16
  1476. package/resources/libpostal/dictionaries/it/cross_streets.txt +0 -7
  1477. package/resources/libpostal/dictionaries/it/directionals.txt +0 -11
  1478. package/resources/libpostal/dictionaries/it/elisions.txt +0 -4
  1479. package/resources/libpostal/dictionaries/it/entrances.txt +0 -1
  1480. package/resources/libpostal/dictionaries/it/level_types_basement.txt +0 -2
  1481. package/resources/libpostal/dictionaries/it/level_types_numbered.txt +0 -2
  1482. package/resources/libpostal/dictionaries/it/level_types_standalone.txt +0 -2
  1483. package/resources/libpostal/dictionaries/it/near.txt +0 -10
  1484. package/resources/libpostal/dictionaries/it/no_number.txt +0 -2
  1485. package/resources/libpostal/dictionaries/it/number.txt +0 -1
  1486. package/resources/libpostal/dictionaries/it/personal_titles.txt +0 -72
  1487. package/resources/libpostal/dictionaries/it/place_names.txt +0 -203
  1488. package/resources/libpostal/dictionaries/it/post_office.txt +0 -2
  1489. package/resources/libpostal/dictionaries/it/qualifiers.txt +0 -16
  1490. package/resources/libpostal/dictionaries/it/staircases.txt +0 -1
  1491. package/resources/libpostal/dictionaries/it/stopwords.txt +0 -47
  1492. package/resources/libpostal/dictionaries/it/street_types.txt +0 -151
  1493. package/resources/libpostal/dictionaries/it/synonyms.txt +0 -115
  1494. package/resources/libpostal/dictionaries/it/toponyms.txt +0 -110
  1495. package/resources/libpostal/dictionaries/it/unit_types_numbered.txt +0 -9
  1496. package/resources/libpostal/dictionaries/ja/ambiguous_expansions.txt +0 -5
  1497. package/resources/libpostal/dictionaries/ja/building_types.txt +0 -6
  1498. package/resources/libpostal/dictionaries/ja/chains.txt +0 -27
  1499. package/resources/libpostal/dictionaries/ja/directionals.txt +0 -16
  1500. package/resources/libpostal/dictionaries/ja/level_types_numbered.txt +0 -3
  1501. package/resources/libpostal/dictionaries/ja/number.txt +0 -2
  1502. package/resources/libpostal/dictionaries/ja/place_names.txt +0 -16
  1503. package/resources/libpostal/dictionaries/ja/post_office.txt +0 -2
  1504. package/resources/libpostal/dictionaries/ja/postcodes.txt +0 -2
  1505. package/resources/libpostal/dictionaries/ja/qualifiers.txt +0 -38
  1506. package/resources/libpostal/dictionaries/ja/street_types.txt +0 -67
  1507. package/resources/libpostal/dictionaries/ka/ambiguous_expansions.txt +0 -2
  1508. package/resources/libpostal/dictionaries/ka/personal_titles.txt +0 -4
  1509. package/resources/libpostal/dictionaries/ka/place_names.txt +0 -7
  1510. package/resources/libpostal/dictionaries/ka/stopwords.txt +0 -1
  1511. package/resources/libpostal/dictionaries/ka/street_types.txt +0 -12
  1512. package/resources/libpostal/dictionaries/ko/directionals.txt +0 -31
  1513. package/resources/libpostal/dictionaries/ko/level_types_numbered.txt +0 -2
  1514. package/resources/libpostal/dictionaries/ko/number.txt +0 -3
  1515. package/resources/libpostal/dictionaries/ko/post_office.txt +0 -2
  1516. package/resources/libpostal/dictionaries/ko/postcodes.txt +0 -2
  1517. package/resources/libpostal/dictionaries/ko/qualifiers.txt +0 -6
  1518. package/resources/libpostal/dictionaries/ko/street_types.txt +0 -8
  1519. package/resources/libpostal/dictionaries/lb/concatenated_suffixes_separable.txt +0 -3
  1520. package/resources/libpostal/dictionaries/lb/street_types.txt +0 -3
  1521. package/resources/libpostal/dictionaries/lt/ambiguous_expansions.txt +0 -6
  1522. package/resources/libpostal/dictionaries/lt/building_types.txt +0 -1
  1523. package/resources/libpostal/dictionaries/lt/cross_streets.txt +0 -4
  1524. package/resources/libpostal/dictionaries/lt/directionals.txt +0 -4
  1525. package/resources/libpostal/dictionaries/lt/entrances.txt +0 -1
  1526. package/resources/libpostal/dictionaries/lt/level_types_basement.txt +0 -2
  1527. package/resources/libpostal/dictionaries/lt/level_types_numbered.txt +0 -2
  1528. package/resources/libpostal/dictionaries/lt/level_types_standalone.txt +0 -1
  1529. package/resources/libpostal/dictionaries/lt/number.txt +0 -1
  1530. package/resources/libpostal/dictionaries/lt/post_office.txt +0 -1
  1531. package/resources/libpostal/dictionaries/lt/qualifiers.txt +0 -5
  1532. package/resources/libpostal/dictionaries/lt/staircases.txt +0 -1
  1533. package/resources/libpostal/dictionaries/lt/stopwords.txt +0 -1
  1534. package/resources/libpostal/dictionaries/lt/street_types.txt +0 -7
  1535. package/resources/libpostal/dictionaries/lt/unit_directions.txt +0 -2
  1536. package/resources/libpostal/dictionaries/lt/unit_types_numbered.txt +0 -3
  1537. package/resources/libpostal/dictionaries/lv/ambiguous_expansions.txt +0 -6
  1538. package/resources/libpostal/dictionaries/lv/cross_streets.txt +0 -5
  1539. package/resources/libpostal/dictionaries/lv/directionals.txt +0 -4
  1540. package/resources/libpostal/dictionaries/lv/entrances.txt +0 -1
  1541. package/resources/libpostal/dictionaries/lv/level_types_basement.txt +0 -2
  1542. package/resources/libpostal/dictionaries/lv/level_types_numbered.txt +0 -1
  1543. package/resources/libpostal/dictionaries/lv/level_types_standalone.txt +0 -1
  1544. package/resources/libpostal/dictionaries/lv/number.txt +0 -1
  1545. package/resources/libpostal/dictionaries/lv/place_names.txt +0 -2
  1546. package/resources/libpostal/dictionaries/lv/staircases.txt +0 -2
  1547. package/resources/libpostal/dictionaries/lv/stopwords.txt +0 -1
  1548. package/resources/libpostal/dictionaries/lv/street_types.txt +0 -5
  1549. package/resources/libpostal/dictionaries/lv/unit_directions.txt +0 -2
  1550. package/resources/libpostal/dictionaries/lv/unit_types_numbered.txt +0 -3
  1551. package/resources/libpostal/dictionaries/ms/ambiguous_expansions.txt +0 -1
  1552. package/resources/libpostal/dictionaries/ms/building_types.txt +0 -10
  1553. package/resources/libpostal/dictionaries/ms/company_types.txt +0 -8
  1554. package/resources/libpostal/dictionaries/ms/directionals.txt +0 -9
  1555. package/resources/libpostal/dictionaries/ms/given_names.txt +0 -3
  1556. package/resources/libpostal/dictionaries/ms/level_types_numbered.txt +0 -2
  1557. package/resources/libpostal/dictionaries/ms/personal_titles.txt +0 -92
  1558. package/resources/libpostal/dictionaries/ms/place_names.txt +0 -145
  1559. package/resources/libpostal/dictionaries/ms/post_office.txt +0 -3
  1560. package/resources/libpostal/dictionaries/ms/qualifiers.txt +0 -6
  1561. package/resources/libpostal/dictionaries/ms/stopwords.txt +0 -1
  1562. package/resources/libpostal/dictionaries/ms/street_types.txt +0 -35
  1563. package/resources/libpostal/dictionaries/ms/synonyms.txt +0 -27
  1564. package/resources/libpostal/dictionaries/mt/ambiguous_expansions.txt +0 -1
  1565. package/resources/libpostal/dictionaries/mt/number.txt +0 -1
  1566. package/resources/libpostal/dictionaries/mt/personal_titles.txt +0 -6
  1567. package/resources/libpostal/dictionaries/mt/place_names.txt +0 -1
  1568. package/resources/libpostal/dictionaries/mt/stopwords.txt +0 -5
  1569. package/resources/libpostal/dictionaries/mt/street_types.txt +0 -6
  1570. package/resources/libpostal/dictionaries/nb/ambiguous_expansions.txt +0 -11
  1571. package/resources/libpostal/dictionaries/nb/building_types.txt +0 -3
  1572. package/resources/libpostal/dictionaries/nb/concatenated_suffixes_inseparable.txt +0 -13
  1573. package/resources/libpostal/dictionaries/nb/concatenated_suffixes_separable.txt +0 -6
  1574. package/resources/libpostal/dictionaries/nb/cross_streets.txt +0 -5
  1575. package/resources/libpostal/dictionaries/nb/directionals.txt +0 -13
  1576. package/resources/libpostal/dictionaries/nb/entrances.txt +0 -1
  1577. package/resources/libpostal/dictionaries/nb/level_types_numbered.txt +0 -5
  1578. package/resources/libpostal/dictionaries/nb/near.txt +0 -7
  1579. package/resources/libpostal/dictionaries/nb/number.txt +0 -1
  1580. package/resources/libpostal/dictionaries/nb/personal_titles.txt +0 -1
  1581. package/resources/libpostal/dictionaries/nb/post_office.txt +0 -1
  1582. package/resources/libpostal/dictionaries/nb/staircases.txt +0 -2
  1583. package/resources/libpostal/dictionaries/nb/stopwords.txt +0 -34
  1584. package/resources/libpostal/dictionaries/nb/street_types.txt +0 -20
  1585. package/resources/libpostal/dictionaries/nb/unit_directions.txt +0 -2
  1586. package/resources/libpostal/dictionaries/nb/unit_types_numbered.txt +0 -1
  1587. package/resources/libpostal/dictionaries/nl/ambiguous_expansions.txt +0 -10
  1588. package/resources/libpostal/dictionaries/nl/building_types.txt +0 -1
  1589. package/resources/libpostal/dictionaries/nl/chains.txt +0 -1
  1590. package/resources/libpostal/dictionaries/nl/concatenated_suffixes_inseparable.txt +0 -3
  1591. package/resources/libpostal/dictionaries/nl/concatenated_suffixes_separable.txt +0 -13
  1592. package/resources/libpostal/dictionaries/nl/cross_streets.txt +0 -4
  1593. package/resources/libpostal/dictionaries/nl/directionals.txt +0 -20
  1594. package/resources/libpostal/dictionaries/nl/entrances.txt +0 -1
  1595. package/resources/libpostal/dictionaries/nl/level_types_numbered.txt +0 -2
  1596. package/resources/libpostal/dictionaries/nl/level_types_standalone.txt +0 -5
  1597. package/resources/libpostal/dictionaries/nl/near.txt +0 -7
  1598. package/resources/libpostal/dictionaries/nl/number.txt +0 -1
  1599. package/resources/libpostal/dictionaries/nl/personal_titles.txt +0 -32
  1600. package/resources/libpostal/dictionaries/nl/place_names.txt +0 -81
  1601. package/resources/libpostal/dictionaries/nl/post_office.txt +0 -1
  1602. package/resources/libpostal/dictionaries/nl/qualifiers.txt +0 -4
  1603. package/resources/libpostal/dictionaries/nl/staircases.txt +0 -2
  1604. package/resources/libpostal/dictionaries/nl/stopwords.txt +0 -38
  1605. package/resources/libpostal/dictionaries/nl/street_types.txt +0 -22
  1606. package/resources/libpostal/dictionaries/nl/synonyms.txt +0 -2
  1607. package/resources/libpostal/dictionaries/nl/unit_directions.txt +0 -2
  1608. package/resources/libpostal/dictionaries/nl/unit_types_numbered.txt +0 -3
  1609. package/resources/libpostal/dictionaries/oc/elisions.txt +0 -1
  1610. package/resources/libpostal/dictionaries/oc/stopwords.txt +0 -14
  1611. package/resources/libpostal/dictionaries/oc/street_types.txt +0 -5
  1612. package/resources/libpostal/dictionaries/pap/personal_titles.txt +0 -2
  1613. package/resources/libpostal/dictionaries/pap/street_types.txt +0 -2
  1614. package/resources/libpostal/dictionaries/pl/academic_degrees.txt +0 -2
  1615. package/resources/libpostal/dictionaries/pl/ambiguous_expansions.txt +0 -9
  1616. package/resources/libpostal/dictionaries/pl/building_types.txt +0 -1
  1617. package/resources/libpostal/dictionaries/pl/chains.txt +0 -3
  1618. package/resources/libpostal/dictionaries/pl/company_types.txt +0 -4
  1619. package/resources/libpostal/dictionaries/pl/cross_streets.txt +0 -6
  1620. package/resources/libpostal/dictionaries/pl/directionals.txt +0 -8
  1621. package/resources/libpostal/dictionaries/pl/entrances.txt +0 -1
  1622. package/resources/libpostal/dictionaries/pl/house_numbers.txt +0 -1
  1623. package/resources/libpostal/dictionaries/pl/level_types_basement.txt +0 -1
  1624. package/resources/libpostal/dictionaries/pl/level_types_numbered.txt +0 -1
  1625. package/resources/libpostal/dictionaries/pl/level_types_standalone.txt +0 -1
  1626. package/resources/libpostal/dictionaries/pl/near.txt +0 -11
  1627. package/resources/libpostal/dictionaries/pl/number.txt +0 -1
  1628. package/resources/libpostal/dictionaries/pl/personal_suffixes.txt +0 -2
  1629. package/resources/libpostal/dictionaries/pl/personal_titles.txt +0 -54
  1630. package/resources/libpostal/dictionaries/pl/place_names.txt +0 -31
  1631. package/resources/libpostal/dictionaries/pl/post_office.txt +0 -1
  1632. package/resources/libpostal/dictionaries/pl/qualifiers.txt +0 -9
  1633. package/resources/libpostal/dictionaries/pl/staircases.txt +0 -1
  1634. package/resources/libpostal/dictionaries/pl/stopwords.txt +0 -3
  1635. package/resources/libpostal/dictionaries/pl/street_types.txt +0 -12
  1636. package/resources/libpostal/dictionaries/pl/synonyms.txt +0 -19
  1637. package/resources/libpostal/dictionaries/pl/toponyms.txt +0 -1
  1638. package/resources/libpostal/dictionaries/pl/unit_directions.txt +0 -2
  1639. package/resources/libpostal/dictionaries/pl/unit_types_numbered.txt +0 -2
  1640. package/resources/libpostal/dictionaries/pt/ambiguous_expansions.txt +0 -12
  1641. package/resources/libpostal/dictionaries/pt/building_types.txt +0 -7
  1642. package/resources/libpostal/dictionaries/pt/company_types.txt +0 -31
  1643. package/resources/libpostal/dictionaries/pt/cross_streets.txt +0 -8
  1644. package/resources/libpostal/dictionaries/pt/directionals.txt +0 -8
  1645. package/resources/libpostal/dictionaries/pt/elisions.txt +0 -1
  1646. package/resources/libpostal/dictionaries/pt/entrances.txt +0 -1
  1647. package/resources/libpostal/dictionaries/pt/level_types_basement.txt +0 -1
  1648. package/resources/libpostal/dictionaries/pt/level_types_mezzanine.txt +0 -1
  1649. package/resources/libpostal/dictionaries/pt/level_types_numbered.txt +0 -3
  1650. package/resources/libpostal/dictionaries/pt/level_types_standalone.txt +0 -5
  1651. package/resources/libpostal/dictionaries/pt/level_types_sub_basement.txt +0 -1
  1652. package/resources/libpostal/dictionaries/pt/near.txt +0 -13
  1653. package/resources/libpostal/dictionaries/pt/no_number.txt +0 -1
  1654. package/resources/libpostal/dictionaries/pt/number.txt +0 -1
  1655. package/resources/libpostal/dictionaries/pt/personal_suffixes.txt +0 -3
  1656. package/resources/libpostal/dictionaries/pt/personal_titles.txt +0 -101
  1657. package/resources/libpostal/dictionaries/pt/place_names.txt +0 -52
  1658. package/resources/libpostal/dictionaries/pt/post_office.txt +0 -2
  1659. package/resources/libpostal/dictionaries/pt/postcodes.txt +0 -2
  1660. package/resources/libpostal/dictionaries/pt/qualifiers.txt +0 -8
  1661. package/resources/libpostal/dictionaries/pt/staircases.txt +0 -1
  1662. package/resources/libpostal/dictionaries/pt/stopwords.txt +0 -35
  1663. package/resources/libpostal/dictionaries/pt/street_types.txt +0 -53
  1664. package/resources/libpostal/dictionaries/pt/synonyms.txt +0 -21
  1665. package/resources/libpostal/dictionaries/pt/toponyms.txt +0 -28
  1666. package/resources/libpostal/dictionaries/pt/unit_directions.txt +0 -4
  1667. package/resources/libpostal/dictionaries/pt/unit_types_numbered.txt +0 -10
  1668. package/resources/libpostal/dictionaries/pt/unit_types_standalone.txt +0 -1
  1669. package/resources/libpostal/dictionaries/ro/ambiguous_expansions.txt +0 -5
  1670. package/resources/libpostal/dictionaries/ro/cross_streets.txt +0 -5
  1671. package/resources/libpostal/dictionaries/ro/directionals.txt +0 -4
  1672. package/resources/libpostal/dictionaries/ro/entrances.txt +0 -1
  1673. package/resources/libpostal/dictionaries/ro/level_types_numbered.txt +0 -1
  1674. package/resources/libpostal/dictionaries/ro/level_types_standalone.txt +0 -1
  1675. package/resources/libpostal/dictionaries/ro/near.txt +0 -7
  1676. package/resources/libpostal/dictionaries/ro/no_number.txt +0 -1
  1677. package/resources/libpostal/dictionaries/ro/number.txt +0 -1
  1678. package/resources/libpostal/dictionaries/ro/personal_titles.txt +0 -14
  1679. package/resources/libpostal/dictionaries/ro/post_office.txt +0 -1
  1680. package/resources/libpostal/dictionaries/ro/qualifiers.txt +0 -1
  1681. package/resources/libpostal/dictionaries/ro/staircases.txt +0 -1
  1682. package/resources/libpostal/dictionaries/ro/stopwords.txt +0 -2
  1683. package/resources/libpostal/dictionaries/ro/street_types.txt +0 -13
  1684. package/resources/libpostal/dictionaries/ro/unit_types_numbered.txt +0 -4
  1685. package/resources/libpostal/dictionaries/ru/ambiguous_expansions.txt +0 -18
  1686. package/resources/libpostal/dictionaries/ru/building_types.txt +0 -2
  1687. package/resources/libpostal/dictionaries/ru/chains.txt +0 -42
  1688. package/resources/libpostal/dictionaries/ru/company_types.txt +0 -9
  1689. package/resources/libpostal/dictionaries/ru/cross_streets.txt +0 -11
  1690. package/resources/libpostal/dictionaries/ru/directionals.txt +0 -16
  1691. package/resources/libpostal/dictionaries/ru/entrances.txt +0 -2
  1692. package/resources/libpostal/dictionaries/ru/house_numbers.txt +0 -2
  1693. package/resources/libpostal/dictionaries/ru/level_types_basement.txt +0 -4
  1694. package/resources/libpostal/dictionaries/ru/level_types_numbered.txt +0 -4
  1695. package/resources/libpostal/dictionaries/ru/level_types_standalone.txt +0 -4
  1696. package/resources/libpostal/dictionaries/ru/near.txt +0 -26
  1697. package/resources/libpostal/dictionaries/ru/no_number.txt +0 -1
  1698. package/resources/libpostal/dictionaries/ru/number.txt +0 -2
  1699. package/resources/libpostal/dictionaries/ru/personal_titles.txt +0 -6
  1700. package/resources/libpostal/dictionaries/ru/place_names.txt +0 -160
  1701. package/resources/libpostal/dictionaries/ru/post_office.txt +0 -2
  1702. package/resources/libpostal/dictionaries/ru/qualifiers.txt +0 -31
  1703. package/resources/libpostal/dictionaries/ru/staircases.txt +0 -2
  1704. package/resources/libpostal/dictionaries/ru/stopwords.txt +0 -1
  1705. package/resources/libpostal/dictionaries/ru/street_types.txt +0 -28
  1706. package/resources/libpostal/dictionaries/ru/unit_directions.txt +0 -4
  1707. package/resources/libpostal/dictionaries/ru/unit_types_numbered.txt +0 -10
  1708. package/resources/libpostal/dictionaries/si/place_names.txt +0 -8
  1709. package/resources/libpostal/dictionaries/si/qualifiers.txt +0 -4
  1710. package/resources/libpostal/dictionaries/si/street_types.txt +0 -2
  1711. package/resources/libpostal/dictionaries/sk/ambiguous_expansions.txt +0 -6
  1712. package/resources/libpostal/dictionaries/sk/cross_streets.txt +0 -8
  1713. package/resources/libpostal/dictionaries/sk/directionals.txt +0 -21
  1714. package/resources/libpostal/dictionaries/sk/entrances.txt +0 -1
  1715. package/resources/libpostal/dictionaries/sk/house_numbers.txt +0 -1
  1716. package/resources/libpostal/dictionaries/sk/level_types_basement.txt +0 -1
  1717. package/resources/libpostal/dictionaries/sk/level_types_numbered.txt +0 -4
  1718. package/resources/libpostal/dictionaries/sk/level_types_standalone.txt +0 -1
  1719. package/resources/libpostal/dictionaries/sk/near.txt +0 -13
  1720. package/resources/libpostal/dictionaries/sk/number.txt +0 -1
  1721. package/resources/libpostal/dictionaries/sk/personal_titles.txt +0 -16
  1722. package/resources/libpostal/dictionaries/sk/place_names.txt +0 -28
  1723. package/resources/libpostal/dictionaries/sk/post_office.txt +0 -1
  1724. package/resources/libpostal/dictionaries/sk/qualifiers.txt +0 -3
  1725. package/resources/libpostal/dictionaries/sk/staircases.txt +0 -1
  1726. package/resources/libpostal/dictionaries/sk/stopwords.txt +0 -29
  1727. package/resources/libpostal/dictionaries/sk/street_types.txt +0 -20
  1728. package/resources/libpostal/dictionaries/sk/toponyms.txt +0 -1
  1729. package/resources/libpostal/dictionaries/sk/unit_directions.txt +0 -2
  1730. package/resources/libpostal/dictionaries/sk/unit_types_numbered.txt +0 -3
  1731. package/resources/libpostal/dictionaries/sl/ambiguous_expansions.txt +0 -6
  1732. package/resources/libpostal/dictionaries/sl/chains.txt +0 -1
  1733. package/resources/libpostal/dictionaries/sl/cross_streets.txt +0 -5
  1734. package/resources/libpostal/dictionaries/sl/directionals.txt +0 -4
  1735. package/resources/libpostal/dictionaries/sl/entrances.txt +0 -1
  1736. package/resources/libpostal/dictionaries/sl/level_types_basement.txt +0 -1
  1737. package/resources/libpostal/dictionaries/sl/level_types_numbered.txt +0 -1
  1738. package/resources/libpostal/dictionaries/sl/level_types_standalone.txt +0 -2
  1739. package/resources/libpostal/dictionaries/sl/near.txt +0 -7
  1740. package/resources/libpostal/dictionaries/sl/no_number.txt +0 -1
  1741. package/resources/libpostal/dictionaries/sl/number.txt +0 -1
  1742. package/resources/libpostal/dictionaries/sl/personal_titles.txt +0 -3
  1743. package/resources/libpostal/dictionaries/sl/place_names.txt +0 -1
  1744. package/resources/libpostal/dictionaries/sl/post_office.txt +0 -1
  1745. package/resources/libpostal/dictionaries/sl/staircases.txt +0 -1
  1746. package/resources/libpostal/dictionaries/sl/stopwords.txt +0 -7
  1747. package/resources/libpostal/dictionaries/sl/street_types.txt +0 -4
  1748. package/resources/libpostal/dictionaries/sl/synonyms.txt +0 -13
  1749. package/resources/libpostal/dictionaries/sl/unit_directions.txt +0 -2
  1750. package/resources/libpostal/dictionaries/sl/unit_types_numbered.txt +0 -3
  1751. package/resources/libpostal/dictionaries/sr/ambiguous_expansions.txt +0 -9
  1752. package/resources/libpostal/dictionaries/sr/cross_streets.txt +0 -10
  1753. package/resources/libpostal/dictionaries/sr/directionals.txt +0 -8
  1754. package/resources/libpostal/dictionaries/sr/entrances.txt +0 -2
  1755. package/resources/libpostal/dictionaries/sr/level_types_basement.txt +0 -2
  1756. package/resources/libpostal/dictionaries/sr/level_types_numbered.txt +0 -6
  1757. package/resources/libpostal/dictionaries/sr/level_types_standalone.txt +0 -4
  1758. package/resources/libpostal/dictionaries/sr/number.txt +0 -2
  1759. package/resources/libpostal/dictionaries/sr/personal_titles.txt +0 -14
  1760. package/resources/libpostal/dictionaries/sr/place_names.txt +0 -12
  1761. package/resources/libpostal/dictionaries/sr/post_office.txt +0 -6
  1762. package/resources/libpostal/dictionaries/sr/staircases.txt +0 -2
  1763. package/resources/libpostal/dictionaries/sr/stopwords.txt +0 -2
  1764. package/resources/libpostal/dictionaries/sr/street_types.txt +0 -17
  1765. package/resources/libpostal/dictionaries/sr/unit_directions.txt +0 -4
  1766. package/resources/libpostal/dictionaries/sr/unit_types_numbered.txt +0 -8
  1767. package/resources/libpostal/dictionaries/sv/ambiguous_expansions.txt +0 -9
  1768. package/resources/libpostal/dictionaries/sv/company_types.txt +0 -4
  1769. package/resources/libpostal/dictionaries/sv/concatenated_suffixes_inseparable.txt +0 -5
  1770. package/resources/libpostal/dictionaries/sv/concatenated_suffixes_separable.txt +0 -8
  1771. package/resources/libpostal/dictionaries/sv/cross_streets.txt +0 -5
  1772. package/resources/libpostal/dictionaries/sv/directionals.txt +0 -8
  1773. package/resources/libpostal/dictionaries/sv/entrances.txt +0 -2
  1774. package/resources/libpostal/dictionaries/sv/level_types_numbered.txt +0 -7
  1775. package/resources/libpostal/dictionaries/sv/level_types_standalone.txt +0 -5
  1776. package/resources/libpostal/dictionaries/sv/near.txt +0 -11
  1777. package/resources/libpostal/dictionaries/sv/number.txt +0 -1
  1778. package/resources/libpostal/dictionaries/sv/personal_titles.txt +0 -3
  1779. package/resources/libpostal/dictionaries/sv/post_office.txt +0 -2
  1780. package/resources/libpostal/dictionaries/sv/staircases.txt +0 -3
  1781. package/resources/libpostal/dictionaries/sv/stopwords.txt +0 -25
  1782. package/resources/libpostal/dictionaries/sv/street_types.txt +0 -13
  1783. package/resources/libpostal/dictionaries/sv/synonyms.txt +0 -4
  1784. package/resources/libpostal/dictionaries/sv/unit_directions.txt +0 -4
  1785. package/resources/libpostal/dictionaries/sv/unit_types_numbered.txt +0 -5
  1786. package/resources/libpostal/dictionaries/th/chains.txt +0 -2
  1787. package/resources/libpostal/dictionaries/th/street_types.txt +0 -10
  1788. package/resources/libpostal/dictionaries/tr/ambiguous_expansions.txt +0 -5
  1789. package/resources/libpostal/dictionaries/tr/chains.txt +0 -1
  1790. package/resources/libpostal/dictionaries/tr/cross_streets.txt +0 -4
  1791. package/resources/libpostal/dictionaries/tr/directionals.txt +0 -4
  1792. package/resources/libpostal/dictionaries/tr/entrances.txt +0 -1
  1793. package/resources/libpostal/dictionaries/tr/level_types_basement.txt +0 -1
  1794. package/resources/libpostal/dictionaries/tr/level_types_mezzanine.txt +0 -1
  1795. package/resources/libpostal/dictionaries/tr/level_types_numbered.txt +0 -1
  1796. package/resources/libpostal/dictionaries/tr/level_types_standalone.txt +0 -1
  1797. package/resources/libpostal/dictionaries/tr/number.txt +0 -2
  1798. package/resources/libpostal/dictionaries/tr/personal_titles.txt +0 -4
  1799. package/resources/libpostal/dictionaries/tr/place_names.txt +0 -2
  1800. package/resources/libpostal/dictionaries/tr/post_office.txt +0 -1
  1801. package/resources/libpostal/dictionaries/tr/qualifiers.txt +0 -5
  1802. package/resources/libpostal/dictionaries/tr/staircases.txt +0 -1
  1803. package/resources/libpostal/dictionaries/tr/stopwords.txt +0 -1
  1804. package/resources/libpostal/dictionaries/tr/street_types.txt +0 -10
  1805. package/resources/libpostal/dictionaries/tr/unit_directions.txt +0 -2
  1806. package/resources/libpostal/dictionaries/tr/unit_types_numbered.txt +0 -4
  1807. package/resources/libpostal/dictionaries/uk/ambiguous_expansions.txt +0 -8
  1808. package/resources/libpostal/dictionaries/uk/chains.txt +0 -7
  1809. package/resources/libpostal/dictionaries/uk/cross_streets.txt +0 -10
  1810. package/resources/libpostal/dictionaries/uk/directionals.txt +0 -8
  1811. package/resources/libpostal/dictionaries/uk/entrances.txt +0 -2
  1812. package/resources/libpostal/dictionaries/uk/house_numbers.txt +0 -4
  1813. package/resources/libpostal/dictionaries/uk/level_types_basement.txt +0 -4
  1814. package/resources/libpostal/dictionaries/uk/level_types_numbered.txt +0 -4
  1815. package/resources/libpostal/dictionaries/uk/level_types_standalone.txt +0 -4
  1816. package/resources/libpostal/dictionaries/uk/near.txt +0 -24
  1817. package/resources/libpostal/dictionaries/uk/number.txt +0 -2
  1818. package/resources/libpostal/dictionaries/uk/personal_titles.txt +0 -9
  1819. package/resources/libpostal/dictionaries/uk/place_names.txt +0 -161
  1820. package/resources/libpostal/dictionaries/uk/post_office.txt +0 -2
  1821. package/resources/libpostal/dictionaries/uk/qualifiers.txt +0 -8
  1822. package/resources/libpostal/dictionaries/uk/staircases.txt +0 -2
  1823. package/resources/libpostal/dictionaries/uk/stopwords.txt +0 -2
  1824. package/resources/libpostal/dictionaries/uk/street_types.txt +0 -26
  1825. package/resources/libpostal/dictionaries/uk/unit_directions.txt +0 -4
  1826. package/resources/libpostal/dictionaries/uk/unit_types_numbered.txt +0 -10
  1827. package/resources/libpostal/dictionaries/ur/street_types.txt +0 -7
  1828. package/resources/libpostal/dictionaries/vi/ambiguous_expansions.txt +0 -3
  1829. package/resources/libpostal/dictionaries/vi/personal_titles.txt +0 -1
  1830. package/resources/libpostal/dictionaries/vi/place_names.txt +0 -29
  1831. package/resources/libpostal/dictionaries/vi/qualifiers.txt +0 -5
  1832. package/resources/libpostal/dictionaries/vi/street_types.txt +0 -10
  1833. package/resources/libpostal/dictionaries/zh/building_types.txt +0 -2
  1834. package/resources/libpostal/dictionaries/zh/chains.txt +0 -2
  1835. package/resources/libpostal/dictionaries/zh/directionals.txt +0 -20
  1836. package/resources/libpostal/dictionaries/zh/level_types_numbered.txt +0 -5
  1837. package/resources/libpostal/dictionaries/zh/number.txt +0 -3
  1838. package/resources/libpostal/dictionaries/zh/place_names.txt +0 -2
  1839. package/resources/libpostal/dictionaries/zh/post_office.txt +0 -3
  1840. package/resources/libpostal/dictionaries/zh/postcodes.txt +0 -3
  1841. package/resources/libpostal/dictionaries/zh/qualifiers.txt +0 -19
  1842. package/resources/libpostal/dictionaries/zh/stopwords.txt +0 -2
  1843. package/resources/libpostal/dictionaries/zh/street_types.txt +0 -30
  1844. package/resources/libpostal/dictionaries/zh/unit_types_numbered.txt +0 -2
  1845. package/resources/libpostal/resources-download.sh +0 -44
  1846. package/resources/whosonfirst/dictionaries/country/name:eng_x_preferred.txt +0 -220
  1847. package/resources/whosonfirst/dictionaries/country/wof:country.txt +0 -215
  1848. package/resources/whosonfirst/dictionaries/country/wof:country_alpha3.txt +0 -216
  1849. package/resources/whosonfirst/dictionaries/dependency/name:eng_x_preferred.txt +0 -42
  1850. package/resources/whosonfirst/dictionaries/dependency/wof:shortcode.txt +0 -34
  1851. package/resources/whosonfirst/dictionaries/locality/name:eng_x_preferred.txt +0 -261365
  1852. package/resources/whosonfirst/dictionaries/locality/name:fra_x_preferred.txt +0 -77631
  1853. package/resources/whosonfirst/dictionaries/region/abrv:eng_x_preferred.txt +0 -441
  1854. package/resources/whosonfirst/dictionaries/region/name:eng_x_preferred.txt +0 -4517
  1855. package/resources/whosonfirst/dictionaries/region/wof:shortcode.txt +0 -839
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../commands/corpus/build.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,GAAG,MAAM,KAAK,CAAA;AACrB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAuBxD,QAAA,MAAM,iBAAiB;;;;;;qBAkBrB,CAAA;AAEF,OAAO,EAAE,iBAAiB,IAAI,OAAO,EAAE,CAAA;AAEvC,QAAA,MAAM,WAAW,EAAE,gBAAgB,CAAC,OAAO,iBAAiB,CAwE3D,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -0,0 +1,107 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ * @copyright Sister Software
4
+ * @license AGPL-3.0
5
+ * @author Teffen Ellis, et al.
6
+ *
7
+ * `mailwoman corpus build --version 0.1.0 --output /data/corpus/versioned/ --inputs '{ "wof-admin":
8
+ * "/data/wof/admin.db", "wof-postalcode": "/data/wof/post.db" }'`
9
+ *
10
+ * End-to-end corpus build. Drives every registered adapter (or the filtered subset) per `--inputs`,
11
+ * runs synthesis + alignment, computes the locality-holdout split, and writes the final JSONL
12
+ * shards + per-stage manifests under `<output>/corpus-v<version>/`.
13
+ *
14
+ * Adapters whose id is missing from `--inputs` are skipped (and noted in the manifest); this is how
15
+ * the CLI handles partial builds during development.
16
+ */
17
+ import { buildCorpus, defaultAdapterRegistry } from "@mailwoman/corpus";
18
+ import { Box, Text } from "ink";
19
+ import { setImmediate } from "node:timers/promises";
20
+ import { useEffect, useState } from "react";
21
+ import zod from "zod";
22
+ /**
23
+ * `--inputs` accepts either:
24
+ *
25
+ * - A bare string (path-only, for adapters that need no extra options): `"wof-admin": "/data/wof.db"`
26
+ * - A full AdapterOptions object: `"openaddresses": { "inputPath": "/data/oa.geojsonl", "country":
27
+ * "US" }`
28
+ *
29
+ * The object form is required by adapters that need a country filter (OpenAddresses), or for
30
+ * fixture runs that want a `limit`.
31
+ */
32
+ const AdapterInputSchema = zod.union([
33
+ zod.string(),
34
+ zod.object({
35
+ inputPath: zod.string(),
36
+ outputDir: zod.string().optional(),
37
+ country: zod.string().optional(),
38
+ limit: zod.number().int().positive().optional(),
39
+ }),
40
+ ]);
41
+ const InputsSchema = zod.record(zod.string(), AdapterInputSchema);
42
+ const BuildConfigSchema = zod.object({
43
+ corpusVersion: zod
44
+ .string()
45
+ .default("0.1.0-dev")
46
+ .describe("Corpus version stamped onto every row + into the output dir name (--version is reserved by Pastel for the CLI's own version)"),
47
+ output: zod.string().describe("Root output directory; everything lands beneath corpus-v<corpus-version>/"),
48
+ inputs: zod
49
+ .string()
50
+ .describe('JSON map "adapter-id" → input. Each value is either an input path string or a full ' +
51
+ 'AdapterOptions object {"inputPath","country?","limit?"}. Adapters requiring a country ' +
52
+ "filter (e.g. openaddresses) need the object form. Example: " +
53
+ '{"wof-admin":"/data/wof.db","openaddresses":{"inputPath":"/data/oa.geojsonl","country":"US"}}'),
54
+ synthesize: zod.coerce.boolean().optional().default(true).describe("Enable augmentation pass (default true)"),
55
+ rowsPerShard: zod.coerce.number().int().positive().optional().default(1_000_000).describe("Max rows per JSONL shard"),
56
+ });
57
+ export { BuildConfigSchema as options };
58
+ const CorpusBuild = ({ options }) => {
59
+ const [error, setError] = useState();
60
+ const [done, setDone] = useState();
61
+ const [stage, setStage] = useState();
62
+ useEffect(() => {
63
+ if (error) {
64
+ setImmediate().then(() => process.exit(1));
65
+ }
66
+ else if (done) {
67
+ setImmediate().then(() => process.exit(0));
68
+ }
69
+ }, [error, done]);
70
+ useEffect(() => {
71
+ let inputsParsed;
72
+ try {
73
+ inputsParsed = InputsSchema.parse(JSON.parse(options.inputs));
74
+ }
75
+ catch (err) {
76
+ // eslint-disable-next-line react-hooks/set-state-in-effect -- one-shot mount validation; refactor pending
77
+ setError(`invalid --inputs JSON: ${err.message}`);
78
+ return;
79
+ }
80
+ const adapterInputs = Object.fromEntries(Object.entries(inputsParsed).map(([id, value]) => [id, typeof value === "string" ? { inputPath: value } : value]));
81
+ const adapters = defaultAdapterRegistry.list();
82
+ buildCorpus({
83
+ outputDir: options.output,
84
+ corpusVersion: options.corpusVersion,
85
+ adapters,
86
+ adapterInputs,
87
+ synthesize: options.synthesize,
88
+ rowsPerShard: options.rowsPerShard,
89
+ onProgress: (name, message) => setStage({ name, message }),
90
+ })
91
+ .then((m) => setDone({
92
+ total: m.shards.total_rows,
93
+ aligned: m.total_aligned_rows,
94
+ quarantined: m.quarantine_count,
95
+ adapters: m.adapters.length,
96
+ }))
97
+ .catch((err) => setError(err.message));
98
+ }, [options]);
99
+ if (error)
100
+ return _jsx(Text, { color: "red", children: error });
101
+ if (done) {
102
+ return (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Text, { children: ["corpus-v", options.corpusVersion, ": ", _jsx(Text, { color: "green", children: done.total }), " rows (", done.adapters, " adapters,", " ", _jsxs(Text, { dimColor: true, children: [done.quarantined, " quarantined"] }), ")"] }), _jsx(Text, { dimColor: true, children: options.output })] }));
103
+ }
104
+ return (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Text, { children: ["building corpus-v", options.corpusVersion, "\u2026"] }), stage ? (_jsxs(Text, { dimColor: true, children: ["[", stage.name, "] ", stage.message] })) : null] }));
105
+ };
106
+ export default CorpusBuild;
107
+ //# sourceMappingURL=build.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build.js","sourceRoot":"","sources":["../../../commands/corpus/build.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAmB,MAAM,mBAAmB,CAAA;AAExF,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,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IAAI,CAAC,QAAQ,gBAAY,GAAG,EAC5G,MAAC,IAAI,IAAC,QAAQ,mBAAE,IAAI,CAAC,WAAW,oBAAoB,SAC9C,EACP,KAAC,IAAI,IAAC,QAAQ,kBAAE,OAAO,CAAC,MAAM,GAAQ,IACjC,CACN,CAAA;IACF,CAAC;IAED,OAAO,CACN,MAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,aAC1B,MAAC,IAAI,oCAAmB,OAAO,CAAC,aAAa,cAAS,EACrD,KAAK,CAAC,CAAC,CAAC,CACR,MAAC,IAAI,IAAC,QAAQ,wBACX,KAAK,CAAC,IAAI,QAAI,KAAK,CAAC,OAAO,IACvB,CACP,CAAC,CAAC,CAAC,IAAI,IACH,CACN,CAAA;AACF,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../commands/corpus/list.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH;;;;GAIG;AACH,QAAA,MAAM,UAAU,+CAcf,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ * @copyright Sister Software
4
+ * @license AGPL-3.0
5
+ * @author Teffen Ellis, et al.
6
+ *
7
+ * `mailwoman corpus list` — print every adapter known to the default registry, one per line.
8
+ *
9
+ * Used by humans and by scripts that want to fan out a build over adapters. Prints nothing (zero
10
+ * lines + exit 0) when no adapter has been registered yet; that's the expected state during early
11
+ * Phase 1 while adapters are still being authored.
12
+ */
13
+ import { defaultAdapterRegistry } from "@mailwoman/corpus";
14
+ import { Box, Text } from "ink";
15
+ /**
16
+ * Per-line output is rendered as a single `Text` node so Ink does not column-wrap the adapter id
17
+ * when the host stdout is non-TTY (CI, spawned tests). The list is meant to be grep-friendly, not
18
+ * pretty.
19
+ */
20
+ const CorpusList = () => {
21
+ const adapters = defaultAdapterRegistry.list();
22
+ if (adapters.length === 0) {
23
+ return _jsx(Text, { dimColor: true, children: "No adapters registered." });
24
+ }
25
+ return (_jsx(Box, { flexDirection: "column", children: adapters.map((a) => (_jsx(Text, { children: `${a.id}\t${a.defaultLicense}\t${a.description}` }, a.id))) }));
26
+ };
27
+ export default CorpusList;
28
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.js","sourceRoot":"","sources":["../../../commands/corpus/list.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAE/B;;;;GAIG;AACH,MAAM,UAAU,GAAG,GAAG,EAAE;IACvB,MAAM,QAAQ,GAAG,sBAAsB,CAAC,IAAI,EAAE,CAAA;IAE9C,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,KAAC,IAAI,IAAC,QAAQ,8CAA+B,CAAA;IACrD,CAAC;IAED,OAAO,CACN,KAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,YACzB,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACpB,KAAC,IAAI,cAAa,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,cAAc,KAAK,CAAC,CAAC,WAAW,EAAE,IAAvD,CAAC,CAAC,EAAE,CAA2D,CAC1E,CAAC,GACG,CACN,CAAA;AACF,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../commands/corpus/run.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAOH,OAAO,GAAG,MAAM,KAAK,CAAA;AACrB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAExD,QAAA,MAAM,eAAe,6BAAsF,CAAA;AAE3G,QAAA,MAAM,eAAe;;;;;;;qBA0BnB,CAAA;AAEF,OAAO,EAAE,eAAe,IAAI,IAAI,EAAE,eAAe,IAAI,OAAO,EAAE,CAAA;AAE9D,QAAA,MAAM,SAAS,EAAE,gBAAgB,CAAC,OAAO,eAAe,EAAE,OAAO,eAAe,CA2F/E,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -0,0 +1,109 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ * @copyright Sister Software
4
+ * @license AGPL-3.0
5
+ * @author Teffen Ellis, et al.
6
+ *
7
+ * `mailwoman corpus run <adapter-id> --input <path> --output <dir> [--country XX] [--limit N]`
8
+ *
9
+ * CLI shim around `runAdapter` from `@mailwoman/corpus`. Resolves `<adapter-id>` against the
10
+ * default registry; refuses with a clear, non-zero exit if the id isn't known (and lists the
11
+ * registered ids). On success, prints a one-line summary and the path to the manifest file.
12
+ */
13
+ import { ProgressBar } from "@inkjs/ui";
14
+ import { defaultAdapterRegistry, runAdapter } from "@mailwoman/corpus";
15
+ import { Box, Text } from "ink";
16
+ import { setImmediate } from "node:timers/promises";
17
+ import { useEffect, useState } from "react";
18
+ import zod from "zod";
19
+ const ArgumentsSchema = zod.array(zod.string().describe("Adapter id (e.g. wof-admin, ban, openaddresses)"));
20
+ const RunConfigSchema = zod.object({
21
+ input: zod.string().describe("Path to the adapter's input data (file, directory, or URL — adapter-specific)"),
22
+ output: zod.string().describe("Output root directory; the runner creates <output>/<adapter-id>/ under it"),
23
+ country: zod
24
+ .string()
25
+ .regex(/^[A-Z]{2}$/u, "Expected ISO 3166-1 alpha-2 country code (e.g. US, FR)")
26
+ .optional()
27
+ .describe("Filter to a single ISO 3166-1 alpha-2 country"),
28
+ limit: zod.coerce
29
+ .number()
30
+ .int()
31
+ .positive()
32
+ .optional()
33
+ .describe("Soft cap on rows the adapter is allowed to emit (smoke runs, fixtures)"),
34
+ corpusVersion: zod
35
+ .string()
36
+ .optional()
37
+ .default("0.1.0-dev")
38
+ .describe("Corpus version string stamped onto every row; locks tokenizer pairing"),
39
+ progressEvery: zod.coerce
40
+ .number()
41
+ .int()
42
+ .positive()
43
+ .optional()
44
+ .default(1_000)
45
+ .describe("Yield count between progress ticks (smaller = chattier, larger = quieter)"),
46
+ });
47
+ export { ArgumentsSchema as args, RunConfigSchema as options };
48
+ const CorpusRun = ({ options, args }) => {
49
+ const [error, setError] = useState();
50
+ const [progress, setProgress] = useState({
51
+ yielded: 0,
52
+ written: 0,
53
+ bytes: 0,
54
+ });
55
+ const [manifest, setManifest] = useState();
56
+ useEffect(() => {
57
+ if (error) {
58
+ setImmediate().then(() => process.exit(1));
59
+ }
60
+ else if (manifest) {
61
+ setImmediate().then(() => process.exit(0));
62
+ }
63
+ }, [error, manifest]);
64
+ useEffect(() => {
65
+ const adapterId = args[0];
66
+ if (!adapterId) {
67
+ // eslint-disable-next-line react-hooks/set-state-in-effect -- one-shot mount validation; refactor pending
68
+ setError("missing positional argument: <adapter-id>");
69
+ return;
70
+ }
71
+ const adapter = defaultAdapterRegistry.get(adapterId);
72
+ if (!adapter) {
73
+ const ids = defaultAdapterRegistry.ids();
74
+ const hint = ids.length === 0 ? "(no adapters registered yet)" : `registered: ${ids.join(", ")}`;
75
+ setError(`unknown adapter id ${JSON.stringify(adapterId)}; ${hint}`);
76
+ return;
77
+ }
78
+ const ac = new AbortController();
79
+ runAdapter({
80
+ adapter,
81
+ adapterOptions: {
82
+ inputPath: options.input,
83
+ outputDir: options.output,
84
+ country: options.country,
85
+ limit: options.limit,
86
+ signal: ac.signal,
87
+ },
88
+ outputDir: options.output,
89
+ corpusVersion: options.corpusVersion,
90
+ progressEvery: options.progressEvery,
91
+ onProgress: (snap) => {
92
+ setProgress({ yielded: snap.yielded, written: snap.written, bytes: snap.bytes });
93
+ },
94
+ })
95
+ .then((m) => setManifest(m))
96
+ .catch((err) => setError(err.message));
97
+ return () => ac.abort();
98
+ }, [args, options]);
99
+ if (error) {
100
+ return _jsx(Text, { color: "red", children: error });
101
+ }
102
+ if (manifest) {
103
+ return (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Text, { children: [_jsx(Text, { bold: true, children: manifest.adapter_id }), ": wrote ", _jsx(Text, { color: "green", children: manifest.written }), " rows (", _jsxs(Text, { dimColor: true, children: [manifest.deduped, " deduped"] }), ") in ", (manifest.elapsed_ms / 1000).toFixed(2), "s"] }), _jsx(Text, { dimColor: true, children: manifest.jsonl_path }), _jsxs(Text, { dimColor: true, children: ["sha256=", manifest.sha256] })] }));
104
+ }
105
+ const ratio = progress.written && progress.yielded ? (progress.written / progress.yielded) * 100 : 0;
106
+ return (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Text, { children: ["yielded=", progress.yielded, " ", "written=", progress.written, " ", "bytes=", progress.bytes] }), _jsx(Box, { paddingX: 1, children: _jsx(ProgressBar, { value: Math.min(100, ratio) }) })] }));
107
+ };
108
+ export default CorpusRun;
109
+ //# sourceMappingURL=run.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run.js","sourceRoot":"","sources":["../../../commands/corpus/run.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAA2B,MAAM,mBAAmB,CAAA;AAC/F,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,GAAG,MAAM,KAAK,CAAA;AAGrB,MAAM,eAAe,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC,CAAC,CAAA;AAE3G,MAAM,eAAe,GAAG,GAAG,CAAC,MAAM,CAAC;IAClC,KAAK,E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AAC,QAAQ,8BAAS,QAAQ,CAAC,MAAM,IAAQ,IACzC,CACN,CAAA;IACF,CAAC;IAED,MAAM,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;IACpG,OAAO,CACN,MAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,aAC1B,MAAC,IAAI,2BACK,QAAQ,CAAC,OAAO,EACxB,IAAI,cAAU,QAAQ,CAAC,OAAO,EAC9B,IAAI,YAAQ,QAAQ,CAAC,KAAK,IACrB,EACP,KAAC,GAAG,IAAC,QAAQ,EAAE,CAAC,YACf,KAAC,WAAW,IAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,GAAI,GACvC,IACD,CACN,CAAA;AACF,CAAC,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../commands/debug.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAE9D,OAAO,GAAG,MAAM,KAAK,CAAA;AAErB,QAAA,MAAM,eAAe,qCAAiE,CAAA;AACtF,OAAO,EAAE,eAAe,IAAI,IAAI,EAAE,CAAA;AAElC,QAAA,MAAM,YAAY,EAAE,0BAA0B,CAAC,OAAO,eAAe,CAyBpE,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../commands/debug.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,GAAG,MAAM,KAAK,CAAA;AACrB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErD,QAAA,MAAM,eAAe,6BAAiE,CAAA;AACtF,QAAA,MAAM,iBAAiB;;qBAMrB,CAAA;AACF,OAAO,EAAE,eAAe,IAAI,IAAI,EAAE,iBAAiB,IAAI,OAAO,EAAE,CAAA;AAEhE,QAAA,MAAM,YAAY,EAAE,gBAAgB,CAAC,OAAO,iBAAiB,EAAE,OAAO,eAAe,CA0BpF,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -10,19 +10,27 @@ import { createAddressParser, createDiagnosticReport } from "mailwoman";
10
10
  import { useEffect, useState } from "react";
11
11
  import zod from "zod";
12
12
  const ArgumentsSchema = zod.array(zod.string().describe("A formatted postal address"));
13
- export { ArgumentsSchema as args };
14
- const DebugCommand = ({ args }) => {
13
+ const DebugConfigSchema = zod.object({
14
+ locale: zod
15
+ .string()
16
+ .regex(/^[a-z]{2}(-[A-Z]{2})?$/u, "Expected a BCP-47 tag like en-US or fr-FR")
17
+ .optional()
18
+ .describe("BCP-47 locale tag (e.g. en-US, fr-FR). Reserved for the upcoming neural pipeline."),
19
+ });
20
+ export { ArgumentsSchema as args, DebugConfigSchema as options };
21
+ const DebugCommand = ({ options, args }) => {
15
22
  const [output, setOutput] = useState();
16
23
  const [error, setError] = useState();
17
24
  useEffect(() => {
18
25
  const parser = createAddressParser();
26
+ const parseOpts = options.locale ? { verbose: true, locale: options.locale } : { verbose: true };
19
27
  parser
20
- .parse(args[0], { verbose: true })
28
+ .parse(args[0], parseOpts)
21
29
  .then(createDiagnosticReport)
22
30
  .then(setOutput)
23
31
  .catch((err) => setError(err.message));
24
32
  return;
25
- }, [args]);
33
+ }, [args, options.locale]);
26
34
  if (error) {
27
35
  return _jsx(Text, { color: "red", children: error });
28
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"debug.js","sourceRoot":"","sources":["../../commands/debug.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,mB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SAAS,CAAC;aAC1B,IAAI,CAAC,sBAAsB,CAAC;aAC5B,IAAI,CAAC,SAAS,CAAC;aACf,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAA;QAEvC,OAAM;IACP,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;IAE1B,IAAI,KAAK,EAAE,CAAC;QACX,OAAO,KAAC,IAAI,IAAC,KAAK,EAAC,KAAK,YAAE,KAAK,GAAQ,CAAA;IACxC,CAAC;IAED,IAAI,CAAC,MAAM,EAAE,CAAC;QACb,OAAO,KAAC,OAAO,KAAG,CAAA;IACnB,CAAC;IAED,OAAO,KAAC,IAAI,cAAE,MAAM,GAAQ,CAAA;AAC7B,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../commands/parse.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAEpD,OAAO,GAAG,MAAM,KAAK,CAAA;AAErB,QAAA,MAAM,eAAe,qCAAiE,CAAA;AACtF,OAAO,EAAE,eAAe,IAAI,IAAI,EAAE,iBAAiB,IAAI,OAAO,EAAE,CAAA;AAEhE,QAAA,MAAM,iBAAiB;;;;;;EAErB,CAAA;AAEF,QAAA,MAAM,YAAY,EAAE,gBAAgB,CAAC,OAAO,iBAAiB,EAAE,OAAO,eAAe,CA+BpF,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../commands/parse.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAWH,OAAO,GAAG,MAAM,KAAK,CAAA;AACrB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAKrD,QAAA,MAAM,eAAe,6BAAiE,CAAA;AACtF,OAAO,EAAE,eAAe,IAAI,IAAI,EAAE,iBAAiB,IAAI,OAAO,EAAE,CAAA;AAEhE,QAAA,MAAM,iBAAiB;;;;;;;;;;;;qBA+BrB,CAAA;AAqBF,QAAA,MAAM,YAAY,EAAE,gBAAgB,CAAC,OAAO,iBAAiB,EAAE,OAAO,eAAe,CAwDpF,CAAA;AAsDD,eAAe,YAAY,CAAA"}
@@ -5,35 +5,104 @@ import { jsx as _jsx } from "react/jsx-runtime";
5
5
  * @author Teffen Ellis, et al.
6
6
  */
7
7
  import { Spinner } from "@inkjs/ui";
8
+ import { decodeAsJson, decodeAsTuples, decodeAsXml, proposalsToTree } from "@mailwoman/core/decoder";
9
+ import { collectProposals, filterByPolicy } from "@mailwoman/core/parser";
10
+ import { InMemoryPolicyRegistry } from "@mailwoman/core/policy";
11
+ import { createNeuralProposalClassifier, NeuralAddressClassifier } from "@mailwoman/neural";
8
12
  import { Text } from "ink";
9
13
  import { createAddressParser, createDiagnosticReport } from "mailwoman";
10
14
  import { useEffect, useState } from "react";
11
15
  import zod from "zod";
16
+ const POLICY_MODES = ["rule_only", "neural_only", "both", "neural_preferred", "rule_preferred"];
17
+ const POLICY_SPEC_RE = /^([a-z_]+)=([a-z_]+)$/u;
12
18
  const ArgumentsSchema = zod.array(zod.string().describe("A formatted postal address"));
13
19
  export { ArgumentsSchema as args, ParseConfigSchema as options };
14
20
  const ParseConfigSchema = zod.object({
15
21
  debug: zod.boolean().optional().default(false).describe("Enable verbose debugging output"),
22
+ locale: zod
23
+ .string()
24
+ .regex(/^[a-z]{2}(-[A-Z]{2})?$/u, "Expected a BCP-47 tag like en-US or fr-FR")
25
+ .optional()
26
+ .default("en-US")
27
+ .describe("Locale tag matching a weights package (en-US, fr-FR). Default en-US."),
28
+ neural: zod
29
+ .boolean()
30
+ .optional()
31
+ .default(false)
32
+ .describe("Route through the neural classifier instead of the rule-based parser."),
33
+ format: zod
34
+ .enum(["json", "tuple", "xml"])
35
+ .optional()
36
+ .default("json")
37
+ .describe("Output projection for --neural. Ignored without --neural."),
38
+ model: zod.string().optional().describe("Explicit model.onnx path (--neural only). Overrides --locale resolution."),
39
+ tokenizer: zod
40
+ .string()
41
+ .optional()
42
+ .describe("Explicit tokenizer.model path (--neural only). Overrides --locale resolution."),
43
+ policy: zod
44
+ .array(zod.string().regex(POLICY_SPEC_RE, "Expected <component>=<mode> e.g. postcode=neural_preferred"))
45
+ .optional()
46
+ .describe("Per-component policy override, repeatable. <component>=<mode> where mode is one of: " +
47
+ POLICY_MODES.join(", ") +
48
+ ". Requires --neural."),
16
49
  });
50
+ function parsePolicySpecs(specs) {
51
+ const out = [];
52
+ for (const spec of specs) {
53
+ const m = POLICY_SPEC_RE.exec(spec);
54
+ if (!m)
55
+ throw new Error(`Invalid --policy spec ${spec}; expected <component>=<mode>`);
56
+ const [, component, mode] = m;
57
+ if (!POLICY_MODES.includes(mode)) {
58
+ throw new Error(`Unknown policy mode ${mode}; valid: ${POLICY_MODES.join(", ")}`);
59
+ }
60
+ out.push({ component: component, mode: mode });
61
+ }
62
+ return out;
63
+ }
17
64
  const ParseCommand = ({ options, args }) => {
18
65
  const [output, setOutput] = useState();
19
66
  const [error, setError] = useState();
20
67
  useEffect(() => {
21
- const parser = createAddressParser();
22
68
  const input = args[0];
69
+ if (options.policy && options.policy.length > 0 && !options.neural) {
70
+ // eslint-disable-next-line react-hooks/set-state-in-effect -- one-shot mount validation; refactor pending
71
+ setError("--policy requires --neural in this version (rule-side policy integration is a follow-up).");
72
+ return;
73
+ }
74
+ if (options.neural) {
75
+ const policyOverrides = options.policy ? parsePolicySpecs(options.policy) : [];
76
+ runNeural(input, options, policyOverrides)
77
+ .then(setOutput)
78
+ .catch((err) => setError(err.message));
79
+ return;
80
+ }
81
+ const parser = createAddressParser();
82
+ const parseOpts = options.locale ? { locale: options.locale } : {};
23
83
  if (options.debug) {
24
84
  parser
25
- .parse(input, { verbose: true })
85
+ .parse(input, { verbose: true, ...parseOpts })
26
86
  .then(createDiagnosticReport)
27
87
  .then(setOutput)
28
88
  .catch((err) => setError(err.message));
29
89
  }
30
90
  else {
31
91
  parser
32
- .parse(input)
92
+ .parse(input, parseOpts)
33
93
  .then((results) => setOutput(JSON.stringify(results, null, 2)))
34
94
  .catch((err) => setError(err.message));
35
95
  }
36
- }, [args, options.debug]);
96
+ }, [
97
+ args,
98
+ options.debug,
99
+ options.locale,
100
+ options.neural,
101
+ options.format,
102
+ options.model,
103
+ options.tokenizer,
104
+ options.policy,
105
+ ]);
37
106
  if (error) {
38
107
  return _jsx(Text, { color: "red", children: error });
39
108
  }
@@ -42,5 +111,48 @@ const ParseCommand = ({ options, args }) => {
42
111
  }
43
112
  return _jsx(Text, { children: output });
44
113
  };
114
+ async function runNeural(input, options, policyOverrides) {
115
+ const neural = await NeuralAddressClassifier.loadFromWeights({
116
+ locale: options.locale,
117
+ modelPath: options.model,
118
+ tokenizerPath: options.tokenizer,
119
+ });
120
+ // Fast path: no policy → use the existing direct projection, preserves containment nesting.
121
+ if (policyOverrides.length === 0) {
122
+ switch (options.format) {
123
+ case "xml":
124
+ return neural.parseXml(input);
125
+ case "tuple":
126
+ return JSON.stringify(await neural.parseTuples(input), null, 2);
127
+ default:
128
+ return JSON.stringify(await neural.parseJson(input), null, 2);
129
+ }
130
+ }
131
+ // Policy path: run the proposal pipeline so per-component overrides are honored. Containment
132
+ // nesting is lost in this projection — see proposals-to-tree.ts for why.
133
+ const proposalCls = createNeuralProposalClassifier({ id: `neural-cli-${options.locale}`, classifier: neural });
134
+ // Without rule classifiers in the CLI loop, the registry's default rule_only would drop every
135
+ // neural proposal and produce empty output. Default every component to neural_only when
136
+ // --neural --policy is used, then layer the user's overrides on top.
137
+ const policy = InMemoryPolicyRegistry.withDefaults();
138
+ for (const entry of policy.entries()) {
139
+ policy.set({ component: entry.component, mode: "neural_only" });
140
+ }
141
+ for (const o of policyOverrides) {
142
+ policy.set({ component: o.component, mode: o.mode });
143
+ }
144
+ const wholeInputSection = { body: input, start: 0, end: input.length };
145
+ const proposals = await collectProposals([wholeInputSection], [proposalCls], { locale: options.locale });
146
+ const filtered = filterByPolicy(proposals, policy, options.locale);
147
+ const tree = proposalsToTree(input, filtered);
148
+ switch (options.format) {
149
+ case "xml":
150
+ return decodeAsXml(tree);
151
+ case "tuple":
152
+ return JSON.stringify(decodeAsTuples(tree), null, 2);
153
+ default:
154
+ return JSON.stringify(decodeAsJson(tree), null, 2);
155
+ }
156
+ }
45
157
  export default ParseCommand;
46
158
  //# sourceMappingURL=parse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parse.js","sourceRoot":"","sources":["../../commands/parse.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAEvE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,GAAG,MAAM,KAAK,CAAA;AAErB,MAAM,eAAe,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAC,CAAA;AACtF,OAAO,EAAE,eAAe,IAAI,IAAI,EAAE,iBAAiB,IAAI,OAAO,EAAE,CAAA;AAEhE,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,CAAC;IACpC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC;CAC1F,CAAC,CAAA;AAEF,MAAM,YAAY,GAAuE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE;IAC9G,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,EAAU,CAAA;IAC9C,MAAM,CA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,EAAE,GAAG,EAAE,KAAK,CAAC,MAAM,EAAwB,CAAA;IAC5F,MAAM,SAAS,GAAG,MAAM,gBAAgB,CAAC,CAAC,iBAAiB,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAA;IACxG,MAAM,QAAQ,GAAG,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAA;IAClE,MAAM,IAAI,GAAG,eAAe,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;IAE7C,QAAQ,OAAO,CAAC,MAAM,EAAE,CAAC;QACxB,KAAK,KAAK;YACT,OAAO,WAAW,CAAC,IAAI,CAAC,CAAA;QACzB,KAAK,OAAO;YACX,OAAO,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;QACrD;YACC,OAAO,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;IACpD,CAAC;AACF,CAAC;AAED,eAAe,YAAY,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../commands/serve.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAOpD,OAAO,GAAG,MAAM,KAAK,CAAA;AAqHrB,eAAO,MAAM,OAAO;;;;;;;;;;;;EAAqB,CAAA;AAEzC,QAAA,MAAM,YAAY;;;;;;;;;;;;GAAmD,CAAA;AAErE,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../commands/serve.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAUH,OAAO,GAAG,MAAM,KAAK,CAAA;AACrB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAuHrD,eAAO,MAAM,OAAO;;;;qBAAqB,CAAA;AAEzC,QAAA,MAAM,YAAY;;;;sBAAmD,CAAA;AAErE,eAAe,YAAY,CAAA"}
@@ -5,18 +5,19 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  * @author Teffen Ellis, et al.
6
6
  */
7
7
  import { Spinner, StatusMessage } from "@inkjs/ui";
8
+ import { repoRootPathBuilder } from "@mailwoman/core/utils";
8
9
  import express from "express";
9
10
  import { Box, Text } from "ink";
10
- import { repoRootPathBuilder } from "mailwoman/sdk/repo";
11
- import { AddressRouter } from "mailwoman/server";
12
- import cluster from "node:cluster";
11
+ import cluster, { Worker } from "node:cluster";
13
12
  import { availableParallelism } from "node:os";
14
13
  import * as process from "node:process";
15
14
  import { useEffect, useState } from "react";
16
15
  import zod from "zod";
16
+ import { AddressRouter } from "../server/index.js";
17
17
  const ClusterManager = ({ options: { cpus = availableParallelism() }, }) => {
18
18
  const [workers, setWorkers] = useState();
19
19
  useEffect(() => {
20
+ // eslint-disable-next-line react-hooks/set-state-in-effect -- one-shot cluster bootstrap; refactor pending
20
21
  setWorkers(Array.from({ length: cpus }, () => cluster.fork()));
21
22
  cluster.on("exit", (worker, code, signal) => {
22
23
  console.log(`[${signal}] (${code}) Worker ${worker.process.pid} exited`);
@@ -1 +1 @@
1
- {"version":3,"file":"serve.js","sourceRoot":"","sources":["../../commands/serve.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAE/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,OAAmB,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,oBAAoB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CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,WAAW,CAAA;AAErE,eAAe,YAAY,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/wof/prepare/index.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAM9D,OAAO,GAAG,MAAM,KAAK,CAAA;AAcrB,QAAA,MAAM,eAAe,qCAAgF,CAAA;AACrG,OAAO,EAAE,eAAe,IAAI,IAAI,EAAE,CAAA;AAGlC,QAAA,MAAM,UAAU,EAAE,0BAA0B,CAAC,OAAO,eAAe,CAsHlE,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/wof/prepare/index.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAYH,OAAO,GAAG,MAAM,KAAK,CAAA;AACrB,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAA;AAcrE,QAAA,MAAM,eAAe,6BAAgF,CAAA;AACrG,OAAO,EAAE,eAAe,IAAI,IAAI,EAAE,CAAA;AAGlC,QAAA,MAAM,UAAU,EAAE,0BAA0B,CAAC,OAAO,eAAe,CAuHlE,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -5,10 +5,10 @@ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
5
5
  * @author Teffen Ellis, et al.
6
6
  */
7
7
  import { ProgressBar } from "@inkjs/ui";
8
+ import { takeInParallel } from "@mailwoman/core";
9
+ import { formatMinutes, formatQuantity, takeAsync, tallyPatternCount } from "@mailwoman/core/resources";
8
10
  import FastGlob from "fast-glob";
9
11
  import { Box, Text } from "ink";
10
- import { takeInParallel } from "mailwoman/core";
11
- import { formatMinutes, formatQuantity, takeAsync, tallyPatternCount } from "mailwoman/core/resources";
12
12
  import { availableParallelism } from "node:os";
13
13
  import { setImmediate } from "node:timers/promises";
14
14
  import { PathBuilder } from "path-ts";
@@ -28,6 +28,7 @@ const WOFPrepare = ({ args: [wofDataAdminDirectory] }) => {
28
28
  const [throughput, setThroughput] = useState(0);
29
29
  const [recordCount, setRecordCount] = useState(-1);
30
30
  const percentage = recordCount === -1 ? 0 : (insertionCount / recordCount) * 100;
31
+ // eslint-disable-next-line react-hooks/purity -- progress UI re-derives elapsed each render; refactor to interval-timer state pending
31
32
  const elapsed = performance.now() - startTime;
32
33
  const eta = Number.isFinite(throughput) ? (recordCount - insertionCount) / throughput : NaN;
33
34
  useEffect(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../commands/wof/prepare/index.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,QAAQ,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAEtG,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACxD,OAAO,GAAG,MAAM,KAAK,CAAA;AAOrB,MAAM,OAAO,GAAsD,IAAI,OAAO,CAAC;IAC9E,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC,IAAI;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