{"id":18746393,"url":"https://github.com/ownthink/semantic","last_synced_at":"2025-08-02T07:33:06.990Z","repository":{"id":113357965,"uuid":"151998609","full_name":"ownthink/Semantic","owner":"ownthink","description":"语义理解/口语理解，项目包含有词法分析：中文分词、词性标注、命名实体识别；口语理解：领域分类、槽填充、意图识别。","archived":false,"fork":false,"pushed_at":"2019-01-08T02:25:41.000Z","size":12,"stargazers_count":182,"open_issues_count":0,"forks_count":59,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-10T13:35:50.653Z","etag":null,"topics":["nlp","nlu","slu"],"latest_commit_sha":null,"homepage":"https://www.ownthink.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ownthink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-10-08T00:44:35.000Z","updated_at":"2025-06-09T11:21:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"e13f7ee1-0c75-4c8c-ba4a-f7c40cbb89c6","html_url":"https://github.com/ownthink/Semantic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ownthink/Semantic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ownthink%2FSemantic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ownthink%2FSemantic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ownthink%2FSemantic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ownthink%2FSemantic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ownthink","download_url":"https://codeload.github.com/ownthink/Semantic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ownthink%2FSemantic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268348645,"owners_count":24236298,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["nlp","nlu","slu"],"created_at":"2024-11-07T16:25:21.204Z","updated_at":"2025-08-02T07:33:06.953Z","avatar_url":"https://github.com/ownthink.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## 语义理解/口语理解\n\u003e\u003e\u003e 采用了深度学习等技术\n\n主要功能：\n* 中文分词\n* 词性标注\n* 命名实体识别\n* 领域分类\n* 槽填充\n* 意图识别\n\n自然语言处理使用的是作者开源的Jiagu项目：https://github.com/ownthink/Jiagu\n\nspoken举例：\n```\n上海的天气\n厦门明天会不会下雨\n姚明真正的身高是多少\n```\n\n### 使用方式\n```shell\npython3 test.py\n```\n\n解析结果\n```shell\n{\n    \"input\": \"厦门明天会不会下雨\", \n    \"semantics\": [\n        {\n            \"score\": \"0.8\", \n            \"domain\": \"天气\", \n            \"intent\": \"雨\", \n            \"slot\": [\n                [\n                    \"城市\", \n                    \"厦门\"\n                ], \n                [\n                    \"日期\", \n                    \"明天\"\n                ]\n            ]\n        }\n    ], \n    \"词法分析\": {\n        \"词性标注\": [\n            \"地名\", \n            \"时间词\", \n            \"动词\", \n            \"动词\", \n            \"动词\"\n        ], \n        \"实体识别\": [\n            \"B-地名\", \n            \"O\", \n            \"O\", \n            \"O\", \n            \"O\"\n        ], \n        \"中文分词\": [\n            \"厦门\", \n            \"明天\", \n            \"会\", \n            \"不会\", \n            \"下雨\"\n        ]\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fownthink%2Fsemantic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fownthink%2Fsemantic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fownthink%2Fsemantic/lists"}