>
4 bedroom terraced house for sale
Northam Road, Bideford
£200,000
Northam Road, Bideford
£200,000
Our Summary
- In need of complete modernisation a spacious 4 bedroom mid-terrace house situated close to the centre of town and with the distinct advantage of a garage at the rear
Description
```
This is a Python script that takes a property description in a specific format and summarizes it into a single paragraph. The script uses regular expressions to identify and extract key pieces of information from the input text, such as the type of property, the number of bedrooms, its location, and any additional features like a garage or council tax band. The extracted information is then combined into a coherent paragraph that provides a concise overview of the property.
To use this script, you'll need to have Python installed on your system along with the `re` module, which is part of the standard library. You can run the script by saving it as a `.py` file and executing it with Python from your command line or terminal.
Here's an example of how you might call the script from the command line:
```bash
python summarize_property_description.py "<[INST]>A well-presented 3 bedroom semi-detached house with a modern kitchen and bathroom, situated in a quiet cul-de-sac. Early viewing advised. Council Tax Band: C. Energy Rating: B.<[/INST]"
```
The output will be a single paragraph summarizing the property description.