{"id":21259233,"url":"https://github.com/mycroftai/padatious","last_synced_at":"2025-04-05T07:04:08.788Z","repository":{"id":38010254,"uuid":"98936064","full_name":"MycroftAI/padatious","owner":"MycroftAI","description":"A neural network intent parser","archived":false,"fork":false,"pushed_at":"2021-11-10T00:47:30.000Z","size":100,"stargazers_count":161,"open_issues_count":8,"forks_count":39,"subscribers_count":18,"default_branch":"dev","last_synced_at":"2025-03-29T06:05:45.667Z","etag":null,"topics":["intent","intent-classification","language-detection","language-processing","text-analysis","text-processing"],"latest_commit_sha":null,"homepage":"http://padatious.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MycroftAI.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":"2017-07-31T22:41:03.000Z","updated_at":"2025-01-23T05:56:18.000Z","dependencies_parsed_at":"2022-09-12T15:22:12.077Z","dependency_job_id":null,"html_url":"https://github.com/MycroftAI/padatious","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MycroftAI%2Fpadatious","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MycroftAI%2Fpadatious/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MycroftAI%2Fpadatious/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MycroftAI%2Fpadatious/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MycroftAI","download_url":"https://codeload.github.com/MycroftAI/padatious/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299831,"owners_count":20916190,"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":["intent","intent-classification","language-detection","language-processing","text-analysis","text-processing"],"created_at":"2024-11-21T04:13:11.462Z","updated_at":"2025-04-05T07:04:08.764Z","avatar_url":"https://github.com/MycroftAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE.md) [![CLA](https://img.shields.io/badge/CLA%3F-Required-blue.svg)](https://mycroft.ai/cla) [![Team](https://img.shields.io/badge/Team-Mycroft_Core-violetblue.svg)](https://github.com/MycroftAI/contributors/blob/master/team/Mycroft%20Core.md) ![Status](https://img.shields.io/badge/-Production_ready-green.svg)\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n[![Join chat](https://img.shields.io/badge/Mattermost-join_chat-brightgreen.svg)](https://chat.mycroft.ai/community/channels/machine-learning)\n\n# Padatious\n\nAn efficient and agile neural network intent parser. Padatious is a core component of [Mycroft AI](https://mycroft.ai). \n\n## Features\n\n - Intents are easy to create\n - Requires a relatively small amount of data\n - Intents run independent of each other\n - Easily extract entities (ie. Find the nearest *gas station* -\u003e `place: gas station`)\n - Fast training with a modular approach to neural networks\n\n## Getting Started\n\n### Installing\n\nPadatious requires the following native packages to be installed:\n\n - [`FANN`][fann] (with dev headers)\n - Python development headers\n - `pip3`\n - `swig`\n\nUbuntu:\n\n```\nsudo apt-get install libfann-dev python3-dev python3-pip swig libfann-dev python3-fann2\n```\n\nNext, install Padatious via `pip3`:\n\n```\npip3 install padatious\n```\nPadatious also works in Python 2 if you are unable to upgrade.\n\n\n[fann]:https://github.com/libfann/fann\n\n### Example\n\nHere's a simple example of how to use Padatious:\n\n#### program.py\n```Python\nfrom padatious import IntentContainer\n\ncontainer = IntentContainer('intent_cache')\ncontainer.add_intent('hello', ['Hi there!', 'Hello.'])\ncontainer.add_intent('goodbye', ['See you!', 'Goodbye!'])\ncontainer.add_intent('search', ['Search for {query} (using|on) {engine}.'])\ncontainer.train()\n\nprint(container.calc_intent('Hello there!'))\nprint(container.calc_intent('Search for cats on CatTube.'))\n\ncontainer.remove_intent('goodbye')\n```\n\nRun with:\n\n```bash\npython3 program.py\n```\n\n## Learn More\n\nFurther documentation can be found at https://mycroft.ai/documentation/padatious/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycroftai%2Fpadatious","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmycroftai%2Fpadatious","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmycroftai%2Fpadatious/lists"}