namegon

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 5 Imported by: 0

README

namegon

build

Another random name generator, loosely based on [namejen](https://github.com/eigenhombre/namejen).

Example Usage

`go get github.com/eigenhombre/namegon`

License: MIT

Copyright (c) 2023 John Jacobsen

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.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EOW = ""
View Source
var ExampleFemaleNames = []string{}/* 4275 elements not displayed */
View Source
var ExampleMaleNames = []string{}/* 1219 elements not displayed */
View Source
var LatinishNames = []string{}/* 3600 elements not displayed */

Adapted from https://www.math.ubc.ca/~cass/frivs/latin/latin-dict-full.html

Functions

func Namer

func Namer(names []string, n int) func() string

Types

type MarkovChain

type MarkovChain struct {
	// contains filtered or unexported fields
}

func (MarkovChain) Equals

func (chain MarkovChain) Equals(other MarkovChain) bool

func (MarkovChain) String

func (chain MarkovChain) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL