https://github.com/meadsteve/british_food_generator
🥧 Generates classic British dishes
https://github.com/meadsteve/british_food_generator
food joke joke-website markov-chain python3
Last synced: about 1 month ago
JSON representation
🥧 Generates classic British dishes
- Host: GitHub
- URL: https://github.com/meadsteve/british_food_generator
- Owner: meadsteve
- Created: 2018-09-07T12:47:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-27T17:22:18.000Z (over 2 years ago)
- Last Synced: 2025-03-15T01:36:10.037Z (about 1 month ago)
- Topics: food, joke, joke-website, markov-chain, python3
- Language: Python
- Homepage:
- Size: 418 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# British Food Generator
[](https://travis-ci.org/meadsteve/british_food_generator)[british-food-generator.herokuapp.com](https://british-food-generator.herokuapp.com)
Written after a conversation at work made me realise that traditional british food names are a little bit strange.
Code quality is a bit questionable but the core components are detailed below. Contributions are very welcome.Powered by fastapi and hosted on heroku
## Name generation
Randomly selects from a few key words and combines with joining words.
[british_food_generator/name_generation.py](/british_food_generator/name_generation.py)## Description generation
Markov chain based.
Code here: [british_food_generator/description_generation.py](/british_food_generator/description_generation.py)
Source text: [british_food_generator/real_descriptions_of_food.txt](/british_food_generator/real_descriptions_of_food.txt)