Browse Source

documentation

temp_ngrams_strip_housenumbers
Peter Johnson 9 years ago
parent
commit
4ef1641d04
  1. 2
      test/unit/query/view/temp_ngrams_strip_housenumbers.js

2
test/unit/query/view/temp_ngrams_strip_housenumbers.js

@ -40,7 +40,7 @@ module.exports.tests.removeHouseNumber = function(test, common) {
test('removeHouseNumber', function(t) {
t.equal(rm('101 west 26th street'), 'west 26th street', 'house number removed');
t.equal(rm('10th avenue'), '10th avenue', 'house number removed');
t.equal(rm('10th avenue'), '10th avenue', 'don\'t remove ordinal numbers');
t.equal(rm('123 main st new york ny 10010 US'), 'main st new york ny US', 'also removes postcodes');

Loading…
Cancel
Save