Skip to content

Eit prosjekt for å få tak i ei nuget-pakka for å generera norske navn

Notifications You must be signed in to change notification settings

njanor/Navnegenerator

Repository files navigation

Navnegenerator

This repo supplies a random name generator for Norwegian names.

It should provide names with a distribution which is similar to that of the most popular names of the newest version of Statistisk sentralbyrås (SSB) latest published statistics.

Note: The SSB statistics does not include names which have been used fewer than 200 times during a given year.

SSB source: http://www.ssb.no/navn/

Example of use

After installing the NuGet-package, it should be to simply use one of the following generator methods:

var generator = new Generator(); // A new generator (loads names)
generator.GenererNyttKvinnenavn(); // A new name for a woman
generator.GenererNyttHerrenavn(); // A new name for a man
generator.GenererNyttNavn(); // A new name which could be for a woman or a man

About

Eit prosjekt for å få tak i ei nuget-pakka for å generera norske navn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages