{"id":21040992,"url":"https://github.com/chfoo/tellnext","last_synced_at":"2025-05-15T16:33:31.279Z","repository":{"id":24346803,"uuid":"27744807","full_name":"chfoo/tellnext","owner":"chfoo","description":"Next word prediction using Markov chain and trigram model.","archived":true,"fork":false,"pushed_at":"2017-07-16T01:03:45.000Z","size":25,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T20:14:51.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chfoo.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2014-12-09T01:59:49.000Z","updated_at":"2024-07-13T07:29:28.000Z","dependencies_parsed_at":"2022-07-16T00:00:35.831Z","dependency_job_id":null,"html_url":"https://github.com/chfoo/tellnext","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftellnext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftellnext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftellnext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Ftellnext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chfoo","download_url":"https://codeload.github.com/chfoo/tellnext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254377498,"owners_count":22061157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-19T13:49:36.910Z","updated_at":"2025-05-15T16:33:31.038Z","avatar_url":"https://github.com/chfoo.png","language":"Python","readme":"tellnext\n========\n\nNext word prediction using a Markov chain and trigram model.\n\nTellNext is a toy library and tool for predicting the next word in a sentence. It is a form of autocomplete, as seen in iOS and Android text input, where a list of candidate words is available for selection after entry of a word.\n\nIt currently only works with English words.\n\n\nQuick Start\n===========\n\nRequires Python 3 (or PyPy 3 during training).\n\nDependencies::\n\n    pip3 install -r requirements.txt\n\nTrain your language model::\n\n    pypy3 -m tellnext --database MODEL.db train CORPUS.TXT\n\nTrain using Twitter Tweets::\n\n   pypy3 -m tellnext --database MODEL.db train-twitter \\\n       archiveteam-twitter-spritzer-2012-03/\n       archiveteam-twitter-spritzer-2013-08/\n\nGet a list of predictions::\n\n    python3 -m tellnext --database MODEL.db next dragons are\n\nGenerate some sentences::\n\n    python3 -m tellnext --database MODEL.db generate --lines 10\n\n\nCredits\n=======\n\nCopyright 2014 Christopher Foo. License GPL 3.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Ftellnext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchfoo%2Ftellnext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Ftellnext/lists"}