{"id":13713472,"url":"https://github.com/euskadi31/go-ngram","last_synced_at":"2025-06-20T12:32:35.640Z","repository":{"id":38308416,"uuid":"125425148","full_name":"euskadi31/go-ngram","owner":"euskadi31","description":"an n-gram is a contiguous sequence of n items from a given sequence of text or speech.","archived":false,"fork":false,"pushed_at":"2025-05-05T12:45:26.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T11:06:20.882Z","etag":null,"topics":["go","golang","golang-library","machine-learning","ngram","ngram-analysis","ngrams","nlp"],"latest_commit_sha":null,"homepage":"","language":"Go","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/euskadi31.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2018-03-15T20:55:57.000Z","updated_at":"2025-05-05T12:45:28.000Z","dependencies_parsed_at":"2023-12-11T13:30:30.773Z","dependency_job_id":"6e9e5def-8b9d-4c64-a406-5868fb0440fd","html_url":"https://github.com/euskadi31/go-ngram","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/euskadi31/go-ngram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-ngram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-ngram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-ngram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-ngram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euskadi31","download_url":"https://codeload.github.com/euskadi31/go-ngram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euskadi31%2Fgo-ngram/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260944626,"owners_count":23086846,"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":["go","golang","golang-library","machine-learning","ngram","ngram-analysis","ngrams","nlp"],"created_at":"2024-08-02T23:01:37.226Z","updated_at":"2025-06-20T12:32:30.626Z","avatar_url":"https://github.com/euskadi31.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# Ngram for Golang ![Last release](https://img.shields.io/github/release/euskadi31/go-ngram.svg)\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/euskadi31/go-ngram)](https://goreportcard.com/report/github.com/euskadi31/go-ngram)\n\n| Branch | Status                                                                                                                                            | Coverage                                                                                                                                     |\n| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| master | [![Go](https://github.com/euskadi31/go-ngram/actions/workflows/go.yml/badge.svg)](https://github.com/euskadi31/go-ngram/actions/workflows/go.yml) | [![Coveralls](https://img.shields.io/coveralls/euskadi31/go-ngram/master.svg)](https://coveralls.io/github/euskadi31/go-ngram?branch=master) |\n\n\u003e an **_n_-gram** is a contiguous sequence of _n_ items from a given sequence of text or speech.\n\n```go\nimport (\n    \"fmt\"\n\n    \"github.com/euskadi31/go-ngram\"\n)\n\nfunc main() {\n    tokens := ngram.New(ngram.Bigram).Tokenize(\"Hello\")\n\n    fmt.Printf(\"%v\\n\", tokens) // [\"He\", \"el\", \"ll\", \"lo\"]\n}\n\n```\n\n## License\n\ngo-ngram is licensed under [the MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuskadi31%2Fgo-ngram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuskadi31%2Fgo-ngram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuskadi31%2Fgo-ngram/lists"}