Syllabore 3.0.1-alpha

This is a prerelease version of Syllabore.
dotnet add package Syllabore --version 3.0.1-alpha
                    
NuGet\Install-Package Syllabore -Version 3.0.1-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syllabore" Version="3.0.1-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Syllabore" Version="3.0.1-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Syllabore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Syllabore --version 3.0.1-alpha
                    
#r "nuget: Syllabore, 3.0.1-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Syllabore&version=3.0.1-alpha&prerelease
                    
Install Syllabore as a Cake Addin
#tool nuget:?package=Syllabore&version=3.0.1-alpha&prerelease
                    
Install Syllabore as a Cake Tool

Nuget

alternate text is missing from this package README image

What is this?

Syllabore is a name generator that does not use pre-defined lists of names.

You will find Syllabore useful if:

  • You do not want to randomly select names from lists
  • You want a name generator that can be used 100% offline
  • You want a name generator that can be embedded into a .NET app or game

Quick Start

Use the NameGenerator class to generate names. Every call to Next() returns a new name.

The following example creates a single name and prints it to the console:

var names = new NameGenerator("str", "aeo");
Console.WriteLine(names.Next());

Each call to names.Next() will return names like:

Sasara
Rosa
Tetoro

Check out the documentation for more details.

Positioning

Names are made up of syllables. Syllables are made up of symbols.

Tell the NameGenerator what symbols to use for each symbol position and syllable position.

var names = new NameGenerator()
    .Start(x => x     // The starting syllable of a name
        .First("st")  // Leading consonants
        .Middle("ae") // Vowels
        .Last("rl"))  // Trailing consonants
    .Inner(x => x     // The "body" of a name
        .First("mnr")
        .Middle("ioa"))
    .End(x => x       // The ending syllable of a name
        .CopyInner()) // Use the same symbols as inner syllables
    .SetSize(3);      // Makes names 3 syllables long

Calls to names.Next() will generate names like

Termino
Sarnina
Telnari

Check out the documentation for more details.

Transforms

Add determinism to names by using a transform.

This example forces every name to end with the suffix -nia:

var names = new NameGenerator()
    .Any(x => x                       // For all syllable positions...
        .First("lmnstr")              // Use these consonants
        .Middle("aeiou"))             // And these vowels
    .Transform(x => x.Append("nia"))  // Then add this suffix to the final name
    .SetSize(2);

Calls to names.Next() will produce names like:

Sarunia
Timania
Lisonia

Check out the documentation for more details.

Filtering Output

Prevent certain symbol combinations from appearing in names by using a filter.

The following generator uses the symbols m u, but uses a filter to prevent m from appearing at the beginning of a name and prevents u from ending it:

var names = new NameGenerator()
    .Any(x => x
        .First("strlmn")
        .Middle("aeiou"))
    .Filter("^M|u$");

This generator produces names like:

Temaro
Rima
Narumi

Check out the documentation for more details.

Installation

Check out the installation documentation for full details. The gist is:

  • In Visual Code, use the NuGet: Add NuGet Package command in Microsoft's C# Dev Kit extension to find Syllabore
  • In Visual Studio, use the NuGet package manager to find Syllabore or run the package manager command Install-Package Syllabore
  • In the .NET CLI, run the command dotnet add package Syllabore

Compatibility

Syllabore is a .NET Standard 2.0 class library and is compatible with applications using:

  • .NET or .NET Core 2.0 to 8.0 inclusive
  • .NET Framework 4.6.1 to 4.8.1 inclusive
  • Mono 5.4 and 6.4
  • Godot 4 (Using the .NET edition of the engine)
  • Unity Engine
  • MonoGame

License

MIT License

Copyright (c) 2019-2025 Kevin Sacro

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.