{"id":20258518,"url":"https://github.com/agentd00nut/markov_wine","last_synced_at":"2026-02-07T16:32:03.489Z","repository":{"id":182756491,"uuid":"79363216","full_name":"agentd00nut/markov_wine","owner":"agentd00nut","description":"simple markov chain wine reviewer","archived":false,"fork":false,"pushed_at":"2017-01-18T17:59:17.000Z","size":911,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-23T01:40:59.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OpenEdge ABL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agentd00nut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-01-18T17:07:08.000Z","updated_at":"2017-01-18T17:21:10.000Z","dependencies_parsed_at":"2023-07-21T09:31:30.173Z","dependency_job_id":null,"html_url":"https://github.com/agentd00nut/markov_wine","commit_stats":null,"previous_names":["agentd00nut/markov_wine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agentd00nut/markov_wine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentd00nut%2Fmarkov_wine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentd00nut%2Fmarkov_wine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentd00nut%2Fmarkov_wine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentd00nut%2Fmarkov_wine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agentd00nut","download_url":"https://codeload.github.com/agentd00nut/markov_wine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentd00nut%2Fmarkov_wine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29199767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-14T11:09:27.296Z","updated_at":"2026-02-07T16:32:03.445Z","avatar_url":"https://github.com/agentd00nut.png","language":"OpenEdge ABL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# markov_wine\n95% of the code was used from here http://www.onthelambda.com/2014/02/20/how-to-fake-a-sophisticated-knowledge-of-wine-with-markov-chains/\n\nAll I've done is updated the xpath selector.  Munged around with the process.sh script and tried to improve the review generation.\n\n\nHow to use\n==========\nAs of /1/18/17 the wine-reviews.txt and chain.p are up to date.  This means you can just run `python build_review.py` to generate a review.\n\nIf you want to update the library run `./process.sh`... Try to be nice to winespectator.com and either add a sleep in the get-reviews script or\ndon't do this very often!\n\nImprovements\n============\n\nAll I've done is reduced the chance that the word \"and\" is a valid choice more than once in any given review.\nEach time \"and\" is picked it's chances of being used in the review again are halved.\n\nThis avoids sentences like `Full-bodied, with fine focus and its broad, intense and vivid, with a tangy, lip-smacking profile.`\nAmazingly this tiny modification seems to have improved the results drastically.\n\nTodo\n======\nAnalyze, in some way, a large volume of the generated reviews to identify other stop words (and, or, the, of), that appear\nmore frequently than one would expect from a real sentence.\n\nGet other data sets and see where it takes us.\n\nPotentially add a \"negation\" effect on certain key words.  We shouldn't use \"sweet\" if we've already picked \"dry\", the blog post touched on this.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentd00nut%2Fmarkov_wine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagentd00nut%2Fmarkov_wine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentd00nut%2Fmarkov_wine/lists"}