{"id":15676560,"url":"https://github.com/shadowtime2000/natural-classifier","last_synced_at":"2025-03-30T06:28:16.181Z","repository":{"id":143808213,"uuid":"271616738","full_name":"shadowtime2000/natural-classifier","owner":"shadowtime2000","description":"A command line tool to train natural classifiers in NodeJS from JSON data.","archived":false,"fork":false,"pushed_at":"2020-06-24T05:20:27.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T08:35:20.917Z","etag":null,"topics":["natural","natural-language","natural-language-processing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/shadowtime2000.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-11T18:14:50.000Z","updated_at":"2020-06-24T05:20:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"adfbe7df-ec61-4670-9a85-c28356fceb54","html_url":"https://github.com/shadowtime2000/natural-classifier","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"629b84ab8beb0a59424cba2af44bdfdf000454a3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fnatural-classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fnatural-classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fnatural-classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fnatural-classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowtime2000","download_url":"https://codeload.github.com/shadowtime2000/natural-classifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285654,"owners_count":20752947,"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":["natural","natural-language","natural-language-processing"],"created_at":"2024-10-03T16:03:29.326Z","updated_at":"2025-03-30T06:28:16.158Z","avatar_url":"https://github.com/shadowtime2000.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# natural-classifier\nA command line tool to train natural classifiers in NodeJS from JSON data.\nThe natural language processing NodeJS library uses classifiers that you must call methods on to add training data. This seems needless because if you get more data, you are required to change your code. This is a simple command line tool that can read JSON files and train and export a classifier from it.\n\n## Dependencies\nThis project was built with:\n* NodeJS\n* yargs\n* natural\n* fs\n\n## Installation\n\nYou can install this repository and use ```npm install -g``` in it, or you can download it from the Github npm registry with this:\n```\n\u003e npm install @shadowtime2000/natural-classifier\n```\n\n## Usage\nYour training data must be structered like this:\n```\n{\n  \"documents\": [\n    {\"data\": \"gold\", \"class\": \"sell\"},\n    {\"data\": \"silver\", \"class\": \"buy\"}\n  ]\n}\n```\nTo find all commands use the following command:\n```\n\u003e natural-classify --help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowtime2000%2Fnatural-classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowtime2000%2Fnatural-classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowtime2000%2Fnatural-classifier/lists"}