{"id":20278506,"url":"https://github.com/wmentor/lang","last_synced_at":"2026-02-22T19:31:33.024Z","repository":{"id":57572130,"uuid":"322889148","full_name":"wmentor/lang","owner":"wmentor","description":"language detection Go library","archived":false,"fork":false,"pushed_at":"2022-09-26T19:37:01.000Z","size":130,"stargazers_count":4,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T06:16:17.402Z","etag":null,"topics":["armenian-language","english-language","go","go-library","golang","golang-library","language","language-detection","language-model","languages","linguistics","nlp","nlp-libraries","nlp-library","russian","russian-language"],"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/wmentor.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}},"created_at":"2020-12-19T16:24:40.000Z","updated_at":"2022-12-14T18:35:27.000Z","dependencies_parsed_at":"2022-08-23T22:21:27.028Z","dependency_job_id":null,"html_url":"https://github.com/wmentor/lang","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wmentor/lang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmentor%2Flang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmentor%2Flang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmentor%2Flang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmentor%2Flang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wmentor","download_url":"https://codeload.github.com/wmentor/lang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmentor%2Flang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29724362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T19:31:23.314Z","status":"ssl_error","status_checked_at":"2026-02-22T19:31:18.643Z","response_time":110,"last_error":"SSL_read: 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":["armenian-language","english-language","go","go-library","golang","golang-library","language","language-detection","language-model","languages","linguistics","nlp","nlp-libraries","nlp-library","russian","russian-language"],"created_at":"2024-11-14T13:23:47.945Z","updated_at":"2026-02-22T19:31:32.971Z","avatar_url":"https://github.com/wmentor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lang\n\n![test](https://github.com/wmentor/lang/workflows/test/badge.svg)\n[![https://goreportcard.com/report/github.com/wmentor/lang](https://goreportcard.com/badge/github.com/wmentor/lang)](https://goreportcard.com/report/github.com/wmentor/lang)\n[![https://pkg.go.dev/github.com/wmentor/lang](https://pkg.go.dev/badge/github.com/wmentor/lang.svg)](https://pkg.go.dev/github.com/wmentor/lang)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nSimple language detection library written on pure Go.\n\n## Summary\n\n* Require Go version \u003e= 1.18\n* Written on pure Go\n* Supported languages: Armenian (am), German (de), Greek (el), English (en), Spanish (es), French (fr), Italian (it), Georgian (ka), Russian (ru)\n* MIT license\n\n## Install\n\n```plaintext\ngo get github.com/wmentor/lang\n```\n\n## Usage\n\n```golang\npackage main\n\nimport (\n  \"strings\"\n\n  \"github.com/wmentor/lang\"\n)\n\nfunc main() {\n  println(lang.Detect(strings.NewReader(\"123 1231232332 12\"))) // ??\n  println(lang.Detect(strings.NewReader(\"Hello, world!\")))     // en\n  println(lang.Detect(strings.NewReader(\"Привет, мир!\")))      // ru\n  println(lang.Detect(strings.NewReader(\"Hallo Welt!\")))       // de\n  println(lang.Detect(strings.NewReader(\"Բարեւ աշխարհ!\")))     // am\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmentor%2Flang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmentor%2Flang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmentor%2Flang/lists"}