pelias / pelias/parser

Unit parsing

Open
#69 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
64
Forks
26
PR merge metrics
No merged PRs in 30d

Description

The following addresses with unit numbers are not able to accurately detect the 'B' as a unit.

221 B Baker St
(0.99) ➜ [ { housenumber: '221' }, { street: 'B Baker St' } ]
221/B Baker St
(0.48) ➜ [ { street: 'Baker St' } ]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the two address examples in the parser and compare their parsed output with the issue. Trace how unit numbers and street names are classified, then verify that both forms retain the unit designation without losing the street name.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.