mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
handled problem case for summary dimensions
This commit is contained in:
parent
4e752fb6c4
commit
a30ad1762a
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ def extract_building_parts_summary(text):
|
|||
# Pattern to extract each building part, starting from Main Property and including extensions
|
||||
building_part_pattern = re.compile(
|
||||
r"(Main Property|\d+(?:st|nd|rd|th) Extension)\s*"
|
||||
r"(.*?)(?=\d+(?:st|nd|rd|th) Extension|5\.0 Conservatory)",
|
||||
r"(.*?)(?=\d+(?:st|nd|rd|th) Extension|5\.0 Conservatory|$)",
|
||||
re.DOTALL
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue