Practical overview
When it fits
Use deepparse when address text needs to become structured, predicted fields in code, a dataset workflow or a REST service.
Who it is for
- Developers adding structured address parsing to an application.
- Teams building command-line or batch address-processing workflows.
- Operators who want to provide address parsing through a self-managed REST service.
- Practitioners adapting address models to new country data or custom tags.
Documented uses
- Extract address components from one address or a collection of addresses.
- Parse a dataset through the command line and specify an output file.
- Expose address parsing as a REST service.
- Retrain models with labelled data for different country coverage or tag structures.
Requirements & limits
- The getting-started documentation demonstrates addresses from five countries and component tags including street number, unit, municipality, region and postal code.
- Retraining data must be labelled; the training guide recommends keeping data aside for testing.
- The guide recommends a few thousand examples per new country and warns that fine-tuning can cause catastrophic forgetting.
- A GPU is recommended for faster retraining but is not required.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Parse addresses with the Python library
Use a pretrained model to turn address text into predicted address-component tags.
Before you start
- A Python environment with deepparse installed.
- Address text, or a CSV file that can be loaded with CSVDatasetContainer.
Steps
Import AddressParser from deepparse.parser.
Create an AddressParser with a model type such as "bpemb".
Pass one address, a list of addresses, or a CSV dataset container to the parser.
Inspect the returned parsed address; use with_prob=True when probabilities for predicted tags are needed.
Expected outcome
Parsed addresses with predicted component tags, including fields such as street number, street name, municipality and postal code.
Guide limitations
- The shown example uses a pretrained model; retraining requires a separate labelled-data workflow.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 11 November 2026

