Electronic device and method for controlling the electronic device thereof

    公开(公告)号:US12248760B2

    公开(公告)日:2025-03-11

    申请号:US17747399

    申请日:2022-05-18

    Abstract: An electronic device and a method of controlling an electronic device are provided. The method includes obtaining an image comprising a text through a camera, identifying an input text, among texts included in the image, to be translated, obtaining a first vector corresponding to the input text by inputting the identified input text to an encoder of a translation model, identifying whether additional information is necessary to translate the input text by inputting the first vector to a first artificial intelligence model trained to translate the input text, based on identification that the additional information is necessary, identifying additional information among the at least one context information by inputting the first vector and at least one context information obtained from the image, and obtaining an output text corresponding to the input text by inputting the first vector and the identified additional information to a decoder of the translation model.

Patent Agency Ranking