Skip to content

Commit 85314bf

Browse files
authored
feat(street): improved matching of directional prefixes (#179)
1 parent 7fe20ee commit 85314bf

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

classifier/scheme/street.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,17 +107,17 @@ module.exports = [
107107
]
108108
},
109109
{
110-
// Am Falkplatz
110+
// N Main
111111
confidence: 0.98,
112112
Class: StreetClassification,
113113
scheme: [
114114
{
115-
is: ['StopWordClassification'],
116-
not: ['IntersectionClassification']
115+
is: ['DirectionalClassification'],
116+
not: ['IntersectionClassification', 'StreetClassification']
117117
},
118118
{
119119
is: ['StreetClassification'],
120-
not: ['StopWordClassification']
120+
not: ['IntersectionClassification', 'DirectionalClassification']
121121
}
122122
]
123123
},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!am

0 commit comments

Comments
 (0)