7. An electronic device comprising: an acquisition section acquiring image data indicating a document; a detection section analyzing the image data and detecting a marker portion indicated in the image data; a communication section performing communication with either one or a plurality of external servers including at least one of a plurality of dictionary functions; a processing section (i) specifying, from the plurality of dictionary functions included in either the one or the plurality of external servers, a dictionary function in accordance with a type of the marker portion, and (ii) causing the communication section to transmit, to the external server including the specified dictionary function, an instruction to search for a text indicated by the marker portion, and for information related to the text, by using the dictionary function; a generation section, upon reception of information related to the text as a search result from the external server by the communication section, generating a glossary including the received information related to the text; and a storage section storing a first table indicating information for specifying the dictionary function corresponding to each type of a plurality of markers of the marker portion and the external server including the just-mentioned dictionary function, wherein with reference to the first table stored in the storage section, the processing section specifies: the dictionary function corresponding to the type of the marker portion detected by the detection section; and the external server to communicate with, the detection section further detects the way of indicating the marker in the marker portion, the storage section further stores a second table indicating a type of information related to the text corresponding to each way of indicating the marker in the marker portion, and the generation section further (i) specifies, with reference to the second table stored in the storage section, the type of the information related to the text corresponding to the way of indicating the marker in the marker portion, and (ii) upon reception of the information related to the text as a search result from the external server by the communication section, generates the glossary by using, out of the received information related to the text, the information related to the text of the specified type.
7. An electronic device comprising: an acquisition section acquiring image data indicating a document; a detection section analyzing the image data and detecting a marker portion indicated in the image data; a communication section performing communication with either one or a plurality of external servers including at least one of a plurality of dictionary functions; a processing section (i) specifying, from the plurality of dictionary functions included in either the one or the plurality of external servers, a dictionary function in accordance with a type of the marker portion, and (ii) causing the communication section to transmit, to the external server including the specified dictionary function, an instruction to search for a text indicated by the marker portion, and for information related to the text, by using the dictionary function; a generation section, upon reception of information related to the text as a search result from the external server by the communication section, generating a glossary including the received information related to the text; and a storage section storing a first table indicating information for specifying the dictionary function corresponding to each type of a plurality of markers of the marker portion and the external server including the just-mentioned dictionary function, wherein with reference to the first table stored in the storage section, the processing section specifies: the dictionary function corresponding to the type of the marker portion detected by the detection section; and the external server to communicate with, the detection section further detects the way of indicating the marker in the marker portion, the storage section further stores a second table indicating a type of information related to the text corresponding to each way of indicating the marker in the marker portion, and the generation section further (i) specifies, with reference to the second table stored in the storage section, the type of the information related to the text corresponding to the way of indicating the marker in the marker portion, and (ii) upon reception of the information related to the text as a search result from the external server by the communication section, generates the glossary by using, out of the received information related to the text, the information related to the text of the specified type. 8. The electronic device according to claim 7 , wherein the type of the information related to the text includes a meaning of the text and a pronunciation symbol of the text.