CPC G06F 3/04842 (2013.01) [G06F 40/253 (2020.01); G06F 40/289 (2020.01)] | 19 Claims |
1. An electronic apparatus comprising:
a display;
memory; and
a processor communicatively coupled to the display, and the memory,
wherein the memory stores instructions that, when executed by the processor, cause the electronic apparatus to:
control the display to display at least one sentence,
receive a user input to select at least one character of the at least one sentence that is displayed,
in response to the user input selecting the at least one character of the at least one sentence that is displayed, analyze the at least one sentence,
obtain a plurality of character set candidates consisting a plurality of characters included in the at least one sentence, where at least one character set candidate among the plurality of character set candidates is identified as an idiom and includes the at least one character of the at least one sentence selected by the user input and at least one of character of the at least one sentence that are not adjacent to the at least one character selected by the user input,
select a character set from among the plurality of character set candidates included in the at least one sentence according to an analysis result, and
display the selected character set to be distinguished from other characters included in the at least one sentence.
|