{"id":22300104,"url":"https://github.com/rohitedathil/sentencegenerator","last_synced_at":"2026-05-16T18:36:29.440Z","repository":{"id":138305750,"uuid":"406419352","full_name":"RohitEdathil/SentenceGenerator","owner":"RohitEdathil","description":"A website which generates sentences using markov chains.","archived":false,"fork":false,"pushed_at":"2022-10-08T10:11:02.000Z","size":30383,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-24T23:35:47.433Z","etag":null,"topics":["ai","fastapi","hacktoberfest","markov-chain","python","sentence-generator"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RohitEdathil.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-14T15:17:43.000Z","updated_at":"2022-10-08T09:53:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"dca47016-623c-4420-974e-254cb566391f","html_url":"https://github.com/RohitEdathil/SentenceGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RohitEdathil/SentenceGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitEdathil%2FSentenceGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitEdathil%2FSentenceGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitEdathil%2FSentenceGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitEdathil%2FSentenceGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RohitEdathil","download_url":"https://codeload.github.com/RohitEdathil/SentenceGenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RohitEdathil%2FSentenceGenerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33114530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","fastapi","hacktoberfest","markov-chain","python","sentence-generator"],"created_at":"2024-12-03T18:09:09.466Z","updated_at":"2026-05-16T18:36:29.425Z","avatar_url":"https://github.com/RohitEdathil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentence Generator ✨\n\n## [See Demo 👈](https://sentencesimulator.web.app/)\n\nThis project generates sentences based on [Markov Chains](https://en.wikipedia.org/wiki/Markov_chain).\nAll the sentences are generated based on a particular theme as mentioned in the below section.\n\n# Available Models\n\n- Quotes: Trained with data from around 70K+ tweets\n- Shakespeare: Trained with data from around 100K+ lines of Shakespeare\n- Whatsapp: Trained with data from around 14K+ lines of WhatsApp group messages\n- News: Trained with data from around 1.2M+ lines of news headlines\n\n# Usage 🛠\n\n```python\nmodel = Generator(\"\u003cModel Name\u003e\") # Loads the model from models/\nprint(model.get()) # Generates a sentence and prints it\n```\n\nSee workspace.ipynb for more usage details.\n\n# Training 🏃‍♂️\n\nEach file should have sentences separated by newlines.\n\n```python\ntrain(\"\u003cfilename\u003e\",\"\u003c Model Name \u003e\"[,\u003cNumber of Sentences\u003e])\n```\n\n# API\n\napi.py is a FastAPI based app which provides an API interaction with the models.\n\n# Screenshots 🌆\n\n![Screenshot1](https://github.com/RohitEdathil/SentenceGenerator/blob/master/img/s1.jpg)\n![Screenshot2](https://github.com/RohitEdathil/SentenceGenerator/blob/master/img/s2.jpg)\n![Screenshot3](https://github.com/RohitEdathil/SentenceGenerator/blob/master/img/s3.jpg)\n\n# Similar (and cooler 🤩) Projects\nThese are the projects from which I got inspired from.\n - [Subreddit Simulator](https://www.reddit.com/r/SubredditSimulator/)\n - [Donald Trump tweet simulator](https://filiph.github.io/markov/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitedathil%2Fsentencegenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohitedathil%2Fsentencegenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohitedathil%2Fsentencegenerator/lists"}