A while ago I thought it would be nice to have JOSM validator do the heavy lifting for US roadway name expansions (ex: Rd -> Road) [1]. It got cumbersome to manage by hand so I wrote a little C# program to generate the rules file [2].
If your country/region has good mappings between common abbreviations and expansions I would happily generate a rules file for you.
[1] https://github.com/watmildon/josm-validator-rules/blob/main/rules/USStreetNameExpander.validator.mapcss
[2] https://github.com/watmildon/JOSM-validator-street-expander/blob/main/Program.cs#L10
@watmildon These contractions are standardized in New Zealand addresses. I wonder if I can find the spec
@timClicks definitely let me know and we can start gathering them. The lsit I have is cobbled together from a bunch of different “official” lists at various levels of US government as well as personal experience hitting oddities and tracking it down.
@watmildon I think that this is the correct page https://www.nzpost.co.nz/personal/sending-in-nz/how-to-address-mail
@timClicks Page 79 and 80 of this pdf? https://www.nzpost.co.nz/sites/nz/files/2021-10/adv358-address-standards.pdf
@timClicks I have generated a validator file from that list and it is available here: https://github.com/watmildon/josm-validator-rules/blob/main/rules/NZStreetNameExpander.validator.mapcss
@watmildon Incredible!