Syllabore 3.0.1-alpha
dotnet add package Syllabore --version 3.0.1-alpha
NuGet\Install-Package Syllabore -Version 3.0.1-alpha
<PackageReference Include="Syllabore" Version="3.0.1-alpha" />
<PackageVersion Include="Syllabore" Version="3.0.1-alpha" />
<PackageReference Include="Syllabore" />
paket add Syllabore --version 3.0.1-alpha
#r "nuget: Syllabore, 3.0.1-alpha"
#addin nuget:?package=Syllabore&version=3.0.1-alpha&prerelease
#tool nuget:?package=Syllabore&version=3.0.1-alpha&prerelease
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 findSyllabore
- In Visual Studio, use the NuGet package manager to find
Syllabore
or run the package manager commandInstall-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 | Versions 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. |
-
.NETStandard 2.0
- Archigen (>= 1.3.1)
- System.Text.Json (>= 9.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
3.0.1-alpha | 109 | 4/6/2025 | |
3.0.0-alpha | 139 | 4/6/2025 | |
2.3.4 | 9,205 | 11/15/2024 | |
2.3.3 | 1,975 | 6/7/2024 | |
2.3.2 | 301 | 12/6/2023 | |
2.3.1 | 560 | 10/11/2023 | |
2.3.0 | 232 | 10/10/2023 | |
2.2.1 | 1,513 | 5/5/2023 | |
2.0.2 | 345 | 4/2/2023 | |
2.0.1 | 1,865 | 11/18/2021 | |
1.1.0 | 2,023 | 10/5/2020 | |
1.0.2 | 587 | 9/8/2020 | |
1.0.1 | 687 | 4/29/2020 | |
1.0.0 | 721 | 12/27/2019 |