AI product Open source
gpu-time is an experimental local neural parser for English date and time expressions. It converts text into ISO dates and time ranges, RFC 5545 recurrence rules, diagnostics, and source spans. The parser extracts token features without a word list, classifies tokens into time-related roles, detects expression boundaries, and uses TypeScript to build schedules from the predictions. It runs on CPU or WebGPU, with WebGPU processing parallel blocks and overlapping windows for long inputs; a calendar resolver applies the supplied reference instant, time zone, daylight-saving rules, and occurrence limit. The package provides parse, parseMany, and defineParser APIs, and does not send input to a server.
1 use taken from transcripts — each links to the moment in the video.
Parses natural-language time expressions into ISO date ranges with recurrence rules entirely on-device, using CPU by default and WebGPU for larger batches while handling time zones and daylight saving.
1 in the library.