{"id":22769709,"url":"https://github.com/bfontaine/trigrams","last_synced_at":"2025-03-30T11:29:30.566Z","repository":{"id":17893330,"uuid":"20842985","full_name":"bfontaine/trigrams","owner":"bfontaine","description":"Trigrams-based random text generation","archived":false,"fork":false,"pushed_at":"2021-03-30T06:44:41.000Z","size":16,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T23:43:42.276Z","etag":null,"topics":["library","python","text-generation","trigrams"],"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/bfontaine.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","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-06-14T22:06:05.000Z","updated_at":"2016-04-16T10:02:43.000Z","dependencies_parsed_at":"2022-09-11T21:34:04.159Z","dependency_job_id":null,"html_url":"https://github.com/bfontaine/trigrams","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Ftrigrams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Ftrigrams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Ftrigrams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfontaine%2Ftrigrams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfontaine","download_url":"https://codeload.github.com/bfontaine/trigrams/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246313054,"owners_count":20757421,"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":["library","python","text-generation","trigrams"],"created_at":"2024-12-11T15:14:10.591Z","updated_at":"2025-03-30T11:29:30.543Z","avatar_url":"https://github.com/bfontaine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"========\ntrigrams\n========\n\n.. image:: https://img.shields.io/travis/bfontaine/trigrams.png\n   :target: https://travis-ci.org/bfontaine/trigrams\n   :alt: Build status\n\n.. image:: https://coveralls.io/repos/bfontaine/trigrams/badge.png?branch=master\n   :target: https://coveralls.io/r/bfontaine/trigrams?branch=master\n   :alt: Coverage status\n\n.. image:: https://img.shields.io/pypi/v/trigrams.png\n   :target: https://pypi.python.org/pypi/trigrams\n   :alt: Pypi package\n\n.. image:: https://img.shields.io/pypi/dm/trigrams.png\n   :target: https://pypi.python.org/pypi/trigrams\n\n``trigrams`` is a simple trigrams-based random text generation Python module.\n\nInstall\n-------\n\n.. code-block::\n\n    [sudo] pip install trigrams\n\nThe library works with both Python 2.x and 3.x.\n\nUsage\n-----\n\n`Read the docs`_. ::\n\n    from trigrams import TrigramsDB\n    db = TrigramsDB()\n    db.feed(\"My interesting text\")\n    for f in ['source1.txt', 'source2.txt', 'source3.txt']:\n        db.feed(source=f)\n\n    print db.generate()\n\n\n.. _Read the docs: http://trigrams.readthedocs.org/en/latest/api_reference.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfontaine%2Ftrigrams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfontaine%2Ftrigrams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfontaine%2Ftrigrams/lists"}