🔡
Syllabore
GitHub
  • Overview
  • Starting Out
  • Fine-Tuning Generators
    • Positioning
    • Clusters
    • Weights
    • Chancing
    • Transforms
    • Filtering
  • More Techniques
    • Formatters
    • Generator Pools
    • Syllable Sets
    • Generator Serialization
  • More Examples
    • Soft/Hard-Sounding Names
    • Fantasy Names
    • Spaceship Names
    • Futuristic City Names
  • Class Docs
    • FilterCondition
    • FilterConstraint
    • GeneratorPool<T>
    • INameFilter
    • INameTransformer
    • IPotentialAction
    • IRandomizable
    • ISyllableGenerator
    • Name
    • NameFilter
    • NameFormat
    • NameFormatter
    • NameFormatterGeneratorOptions
    • NameGenerator
    • NameGeneratorSerializer
    • NameGeneratorTypeInformation
    • SerializedNameGenerator
    • SyllableGenerator
    • SyllableGeneratorFluentWrapper
    • SyllablePosition
    • SyllableSet
    • Symbol
    • SymbolGenerator
    • SymbolPosition
    • Transform
    • TransformSet
    • TransformStep
    • TransformStepType
Powered by GitBook
On this page
  1. More Examples

Fantasy Names

// Generates names like Terolis, Kuregar, Serogar, Tecetia, Meruria
var names = new NameGenerator()
    .Any(x => x
        .First(x => x
            .Add("lmnstr").Weight(4)
            .Add("kc").Weight(2)
            .Add("yz"))
        .Middle(x => x
            .Add("e").Weight(4)
            .Add("ai").Weight(2)
            .Add("uo")));

names.SetSize(2);

names.Transform(new TransformSet()
    .RandomlySelect(1)
    .Add(x => x.Append("tia"))
    .Add(x => x.Append("ria"))
    .Add(x => x.Append("lis"))
    .Add(x => x.Append("gar")));

PreviousSoft/Hard-Sounding NamesNextSpaceship Names

Last updated 1 month ago