Time information determination method and device, storage medium and electronic device
The invention discloses a time information determination method and device, a storage medium and an electronic device, and relates to the technical field of smart home, and the method comprises the steps: obtaining first voice information through a voice interaction device, and obtaining first text...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a time information determination method and device, a storage medium and an electronic device, and relates to the technical field of smart home, and the method comprises the steps: obtaining first voice information through a voice interaction device, and obtaining first text information matched with the first voice information; extracting a time phrase in the first text information through a first regular expression; a first time operator corresponding to the time phrase is determined in a time operator configuration file, the time phrase is mapped to the first time operator, and the time operator configuration file comprises a plurality of time operators; and determining standard time information corresponding to the time phrase according to the current time and the first time operator mapped with the time phrase.
本申请公开了一种时间信息的确定方法和装置、存储介质及电子装置,涉及智慧家庭技术领域,方法包括:通过语音交互装置获取第一语音信息,并获取与所述第一语音信息匹配的第一文本信息;通过第一正则表达式提取所述第一文本信息中的时间短语;在时间算子配置文件中确定与所述时间短语对应的第一时间算子,并将所述时间短语映射到所述第一时间算子上,其中,所述时间算子配置 |
---|