TEXT PROCESSING METHOD AND MODEL TRAINING METHOD AND APPARATUS

    公开(公告)号:EP3964998A1

    公开(公告)日:2022-03-09

    申请号:EP20804954.4

    申请日:2020-01-17

    IPC分类号: G06F40/00

    摘要: This application relates to the field of artificial intelligence, and provides a text processing method, a model training method, and an apparatus. The method includes: obtaining target knowledge data, where the target knowledge data includes a first named entity, a second named entity, and an association between the first named entity and the second named entity; processing the target knowledge data to obtain a target knowledge vector; processing to-be-processed text to obtain a target text vector, where the to-be-processed text includes the first named entity; fusing the target text vector and the target knowledge vector based on a target fusion model, to obtain a fused target text vector and a fused target knowledge vector; and processing the fused target text vector and/or the fused target knowledge vector based on a target processing model, to obtain a processing result corresponding to a target task. The foregoing technical solution can improve accuracy of a result of processing a target task by the target processing model.

    IMAGE DISPLAY METHOD, ELECTRONIC DEVICE, AND STORAGE MEDIUM

    公开(公告)号:EP4280055A1

    公开(公告)日:2023-11-22

    申请号:EP21924379.7

    申请日:2021-12-08

    IPC分类号: G06F9/451

    摘要: Embodiments of this application provide an image display method, an electronic device, and a storage medium, and relate to the field of computer technologies. The method includes: obtaining a to-be-displayed image; identifying the to-be-displayed image, and determining a display type of the to-be-displayed image; obtaining a screen status of an electronic device, and determining whether the screen status of the electronic device matches the display type of the to-be-displayed image; determining a display area based on a matching result; and if the screen status of the electronic device does not match the display type of the to-be-displayed image, segmenting the to-be-displayed image to obtain a plurality of sub-images, and displaying the plurality of sub-images in the display area. According to the method provided in embodiments of this application, display efficiency of the to-be-displayed image on the electronic device can be improved, and viewing experience of a user can be improved.