/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * `german` recipe: German coverage rows from real OpenAddresses tuples (Berlin and Saxony, cached * zips). Each sampled tuple renders through {@link renderGermanRow} in both orders, with * `--intl-fraction` (default 0.4) in international order and the rest in idiomatic German order. * Generate mode builds a tuple pool from the cached zips, then draws `--count` rows with the passed * `random`. * * The combined renderings keep native-only recipe output from over-teaching German order. * Over-teaching German order appears as a collapse on the US/feed-order eval. * * Two registers are absent from the OA tuples. A comma-free single line (`Neusser Str. 12 Nippes 50733 * Köln`) segments as one unit at stage 2. With one segment, the placetype-pair prior never fires. * The model then reads `Nippes` as a second street. The one-value-per-tag projection deletes it. * `--comma-free-fraction` renders that many native-order rows with `" "` as the line separator. OA * rows also lack a district, so `--ortsteil-fraction` rows borrow a WOF Ortsteil of the tuple's * own locality as `dependent_locality`. The German spelling is recovered from the `names` table * ({@link ortsteilSurface}) because WOF's `spr.name` for DE neighborhoods is the ascii-folded label. */ import { type CorpusRecipe } from "#recipes/scaffold"; /** * The surface an Ortsteil is written with in an address, from WOF's rows for it. * * `spr.name` for a DE neighborhood is the ascii-folded label. * The `names` rows in `deu` contain the German spelling beside unrelated labels for co-located * features (`Bocklemuend` → `Bocklemünd`, `Jüdischer Friedhof Bocklemünd`, `Menara-Garten`). * * The German name is the one that spells the same label as `spr.name` under either of * WOF's ascii folds ({@link foldGerman}); with none, `spr.name` stands. * * WOF also prefixes some Ortsteile with their city (`Köln-Nippes`), a form absent from the envelope * once the city is its own line, so a leading `-` is dropped when something is left after it. */ export declare function ortsteilSurface(sprName: string, deuNames: readonly string[], locality: string): string; /** * Recipe registered with the corpus builder. */ export declare const germanRecipe: CorpusRecipe; //# sourceMappingURL=locale.d.ts.map