Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Markov Machine

An asset by birdt_
The page banner background of a mountain and forest
Markov Machine hero image

Quick Information

0 ratings
Markov Machine icon image
birdt_
Markov Machine

A simple Markov Chain library, intended for name generation.

Supported Engine Version
4.3
Version String
1.0
License Version
AGPLv3
Support Level
community
Modified Date
8 months ago
Git URL
Issue URL

Markov Machine

This is a simple markov chain library, intended primarily for generating names from a sampleset but simple and extensible to just about anything else you'd like.

Usage is simple - create a new MarkovMachine object seeded with your sample data (a string with each entry seperated by a newline), then call generate_new() to generate a new output. For example:

    var m = MarkovMachine.new("Sampson\nSamantha")
    print(m.generate_new()) # example outputs: sam, son, sampa, etc...

See the test folder for a further example. The dataset used for generation is the first name list by elifiner, found here https://gist.github.com/elifiner/cc90fdd387449158829515782936a9a4

A simple Markov Chain library, intended for name generation.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Markov Machine icon image
birdt_
Markov Machine

A simple Markov Chain library, intended for name generation.

Supported Engine Version
4.3
Version String
1.0
License Version
AGPLv3
Support Level
community
Modified Date
8 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers