| CPC G06F 40/289 (2020.01) [G06F 40/58 (2020.01); G06V 30/148 (2022.01); G06V 30/1916 (2022.01)] | 15 Claims |

|
1. A method for controlling an electronic apparatus comprising:
acquiring a plurality of words based on an image including a plurality of words;
acquiring a plurality of word combinations by combining the plurality of words, by inputting at least one word group constituting a first word combination among the plurality of word combinations to a first language model for identifying a sentence completeness, respectively, acquiring scores corresponding to each of at least one word group, and acquiring first scores indicating a sentence completeness of each of the plurality of word combinations based on the scores corresponding to each of the at least one word group;
based on all the first scores with respect to each of the plurality of word combinations being identified to be less than a predetermined value, by inputting the at least one word group constituting the first word combination to a sentence separation model for identifying an accuracy of a word combination, respectively, acquiring scores corresponding to each of the at least one word group, and acquiring second scores for each of the plurality of word combinations based on the scores corresponding to each of the at least one word group;
identifying one word combination among the plurality of word combinations based on the second scores; and
providing the identified one word combination to a translation model which performs translation.
|