gn_search_all: Search a file f for all geonames using fastmatch

Description Usage Arguments

Description

Fast reverse-lookup search of all 2.27M place names in geonames. Whereas gn_search_all searches the 2.27M geonames against the text, this function tokenizes

Usage

1
gn_search_all(text, ngram_min = 1, ngram_max = 7)

Arguments

text

Text to be searched for geonames; should be 'clean,' i.e., no eol characters, multi-spaces replaced with singles, etc.

ngram_min

Min ngram length to create of each texts (default = 1)

ngram_max

Max ngram length to create of each texts (default = 7)


jacob-ogre/us.geonames documentation built on May 20, 2019, 6:03 p.m.