I'm wondering why words appear to entered twice in the word table, once plain and once with a leading space.

This table is part of Nominatim (or Gazetteer as it was called when i first installed it). Here are links for the create table statement.

asked 05 May '12, 15:26

brian_252's gravatar image

brian_252
76236
accept rate: 0%

edited 06 May '12, 00:08

3

Please tell us what word table you are talking about.

(05 May '12, 17:10) scai

Tokens with a leading space constitute full matches (names), while those with out spaces are simple words. To give an example: for 'swan lane rd', you will find ' swan lane rd' as the name and 'swan', 'lane' and 'rd' as partial words. Single word names have always two entries: 'london' will have ' london' for the full name and 'london' as a word match.

link

answered 06 May '12, 14:39

lonvia's gravatar image

lonvia
3.3k3157
accept rate: 32%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×224
×39

Asked: 05 May '12, 15:26

Seen: 2,435 times

Last updated: 06 May '12, 14:39

powered by OSQA