Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Many years ago i created

https://github.com/luke-clifton/memorable-bits

(Also on hackage [0] but readme is missing)

It let's you define a pattern for generating "sentences" from data.

It deals with padding, lets you join word lists, or use multiple word lists in a single pattern.

Word lists can be any power of 2 long, and the library comes with a few different word lists.

[0] https://hackage.haskell.org/package/memorable-bits



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: