{"id":18903771,"url":"https://github.com/bububa/timenlp","last_synced_at":"2025-04-15T03:33:39.361Z","repository":{"id":57616188,"uuid":"368432571","full_name":"bububa/TimeNLP","owner":"bububa","description":"Time-NLP的golang版本 中文时间表达词转换","archived":false,"fork":false,"pushed_at":"2023-11-13T06:29:11.000Z","size":58,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T17:30:43.790Z","etag":null,"topics":["nlp","parser","time"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bububa.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":"2021-05-18T07:03:14.000Z","updated_at":"2024-06-17T07:14:51.000Z","dependencies_parsed_at":"2024-06-20T17:13:04.677Z","dependency_job_id":"a203e15b-4e03-4288-8e07-a6a78cfb4493","html_url":"https://github.com/bububa/TimeNLP","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bububa%2FTimeNLP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bububa%2FTimeNLP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bububa%2FTimeNLP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bububa%2FTimeNLP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bububa","download_url":"https://codeload.github.com/bububa/TimeNLP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223657830,"owners_count":17181024,"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":["nlp","parser","time"],"created_at":"2024-11-08T09:06:19.358Z","updated_at":"2024-11-08T09:06:19.826Z","avatar_url":"https://github.com/bububa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TimeNLP 中文语句中的时间语义识别的golang版本   \n\n[![Go Reference](https://pkg.go.dev/badge/github.com/bububa/TimeNLP.svg)](https://pkg.go.dev/github.com/bububa/TimeNLP)\n[![Go](https://github.com/bububa/TimeNLP/actions/workflows/go.yml/badge.svg)](https://github.com/bububa/TimeNLP/actions/workflows/go.yml)\n[![goreleaser](https://github.com/bububa/TimeNLP/actions/workflows/goreleaser.yml/badge.svg)](https://github.com/bububa/TimeNLP/actions/workflows/goreleaser.yml)\n[![GitHub go.mod Go version of a Go module](https://img.shields.io/github/go-mod/go-version/bububa/TimeNLP.svg)](https://github.com/bububa/TimeNLP)\n[![GoReportCard](https://goreportcard.com/badge/github.com/bububa/TimeNLP)](https://goreportcard.com/report/github.com/bububa/TimeNLP)\n[![GitHub license](https://img.shields.io/github/license/bububa/TimeNLP.svg)](https://github.com/bububa/TimeNLP/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/github/release/bububa/TimeNLP.svg)](https://gitHub.com/bububa/TimeNLP/releases/) \n\n## 使用\ngo get -u github.com/bububa/TimeNLP\n\n## 功能说明\n用于句子中时间词的抽取和转换 \n```golang\nimport (\n    \"log\"\n\n    \"github.com/bububa/TimeNLP\"\n)\n\nfunc main() {\n    target := \"Hi，all.下周一下午三点开会\"\n    preferFuture := true\n    tn := timenlp.TimeNormalizer(preferFuture)\n    ret, err := tn.Parse(target)\n    if err != nil {\n        log.Fatalln(err)\n    }\n    log.Printf(\"%+v\\n\", ret)\n}\n```\n\n## Reference \npython3 版本 https://github.com/zhanzecheng/Time_NLP\n\nJava 版本https://github.com/shinyke/Time-NLP\n\nPHP 版本https://github.com/crazywhalecc/Time-NLP-PHP\n\nJavascript 版本https://github.com/JohnnieFucker/ChiTimeNLP\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbububa%2Ftimenlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbububa%2Ftimenlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbububa%2Ftimenlp/lists"}