/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Reads populated places from a GeoNames country dump and emits locality rows. * * Region and country names come from `admin1CodesASCII.txt` and `countryInfo.txt` in the same directory. When a * file is missing, rows omit that component. */ import { type CorpusAdapter } from "#types"; /** * The source ID on rows from this adapter. */ export declare const GEONAMES_ADAPTER_ID = "geonames"; /** * The license on rows from this adapter. */ export declare const GEONAMES_DEFAULT_LICENSE = "CC-BY-4.0"; /** * Zero-based column indices in a GeoNames main-table dump. */ export declare const GEONAMES_MAIN_COLUMNS: { readonly geonameid: 0; readonly name: 1; readonly asciiname: 2; readonly alternatenames: 3; readonly latitude: 4; readonly longitude: 5; readonly featureClass: 6; readonly featureCode: 7; readonly country: 8; readonly admin1: 10; readonly population: 14; }; /** * Creates the GeoNames populated-place adapter. */ export declare function createGeonamesAdapter(): CorpusAdapter; /** * The adapter instance registered with the corpus builder. */ export declare const geonamesAdapter: CorpusAdapter; //# sourceMappingURL=adapter.d.ts.map