5. The dictionary device according to claim 1 , wherein the plurality of touched positions include two touched positions, and wherein the CPU is further configured to search for an example sentence or a phrase, which includes the plurality of specified words being adjoined or separated from each other and in an order different from their order in the displayed sentence, in the searching processing in a case where it is detected that the two touched positions are crossed.
1. A dictionary device comprising: a display; a touch panel; and a CPU, wherein the CPU is configured to: display a sentence including a plurality of words on the display; detect a plurality of touched positions of a user on the touch panel; specify, as an object to be searched for, a plurality of words that are included in the displayed sentence and that correspond to the plurality of detected touched positions; detect a relative positional change of the plurality of detected touched positions after the plurality of words are specified as the object to be searched for; search dictionary data in a dictionary storage, which stores dictionary data of an example sentence or a phase including a plurality of words, for an example sentence or a phrase including the plurality of specified words by a search method corresponding to the relative positional change of the plurality of detected touched positions; further detect, in the processing of detecting the relative positional change, whether the plurality of touched positions are moved closer to each other along with movements of the plurality of touched positions; and search for an example sentence or a phrase, which includes the plurality of specified words being adjoined without a different character therebetween and in a same order as their order in the displayed sentence, in the searching processing in a case where it is detected that the plurality of touched positions are moved closer to each other.