Skip to content

inthescales/lyres-dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

686 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyre's Dictionary

Lyre's Dictionary is a computer program that generates dictionary entries for novel but etymologically plausible English words, based on actual roots and patterns in English.

It is also a group of bot accounts on Twitter, Mastodon, and Bluesky that post dictionary entries generated by the program.

You can find more information at www.lyresdictionary.com.

Usage

To run Lyre's Dictionary in the console, run lyre.py with the flag '--test'. It will generate an entry for one word and print it to the console.

To generate more entries at once, use the flag '-c' followed by an integer number.

To generate an entry for a word made from specific elements, use the flag '-k' followed by a comma-separated list of keys. The keys used are those in the "key" field of the entries in the morphs JSON files (located in the data directory).

For example, the following command:

python3 lyre.py --test -k cornus,ate-bodypart

gives the following output:

cornuate (adj)
having horns

Requirements

Due to dependencies, Lyre's Dictionary requires Python 3.6 or higher to run.

Posting on social media

Lyre's Dictionary uses Bot Buddy for posting to its social media accounts. Bot Buddy does not currently exist in any package manager, but you can find the source on Github.

About

Generates novel English words based on existing roots and patterns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors