CONTEXT-BASED NATURAL LANGUAGE PROCESSING
    1.
    发明公开

    公开(公告)号:US20240330599A1

    公开(公告)日:2024-10-03

    申请号:US18738974

    申请日:2024-06-10

    申请人: GOOGLE LLC

    摘要: A method for context-based natural language processing is disclosed herein. The method comprises maintaining a plurality of dialog system rules, receiving a user request from a Dialog System Interface, receiving one or more attributes associated with the user request from the Dialog System Interface or a user device, and identifying a type of context associated with the user request based on the user request and the one or more attributes. A context label is assigned to the user request associated with the type of context. Based on the context label and the user request, a particular dialog system rule is selected from the plurality of dialog system rules. A response to the user request is generated by applying the dialog system rule to at least a part of the user request.

    Dialog system with automatic reactivation of speech acquiring mode

    公开(公告)号:US11355117B2

    公开(公告)日:2022-06-07

    申请号:US16990525

    申请日:2020-08-11

    申请人: Google LLC

    摘要: Embodiments of the disclosure generally relate to a dialog system allowing for automatically reactivating a speech acquiring mode after the dialog system delivers a response to a user request. The reactivation parameters, such as a delay, depend on a number of predetermined factors and conversation scenarios. The embodiments further provide for a method of operating of the dialog system. An exemplary method comprises the steps of: activating a speech acquiring mode, receiving a first input of a user, deactivating the speech acquiring mode, obtaining a first response associated with the first input, delivering the first response to the user, determining that a conversation mode is activated, and, based on the determination, automatically re-activating the speech acquiring mode within a first predetermined time period after delivery of the first response to the user.

    Annotations for developers
    8.
    发明授权

    公开(公告)号:US11775271B1

    公开(公告)日:2023-10-03

    申请号:US17316331

    申请日:2021-05-10

    申请人: Google LLC

    CPC分类号: G06F8/51 G06N3/04 G06N3/08

    摘要: Techniques are described herein for translating source code in one programming language to source code in another programming language using machine learning. A method includes: receiving first source code in a first higher-level programming language; processing the first source code, or an intermediate representation thereof, using a sequence-to-sequence neural network model to generate a sequence of outputs, each including a probability distribution; generating second source code in a second higher-level programming language by, for each output in the sequence of outputs: determining a highest probability in the probability distribution associated with the output; in response to the highest probability exceeding a first threshold, generating a predicted portion of the second source code based on a token that corresponds to the highest probability; and in response to the highest probability not exceeding the first threshold, generating a placeholder; and outputting the second source code.