Method and device for determining time information based on natural language
By extracting and parsing time-level information from natural language using a large language model, and generating time-structured data, the problem of inaccurate semantic understanding and calculation in time parsing in existing technologies is solved, thus achieving rigor and accuracy in time calculation in the field of intelligent control.
Patent Information
- Application Number
- CN202610541031.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-22
- Publication Date
- 2026-07-17
AI Technical Summary
In the field of intelligent control, existing technologies such as rule-based and regular expression matching-based time parsing schemes have weak semantic understanding capabilities and are difficult to handle complex logic and discontinuous time intervals. End-to-end large model schemes are prone to inaccurate calculations and unstable output formats, making it difficult to meet the requirements of rigor.
A method based on a large language model is adopted. Temporal hierarchical information is extracted from natural language information through pre-configured semantic templates to generate temporally structured data. This data is then parsed at the execution layer to determine standard time objects. Fine-grained parsing is performed using anchors and selectors to avoid computational errors in the execution layer of the large language model.
It improves the accuracy of time calculation, eliminates context dependency defects, meets the rigorous requirements of the field of intelligent control, and avoids the illusion and output errors in date calculation of large language models.