{"id":13626164,"url":"https://github.com/snipsco/snips-nlu-parsers","last_synced_at":"2025-10-16T19:51:05.035Z","repository":{"id":43743342,"uuid":"166992914","full_name":"snipsco/snips-nlu-parsers","owner":"snipsco","description":"Rust crate for entity parsing","archived":false,"fork":false,"pushed_at":"2022-12-26T20:38:59.000Z","size":131,"stargazers_count":16,"open_issues_count":5,"forks_count":31,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-11-08T15:47:21.453Z","etag":null,"topics":["entity-recognition","entity-resolution","nlp","nlu","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snipsco.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","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":"2019-01-22T12:45:41.000Z","updated_at":"2024-06-21T20:09:12.000Z","dependencies_parsed_at":"2023-01-31T01:31:04.433Z","dependency_job_id":null,"html_url":"https://github.com/snipsco/snips-nlu-parsers","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snipsco%2Fsnips-nlu-parsers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snipsco%2Fsnips-nlu-parsers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snipsco%2Fsnips-nlu-parsers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snipsco%2Fsnips-nlu-parsers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snipsco","download_url":"https://codeload.github.com/snipsco/snips-nlu-parsers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249235060,"owners_count":21235140,"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":["entity-recognition","entity-resolution","nlp","nlu","rust"],"created_at":"2024-08-01T21:02:11.612Z","updated_at":"2025-10-16T19:50:59.997Z","avatar_url":"https://github.com/snipsco.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"Snips NLU Parsers\n=================\n\n.. image:: https://travis-ci.org/snipsco/snips-nlu-parsers.svg?branch=master\n   :target: https://travis-ci.org/snipsco/snips-nlu-parsers\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/snipsco/snips-nlu-parsers?branch=master\u0026svg=true\n   :target: https://ci.appveyor.com/project/snipsco/snips-nlu-parsers\n\nThis Rust crate provides APIs to extract entities in the context of a Natural Language Understanding (NLU)\ntask.\n\nA `Python wrapper \u003cpython\u003e`_ is also available.\n\nInstallation\n------------\n\nAdd this to your ``Cargo.toml``:\n\n.. code-block:: toml\n\n   [dependencies]\n   snips-nlu-parsers = { git = \"https://github.com/snipsco/snips-nlu-parsers\", tag = \"0.1.0\" }\n\n\nUsage\n-----\n\n.. code-block:: rust\n\n   use snips_nlu_parsers::{BuiltinEntityKind, BuiltinEntityParserLoader, Language};\n\n   fn parse_entities() {\n       let parser = BuiltinEntityParserLoader::new(Language::EN).load().unwrap();\n       let entities: Vec\u003c(_, _)\u003e = parser\n           .extract_entities(\"Book me restaurant for two people tomorrow\", None)\n           .unwrap()\n           .into_iter()\n           .map(|e| (e.entity_kind, e.range))\n           .collect();\n       assert_eq!(\n           vec![\n               (BuiltinEntityKind::Number, 23..26),\n               (BuiltinEntityKind::Time, 34..42)\n           ],\n           entities\n       );\n   }\n\nLicense\n-------\n\nLicensed under either of\n * Apache License, Version 2.0 (`LICENSE-APACHE \u003cLICENSE-APACHE\u003e`_ or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license (`LICENSE-MIT \u003cLICENSE-MIT\u003e`_) or http://opensource.org/licenses/MIT)\nat your option.\n\nContribution\n------------\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnipsco%2Fsnips-nlu-parsers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnipsco%2Fsnips-nlu-parsers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnipsco%2Fsnips-nlu-parsers/lists"}