Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSyllableStructures = structureList{
"CVC",
"CVV?C",
"CVVC?", "CVC?", "CV", "VC", "CVF", "C?VC", "CVF?",
"CL?VC", "CL?VF", "S?CVC", "S?CVF", "S?CVC?",
"C?VF", "C?VC?", "C?VF?", "C?L?VC", "VC",
"CVL?C?", "C?VL?C", "C?VLC?",
}
Functions ¶
func RandomRange ¶
func RandomRuneFromString ¶
Types ¶
type Language ¶
type Language struct { ApplyOrtho bool ApplyMorph bool Phonemes map[string]string Morphemes map[string][]string SyllableRestrictions []string ConsOrtho orthoMapping VowelOrtho orthoMapping Words generatedWords }
func BasicLanguage ¶
func BasicLanguage() *Language
func OrthoLanguage ¶
func OrthoLanguage() *Language
func RandomLanguage ¶
func (*Language) MakeName ¶
func (lang *Language) MakeName(params *NameParams) (name string)
type NameParams ¶
type NameParams struct { MinLength int MaxLength int WordParams *WordParams Joiners string Group string }
type WordParams ¶
Click to show internal directories.
Click to hide internal directories.