-
公开(公告)号:US10445429B2
公开(公告)日:2019-10-15
申请号:US15867480
申请日:2018-01-10
Applicant: Apple Inc.
Inventor: Mubarak Ali Seyed Ibrahim , Juan C. Garcia , Rushin N. Shah , Nicholas K. Treadgold , Justin J. Brinegar , Gagan Aneja , Alan Qian
Abstract: Systems and processes for natural language processing using vocabularies with compressed serialized tries are described in the present disclosure. In one example process, natural language input is received. The natural language input is parsed, using a vocabulary, to determine a corresponding user intent. The parsing includes using a data structure of the vocabulary to map a first word of the natural language input to first semantic information and a second word of the natural language input to second semantic information. The data structure includes pointers that map to a same semantic data object of the vocabulary. The first semantic information and the second semantic information are determined using the same semantic data object. The user intent is determined based on the first semantic information and the second semantic information. Performance of a task corresponding to the determined user intent is initiated.
-
公开(公告)号:US10733375B2
公开(公告)日:2020-08-04
申请号:US16012531
申请日:2018-06-19
Applicant: Apple Inc.
Inventor: Lin Li , Deepak Muralidharan , Xiao Yang , Justine Kao , Lavanya Colinjivadi Viswanathan , Mubarak Ali Seyed Ibrahim , Ashish Garg
IPC: G10L15/22 , G06F40/211 , G06N5/02
Abstract: Systems and processes for operating an intelligent automated assistant are provided. An example process receives natural language input and determines a first and a second parsing result for the natural language input. The first and the second parsing results include respective mappings of one or more properties of a domain corresponding to the natural language input to one or more words of the natural language input. The process determines whether the second parsing result corresponds to a data item in a knowledge base, and in accordance with determining that the second parsing result corresponds to the data item in the knowledge base, the process ranks the second parsing result higher than the first parsing result. Based on the ranking, the process generates a task flow using the second parsing result and executes the task flow to provide an output based on the data item.
-