3 namespace Nominatim\Token;
6 * A standard word token.
10 /// Database word id, if applicable.
12 /// If true, the word may represent only part of a place name.
14 /// Number of appearances in the database.
15 public $iSearchNameCount;
16 /// Number of terms in the word.
19 public function __construct($iId, $bPartial, $iSearchNameCount, $iTermCount)
22 $this->bPartial = $bPartial;
23 $this->iSearchNameCount = $iSearchNameCount;
24 $this->iTermCount = $iTermCount;
27 public function debugInfo()
33 'partial' => $this->bPartial,
34 'count' => $this->iSearchNameCount