Skip to content

v1.0.0

Latest

Choose a tag to compare

@styayur styayur released this 25 Sep 06:18
· 14 commits to main since this release

Nickspeare v1.0.0

Shakespearean nickname generator: from tavern rogue to Agincourt king.

Highlights

  • Five-stage pipeline: 词库分类 → 文本抽取 → 逻辑组合 → 音韵融合与截取 → 数字加缀.
  • Four+ combination rules: rogue_to_king, quote_splice, archaic_coinage, markov_coin, markov_epithet.
  • Character-level Markov (namemaker-style) and word-level Markov (markov_poem-style) engines.
  • Feature extraction in Python and R from the Folger Digital Texts.
  • Zero runtime dependencies (Python 3.9+).
  • Live demo: https://styayur.github.io/Nickspeare/

Install

pip install nickspeare-1.0.0-py3-none-any.whl
nickspeare generate -n 20

Sources

Gutenberg #100, Karpathy tiny Shakespeare, Folger Shakespeare Digital Texts, Hyperbard (NLP).
Inspired by devjason/markov_poem and Rickmsd/namemaker.

License: GNU AGPL-3.0-or-later.