Language generation method and apparatus, electronic device and storage medium

    公开(公告)号:US11562150B2

    公开(公告)日:2023-01-24

    申请号:US17031569

    申请日:2020-09-24

    Abstract: The present disclosure proposes a language generation method and apparatus. The method includes: performing encoding processing on an input sequence by using a preset encoder to generate a hidden state vector corresponding to the input sequence; in response to a granularity category of a second target segment being a phrase, decoding a first target segment vector, the hidden state vector, and a position vector corresponding to the second target segment by using N decoders to generate N second target segments; determining a loss value based on differences between respective N second target segments and a second target annotated segment; and performing parameter updating on the preset encoder, a preset classifier, and the N decoders based on the loss value to generate an updated language generation model for performing language generation.

    Method, apparatus, electronic device and storage medium for processing a semantic representation model

    公开(公告)号:US11520991B2

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

    申请号:US16885358

    申请日:2020-05-28

    Abstract: The present disclosure provides a method, apparatus, electronic device and storage medium for processing a semantic representation model, and relates to the field of artificial intelligence technologies. A specific implementation solution is: collecting a training corpus set including a plurality of training corpuses; training the semantic representation model using the training corpus set based on at least one of lexicon, grammar and semantics. In the present disclosure, by building the unsupervised or weakly-supervised training task at three different levels, namely, lexicon, grammar and semantics, the semantic representation model is enabled to learn knowledge at levels of lexicon, grammar and semantics from massive data, enhance the capability of universal semantic representation and improve the processing effect of the NLP task.

    HUMAN-MACHINE INTERACTION
    15.
    发明申请

    公开(公告)号:US20210234814A1

    公开(公告)日:2021-07-29

    申请号:US17208865

    申请日:2021-03-22

    Abstract: A method for human-machine interaction based on a neural network is provided. The method includes: providing a user input as a first input for a neural network system; providing the user input to a conversation control system different from the neural network system; processing the user input by the conversation control system based on information relevant to the user input; providing a processing result of the conversation control system as second input for the neural network system; and generating, by the neural network system, a reply to the user input based on the first and second input.

    Method and apparatus for translating based on artificial intelligence

    公开(公告)号:US10467349B2

    公开(公告)日:2019-11-05

    申请号:US15832013

    申请日:2017-12-05

    Abstract: The resent disclosure provides a method and an apparatus for translating based on artificial intelligence. With the method, the text to be translated from the source language to the target language is acquired, in which, the text includes the target language term and the source language term. The candidate terms for translating the source language term and confidences of the candidate terms are determined. The candidate terms are used to replace the corresponding source language term, and each candidate term is combined with the target language term, so as to obtain each candidate translation. A probability of forming a smooth text when the candidate term is used in the candidate translation is predicted. Then the target term is chosen to be recommended according to the language probabilities of the candidate translations and the confidences of the candidate terms.

    Method and device for expanding data of bilingual corpus, and storage medium

    公开(公告)号:US09953024B2

    公开(公告)日:2018-04-24

    申请号:US14892933

    申请日:2014-09-04

    Abstract: Disclosed are a method and a device for expanding data of a bilingual corpus. The method for expanding data of a bilingual corpus includes: searching, in a source language-pivot language corpus, for at least one first pivot language phrase semantically matching a first source language phrase; searching, in the source language-pivot language corpus, for at least one second source language phrase semantically matching each of the first pivot language phrases to form a source language phrase set by the second source language phrases; searching, in a pivot language-target language corpus, for at least one first target language phrase semantically matching each of the first pivot language phrases to form a target language phrase set by the first target language phrases; combining the second source language phrases in the source language phrase set with the first target language phrases in the target language phrase set, so as to form at least one phrase pair in which a source language phrase and a target language phrase semantically match; and storing the formed at least one phrase pair in which the source language phrase and the target language phrase semantically match into a source language-target language corpus. Data in a bilingual corpus is expanded, so that the problem of data sparseness in the bilingual corpus is solved.

    METHOD AND DEVICE FOR EXPANDING DATA OF BILINGUAL CORPUS, AND STORAGE MEDIUM
    19.
    发明申请
    METHOD AND DEVICE FOR EXPANDING DATA OF BILINGUAL CORPUS, AND STORAGE MEDIUM 有权
    用于扩展双胞胎数据的方法和装置以及存储介质

    公开(公告)号:US20160239481A1

    公开(公告)日:2016-08-18

    申请号:US14892933

    申请日:2014-09-04

    Abstract: Disclosed are a method and a device for expanding data of a bilingual corpus. The method for expanding data of a bilingual corpus includes: searching, in a source language-pivot language corpus, for at least one first pivot language phrase semantically matching a first source language phrase; searching, in the source language-pivot language corpus, for at least one second source language phrase semantically matching each of the first pivot language phrases to form a source language phrase set by the second source language phrases; searching, in a pivot language-target language corpus, for at least one first target language phrase semantically matching each of the first pivot language phrases to form a target language phrase set by the first target language phrases; combining the second source language phrases in the source language phrase set with the first target language phrases in the target language phrase set, so as to form at least one phrase pair in which a source language phrase and a target language phrase semantically match; and storing the formed at least one phrase pair in which the source language phrase and the target language phrase semantically match into a source language-target language corpus. Data in a bilingual corpus is expanded, so that the problem of data sparseness in the bilingual corpus is solved.

    Abstract translation: 公开了一种用于扩展双语语料库数据的方法和装置。 用于扩展双语语料库的数据的方法包括:在源语言 - 枢轴语言语料库中搜索语义上匹配第一源语言短语的至少一个第一枢轴语言短语; 在源语言 - 枢轴语言语料库中搜索至少一个第二源语言短语,语义上匹配每个第一枢轴语言短语以形成由第二源语言短语设置的源语言短语; 在枢轴语言目标语言语料库中搜索至少一个第一目标语言短语,语义上匹配每个第一枢轴语言短语以形成由第一目标语言短语设置的目标语言短语; 将源语言短语集合中的第二源语言短语与目标语言短语集合中的第一目标语言短语组合,以形成源语言短语和目标语言短语在语义上匹配的至少一个短语对; 并且将所形成的至少一个短语对存储在源语言短语和目标语言短语语义匹配中到源语言目标语言语料库中。 双语语料库中的数据扩展,双语语料库数据稀疏问题得到解决。

    ON-LINE VOICE TRANSLATION METHOD AND DEVICE
    20.
    发明申请
    ON-LINE VOICE TRANSLATION METHOD AND DEVICE 有权
    在线语音翻译方法和设备

    公开(公告)号:US20160147744A1

    公开(公告)日:2016-05-26

    申请号:US14893008

    申请日:2014-11-12

    Inventor: Haifeng Wang Hua Wu

    Abstract: Disclosed are on-line voice translation method and device. The method comprises: conducting voice recognition on first voice information input by a first user, so as to obtain first recognition information; prompting the first user to confirm the first recognition information; translating the confirmed first recognition information to obtain and output first translation information; extracting, according to second information which is fed back by a second user, associated information corresponding to the second information; and correcting the first translation information according to the associated information and outputting the corrected translation information. By means of the on-line voice translation method and device, smooth communication can be ensured in cross-language exchanges.

    Abstract translation: 披露了在线语音翻译方法和设备。 该方法包括:对由第一用户输入的第一语音信息进行语音识别,以获得第一识别信息; 提示第一用户确认第一识别信息; 翻译确认的第一识别信息以获得和输出第一翻译信息; 根据由第二用户反馈的第二信息,提取与第二信息相对应的相关信息; 以及根据所述关联信息来校正所述第一翻译信息并输出所述经修正的翻译信息。 通过在线语音翻译方法和设备,可以在跨语言交换中保证顺畅的沟通。

Patent Agency Ranking