A tie on Main Street, a rout at the PO Box
Mailwoman ships two address parsers in the same box.
We call the first one v0. It is our TypeScript port of the Pelias parser — a rules engine: tokenize, classify each token against dictionaries and patterns, solve for the most plausible arrangement under a pile of hand-written constraints. It is fast, deterministic, and the product of years of accumulated postal wisdom. It is also the thing we set out to beat.
The second is the neural classifier — a sequence labeler trained on a BIO-tagged corpus, the one this blog has spent most of its life arguing with.
So: a year in, did the neural net beat the rules parser? The answer is mostly a tie, until the address gets weird — and the weird is where it gets interesting.
