From 1f59985751985b198ba95ecfda9cafab10535f16 Mon Sep 17 00:00:00 2001 From: DeviousStoat Date: Mon, 9 Mar 2026 04:38:37 +0100 Subject: [PATCH] Add house street type --- pyap/source_US/data.py | 1 + tests/test_parser_us.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pyap/source_US/data.py b/pyap/source_US/data.py index d9ccf0a..f2ecef3 100644 --- a/pyap/source_US/data.py +++ b/pyap/source_US/data.py @@ -481,6 +481,7 @@ def str_list_to_upper_lower_regex(str_list: List[str]) -> str: "Hollows", "Holw", "Holws", + "House", "Hrbor", "Ht", "Hts", diff --git a/tests/test_parser_us.py b/tests/test_parser_us.py index dc96fa0..cb0012f 100644 --- a/tests/test_parser_us.py +++ b/tests/test_parser_us.py @@ -520,6 +520,7 @@ def test_po_box_positive(input, expected): ("123 Chase street", True), ("123 Chase Wimbledom St.", True), ("82 ALBRO TRACT", True), + ("6123 SHEFFIELD HOUSE", True), # negative assertions ("6 95 34 75 COMPANY PHONE IS", False), (", 666 Hell ST PMB 29700", False),