Kelab/ChineseTimeNLP
将中文时间表达词转为相应的时间字符串,支持时间点,时间段,时间间隔。
This tool helps convert natural language Chinese time expressions into standardized date and time strings. You input a sentence containing phrases like "明天下午三点" (tomorrow at 3 PM) or "三天后" (three days later), and it outputs a precise date and time, a time span, or a time duration. It's useful for anyone working with Chinese text who needs to accurately extract and interpret temporal information, such as data analysts or researchers.
No commits in the last 6 months.
Use this if you need to programmatically convert varied natural language Chinese time expressions into a standard, machine-readable date/time format.
Not ideal if your task involves recognizing and extracting non-temporal numeric entities or if you need a solution for languages other than Chinese.
Stars
26
Forks
9
Language
Python
License
—
Category
Last pushed
Jul 04, 2021
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/Kelab/ChineseTimeNLP"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
adbar/htmldate
Fast and robust date extraction from web pages, with Python or on the command-line
alvinwan/timefhuman
Extract datetimes and durations from natural language text as Python objects. Supports ranges,...
akoumjian/datefinder
Find dates inside text using Python and get back datetime objects
DanielJDufour/date-extractor
Extract dates from text
mike182uk/timestring
Parse a human readable time string into a time based value