Skip to content

Commit

Permalink
fix: add broadway to list of invalid locality endings (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink authored Jun 6, 2019
1 parent e77bebb commit 14a1efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classifier/WhosOnFirstClassifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class WhosOnFirstClassifier extends PhraseClassifier {
// placetype specific modifications
if (placetype === 'locality') {
// remove locality names that sound like streets
let remove = ['avenue', 'lane', 'terrace', 'street', 'road', 'crescent', 'furlong']
let remove = ['avenue', 'lane', 'terrace', 'street', 'road', 'crescent', 'furlong', 'broadway']
this.tokens.locality.forEach(token => {
let split = token.split(/\s/)
let lastWord = split[split.length - 1]
Expand Down

0 comments on commit 14a1efe

Please sign in to comment.