lino.utils.demonames.bel

Example usage:

The first five Belgians:

>>> for i in range(5):
...     print(LAST_NAMES_BELGIUM.pop())
Adam
Adami
Adriaen
Adriaensen
Aelter
>>> from lino.utils.demonames import LAST_NAMES_RUSSIA

Next comes a group of five Russians:

>>> for i in range(5):
...     print(LAST_NAMES_RUSSIA.pop())
Abezgauz
Aleksandrov
Altukhov
Alvang
Ankundinov

Or here is a mixture of nationalities, for each Belgian comes one foreigner:

>>> from lino.utils.demonames import LAST_NAMES_MUSLIM
>>> LAST_NAMES = Cycler(LAST_NAMES_BELGIUM,
...     LAST_NAMES_RUSSIA, LAST_NAMES_BELGIUM, LAST_NAMES_MUSLIM)
>>> for i in range(10):
...     print(LAST_NAMES.pop())
Aelters
Arent
Aelterman
Abad
Aerens
Arnold
Aerts
Abbas
Aertsens
Arshan

Sources:

The raw data was originally copied from:

(This module's source code is available here.)

Functions

_test()

splitter1(s)

splitter2(s)

splitter3(s)

streets_of_eupen()

Yield an almost complete list of street names in Eupen.

streets_of_liege()

Yield an almost complete list of street names in Liège.

lino.utils.demonames.bel.streets_of_eupen()

Yield an almost complete list of street names in Eupen.

>>> for s in list(streets_of_eupen())[:5]:
...     print(s)
Aachener Straße
Akazienweg
Alter Malmedyer Weg
Am Bahndamm
Am Berg
lino.utils.demonames.bel.streets_of_liege()

Yield an almost complete list of street names in Liège.

>>> for s in list(streets_of_liege())[:5]:
...     print(s)
Place du 20-Août
Rue de l'Abattoir
Rue des Abeilles
Rue des Acacias
Rue de l'Académie