Skip to content

Commit

Permalink
feat(street): improved matching of directional prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink committed Sep 9, 2024
1 parent 7d28b15 commit 14c5be7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions classifier/scheme/street.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,17 @@ module.exports = [
]
},
{
// Am Falkplatz
// N Main
confidence: 0.98,
Class: StreetClassification,
scheme: [
{
is: ['StopWordClassification'],
not: ['IntersectionClassification']
is: ['DirectionalClassification'],
not: ['IntersectionClassification', 'StreetClassification']
},
{
is: ['StreetClassification'],
not: ['StopWordClassification']
not: ['IntersectionClassification', 'DirectionalClassification']
}
]
},
Expand Down
1 change: 1 addition & 0 deletions resources/pelias/dictionaries/libpostal/de/stopwords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!am

0 comments on commit 14c5be7

Please sign in to comment.