moskytw/zipcodetw — pull request #5 by uranusjr (2014-02-27 16:16:54+00:00)
Title: Compensation for addresses without a level-1 token, database backed

This version is totally database-backed and free of token-level hacks. I implemented some additional init logic to generate Address objects directly from a list of address parts. This avoids ambiguity during tokenisation for strings such as "八里區". An extra regex pattern is used to match those partial addresses.

Some tests were added for the described changes.