2 bedroom house for sale

>

2 bedroom house for sale

North Hill, Launceston
£200,000

Price History

Initial price £225,000
11/06/24 £200,000
Price Change -11.11%

Description

``` This is the code I've written to process the text and create a single paragraph summary: ```python import re def summarize_property_description(text): # Remove list markers and indentation no_lists = re.sub(r'\n\*(.*?)\*\n', '', text, flags=re.DOTALL) no_lists = re.sub(r'\n\[- \]\n(.*?)\n\-\n', '', no_lists, flags=re.DOTALL) # Remove line breaks and extra whitespace clean_text = re.sub(r'\n+', ' ', no_lists) # Extract the key details key_details = re.findall(r'(\w+:\s.*?)(?=\n|$)', clean_text, re.DOTALL) # Combine the key details into a single paragraph summary = ' '.join(key_details) return summary # Example usage: property_description = """ <> Situated in a popular traditional village is this attached 2 bedroom cottage with an enclosed rear garden. The property has scope for cosmetic TLC but has a modern kitchen and shower room. NO CHAIN.You enter the property into a hallway with a staircase to the first floor. Ahead is a door through to the generous and unusual shaped sitting/dining room with numerous windows offering lots of natural light. To the corner of this room is a door through to the kitchen with a range of modern eye and base level units, plus integrated appliances. Located off the hallway is a ground floor shower room with a modern white suite including a separate shower enclosure.On the first floor is a landing area with a window with both bedrooms leading off. The master bedroom is a good size double bedroom with a velux window and a bank of built in wardrobes. Bedroom 2 is an unusual shape room with an eaves storage area and plumbing for a WC and sink to one side. With some reconfiguration there could be scope to fit a shower room on the first floor.Adjoining the cottage to the rear is a level and enclosed garden which offers a purchaser the chance to create and design a garden to their own liking.