Weights
Adjusting weights of symbols
Sometimes certain symbols need to appear more often than others. You can control the frequency of a symbol by setting its weight.
The higher the weight, the more often the symbol will show up in generated names. Consider the following example:
Calls to names.Next()
will generate names like:
In the example above:
The vowels
a
e
i
will appear 4x more likely thano
u
Adjusting weights of clusters
You can set the weight of clusters the same way as you would for regular symbols. Consider the following generator:
In this example, all clusters will show up 4x more likely than normal symbols. Calls to names.Next()
will generate names like:
Last updated