{"id":26848973,"url":"https://github.com/crodas/lingo-rs","last_synced_at":"2025-03-30T21:24:00.465Z","repository":{"id":45136410,"uuid":"356425168","full_name":"crodas/lingo-rs","owner":"crodas","description":"    Standalone library and program for natural language classification.","archived":false,"fork":false,"pushed_at":"2022-01-05T23:37:26.000Z","size":1179,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-02-28T09:13:54.531Z","etag":null,"topics":["categorization","detection","language","rust","text"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/crodas.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":"2021-04-09T23:55:06.000Z","updated_at":"2024-07-06T07:06:46.000Z","dependencies_parsed_at":"2022-09-26T20:20:47.284Z","dependency_job_id":null,"html_url":"https://github.com/crodas/lingo-rs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crodas%2Flingo-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crodas%2Flingo-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crodas%2Flingo-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crodas%2Flingo-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crodas","download_url":"https://codeload.github.com/crodas/lingo-rs/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246058158,"owners_count":20717060,"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":["categorization","detection","language","rust","text"],"created_at":"2025-03-30T21:23:59.998Z","updated_at":"2025-03-30T21:24:00.453Z","avatar_url":"https://github.com/crodas.png","language":"Rust","readme":"# Lingo\n\nN-Gram-Based natural language detection library.\n\n## Usage\n\n### Language detection\n\n```rust\nuse lingo::Lingo;\n\nfn main() {\n    let textcat  = Lingo::new();\n    let text     = \"Hi there, this is a simple text written in what language?\";\n    let language = textcat.get_language(text).unwrap();\n\n    println!(\"\\\"{}\\\" is written in \\\"{}\\\"\", text, language);\n}\n```\n\n### Stopwords and Stemmers\n\nLingo provides stopwords and stemmers for some languages by wrapping third party libraries.\n\nThe usage is quite simple.\n\n```rust\nuse lingo::Language;\n\nfn main() {\n    let stopwords = Language::English.stopwords()?;\n    let stemmer   = Language::English.stemmer()?;\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrodas%2Flingo-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrodas%2Flingo-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrodas%2Flingo-rs/lists"}