WO2018235326A1 - コンピュータプログラム、フォント切替装置及びフォント切替方法 - Google Patents

コンピュータプログラム、フォント切替装置及びフォント切替方法 Download PDF

Info

Publication number
WO2018235326A1
WO2018235326A1 PCT/JP2018/003385 JP2018003385W WO2018235326A1 WO 2018235326 A1 WO2018235326 A1 WO 2018235326A1 JP 2018003385 W JP2018003385 W JP 2018003385W WO 2018235326 A1 WO2018235326 A1 WO 2018235326A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
font
word
category
words
Prior art date
Application number
PCT/JP2018/003385
Other languages
English (en)
French (fr)
Inventor
伊藤 正樹
怜子 高橋
Original Assignee
大日本印刷株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大日本印刷株式会社 filed Critical 大日本印刷株式会社
Priority to JP2019525062A priority Critical patent/JPWO2018235326A1/ja
Publication of WO2018235326A1 publication Critical patent/WO2018235326A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Definitions

  • the present invention relates to a computer program, a font switching device, and a font switching method.
  • Patent Document 1 when a document including external character data is shared between different devices, when external character data created by another device is registered in the external character registration area in the device, the existing external character data is added without being destroyed.
  • An apparatus for registering is disclosed.
  • Patent Document 1 Although a document including external character data can be shared between different apparatuses, only a predetermined font can be used.
  • the present invention has been made in view of such circumstances, and provides a computer program, a font switching device, and a font switching method capable of freely switching the font of a message to be transmitted or received.
  • the computer program according to the present invention is a computer program for causing a computer to switch the font of a message, and the computer is configured to extract a plurality of words included in the message, and based on the plurality of extracted words.
  • a process of specifying the font of the message and a process of switching the font of the message to the specified font are executed.
  • a computer program according to the present invention is a computer program for causing a computer to switch a font of a message, and the computer performs processing of extracting a plurality of words included in the message, a plurality of documents, and a plurality of fonts.
  • a process of specifying the font of the message based on the learned model machine-learned by the learning data associated with and a plurality of extracted words, and a process of switching the font of the message to the specified font are executed.
  • a computer program is a computer program for causing a computer to switch a logo font or logo image of a message, the computer processing to extract a plurality of words included in the message, and a plurality of words A process of determining whether or not there is an associated logo font or logo image among a plurality of extracted words based on logo related information in which each of the logo font or logo image is associated, and the associated logo If there is a font or logo image, the logo font or the word associated with the logo image is switched to the logo font or logo image.
  • a font switching device is a font switching device that switches the font of a message transmitted and received among a plurality of information processing devices, and a word extraction unit that extracts a plurality of words included in the message;
  • the specification unit includes a specification unit that specifies a font of the message based on a plurality of words extracted by the extraction unit, and a processing unit that executes a process for switching the font of the message to the font specified by the specification unit.
  • a font switching device is a font switching device for switching a font of a message, and is for learning in which a word extraction unit for extracting a plurality of words included in the message, a plurality of documents and a plurality of fonts are associated.
  • An identifying unit for identifying a font of the message based on a learned module machine-learned by data, the learned module, and a plurality of words extracted by the word extracting unit; and identifying the font of the message by the identifying unit
  • a processing unit that executes processing for switching to the selected font.
  • the font switching method is a font switching method for switching the font of a message, wherein a word extraction unit extracts a plurality of words included in the message, and the font of the message is extracted based on the plurality of extracted words. And the processing unit executes processing for switching the font of the message to the specified font.
  • the font switching method is a font switching method for switching a font of a message, and a word extraction unit extracts a plurality of words included in the message, and a plurality of documents are associated with a plurality of fonts.
  • a processing unit executes processing for specifying a font of the message based on a learned module machine-learned by data and a plurality of extracted words, and switching a font of the message to the specified font. .
  • the font of the message can be freely switched.
  • FIG. 1 is a block diagram showing an example of the configuration of the font switching system according to the present embodiment.
  • the font switching system of the present embodiment includes a font switching device 50, a server 100, and the like.
  • a font switching device 50, a server 100, and an information processing device 10 used by a user are connected to a communication network 1 such as the Internet.
  • Messages can be transmitted and received between the information processing apparatuses 10 using social networking services such as messenger applications and chats.
  • social networking services such as messenger applications and chats.
  • the number of information processing apparatuses 10 is two in FIG. 1, the number of information processing apparatuses 10 is not limited to two.
  • the information processing device 10 is, for example, a device such as a smartphone, a personal computer, or a tablet, and includes a display screen 11 for displaying a message, an operation unit (not shown) for performing a predetermined operation, and the like.
  • the font automatic switching application (not shown) is activated, the service by the font switching system of the present embodiment can be received.
  • the switching application is not limited to the application having only the switching function, and may be one function of another application such as a message application API.
  • the server 100 includes a font database 101, a logo font database 102, and a logo image database 103, and can deliver web fonts of web standard technology to the information processing apparatus 10.
  • the font switching device 50 includes a control unit 51 that controls the entire apparatus, a message acquisition unit 52, a font specification unit 53, a logo font determination unit 54, a candidate selection unit 55, a display code generation unit 56, a logo image determination unit 57, and the like. Prepare.
  • FIG. 2 is a block diagram showing an example of the configuration of the font specifying unit 53 of the first embodiment.
  • the font identification unit 53 includes a word extraction unit 531, a pictogram extraction unit 532, a symbol extraction unit 533, a category identification unit 534, a weighting unit 535, a word / impression table 536, a pictogram / impression table 537, and a symbol.
  • An impression table 538, an impression and font table 539, a category determination unit 540, and the like are provided.
  • the message acquisition unit 52 acquires a message from the information processing device 10.
  • the message contains a string of words, pictograms, symbols and so on.
  • the message acquiring unit 52 inputs the input message or Messages (text) can be acquired.
  • the word extraction unit 531 extracts a plurality of words included in the acquired message. Words include adjectives, nouns, adverbs, dialects, buzzwords and the like.
  • the category specification unit 534 specifies a category corresponding to each of the plurality of words extracted by the word extraction unit 531.
  • the category can be, for example, an impression recalled from a word. Note that different words may correspond to the same category.
  • the category specifying unit 534 specifies an impression associated with each of the plurality of extracted words based on the word / impression table 536 as word category related information in which an impression is associated with each of the plurality of words. .
  • FIG. 3 is a schematic view showing an example of the configuration of the word / impression table 536 according to the first embodiment.
  • the word / impression table 536 associates words with impressions, and also associates words and impressions with weights.
  • the impression includes, for example, positive (positive), negative (negative), Japanese food, horror, emotion and so on.
  • an impression “positive” is associated with the word “nekokoiko”, and a weight “2” is associated with the word “nekokoiko”.
  • the word “sad” may be associated with a plurality of different impressions, as the impressions "negative” and "smiling" are associated.
  • the category determination unit 540 determines the impression of the message based on the number of words corresponding to the impression (category) identified by the category identification unit 534.
  • the number of words corresponding to an impression is the number of words identified as a certain impression.
  • the number of words corresponding to the impression a is three.
  • the category determination unit 540 may determine one impression for one message, or may determine a plurality of impressions.
  • the category determination unit 540 can also determine the impression of the message by weighting the words in the message (impression corresponding to the word) or by the order of the words.
  • the display code generation unit 56 has a function as a font switching unit, and executes processing for switching the font of the message to the font specified by the font specification unit 53. Note that font switching may be executed by the font switching device 50, and the font switching device 50 transmits information for switching the font to the information processing device 10, and the information processing device 10 executes font switching. It is also good.
  • the impression specified by the category specifying unit 534 is a, b, c, d by a plurality of words in the message, and the number of words corresponding to each of the impressions a, b, c, d is 3, 1 , 1 and 2, the impression a having the largest number of words can be used as the impression of the message, and the original font (for example, default font) of the message is switched to the font corresponding to the impression.
  • the display code generation unit 56 has a function as a specific unit, and based on an impression / font table 539 as font related information in which a font is associated with each of a plurality of impressions, the impression judged by the category judgment unit 540 is Identify the associated font.
  • the display code generation unit 56 generates a display code for acquiring the switched font, a logo font to be described later, or a logo image from the server 100 and displaying the acquired font.
  • the display code includes, for example, Hyper Text Markup Language (HTML) and Cascading Style Sheets (CSS).
  • the information processing apparatus 10 can acquire the font, the logo font or the logo image from the server 100, and the message font can be obtained. It is possible to switch or display words by switching to logo fonts or logo images.
  • FIG. 4 is a schematic view showing an example of the configuration of the impression / font table 539 of the first embodiment.
  • the impressions "positive”, “negative”, “Japanese food”, “horror”, “hiking”, “angry”, “ ⁇ ” and “easy”, font A, font B, font C, respectively A font D, a font E, a font F, a font G, and a font H are associated.
  • the impression / font table 539 it is possible to easily convert an impression into a font.
  • FIG. 5 is an explanatory view showing how the font switching device 50 of the present embodiment determines the impression of a message.
  • the message acquired by the message acquiring unit 52 is "it was a sad movie but we were crying, but it was a good movie with a heartwarming.”
  • a word is extracted from the message, "sad”, “scene”, “cry”, “slight”, “good” and “movie” are extracted.
  • particles, auxiliary verbs, etc. can be excluded from the words to be extracted.
  • the category specifying unit 534 specifies an impression of each of the extracted words.
  • the weight value of the impression of each extracted word is also specified, it is good also as composition which does not specify a weight value.
  • the word / impression table 536 illustrated in FIG. 3 since the word “sad” is associated with the impression “negative” and the weight “1”, the word “sad” has an impression “negative” with respect to the word “sad” Weight "1" is identified.
  • the impression “negative” and the weight “1” are specified for the word “cry”, and the impression “positive” and the weight “1” are given for the word “poor”.
  • An impression “positive” and a weight “1” are identified for the word “good”.
  • the impression “positive” is obtained by increasing (“1.5” in the example of FIG. 5) the weight of the impression “positive” of the word order “last” of the last word (which is likely to indicate the conclusion of the message). Becomes 2.5 (1 + 1 ⁇ 1.5), and the impression “positive” with the largest weight value can be determined as the impression of the acquired message.
  • the word order of a word can be considered as exception processing.
  • the font A can be determined as the font of the message by searching the impression / font table 539 illustrated in FIG. 4 for the impression “positive” determined by the category determination unit 540.
  • the weighting unit 535 weights the impressions specified for the plurality of words included in the message. Specifically, by referring to the word / impression table 536, the weight value can be obtained.
  • the weighting unit 535 can weight an impression to be associated with each of the plurality of words included in the message according to the position in the message of the plurality of words included in the message. As illustrated in FIG. 5, in the Japanese context, in general, the words towards the end of the message often have important meanings. Therefore, for example, the weight of the impression associated with the last word among the plurality of words included in the message is increased (the numerical value of the weight is increased).
  • the impression of the message can be determined with priority given to the impression associated with the word that has significant meaning in the context of the message, and switching to a font that matches the message It becomes possible.
  • the message impression can be determined only by performing simple processing of word extraction (character string analysis) and category specification (impression analysis), and the font (default font) of the message can be determined. You can freely switch to the font according to the impression recalled from the message.
  • the impression of each word included in the message can be specified easily.
  • FIG. 6 is an explanatory drawing showing an example of the flow of the operation of the font switching system of the present embodiment.
  • a font automatic switching application (not shown) in the information processing apparatus 10 and inputs (or reads) a message
  • the font switching device 50 acquires the message (P1).
  • the font switching device 50 performs message analysis (word extraction) (P2), and performs impression analysis (specification and determination of an impression) (P3).
  • the candidate selection unit 55 selects a font corresponding to all or a part of the plurality of impressions as a font candidate.
  • the candidate selection unit 55 can also select a plurality of logo fonts or logo images as logo font candidates or logo image candidates.
  • the font switching device 50 transmits the font candidate to the information processing device 10 (P4).
  • the information processing apparatus 10 displays the font candidate (P5), and receives the font selection operation by the user (P6).
  • FIG. 7 is a schematic view showing an example of a font selection screen according to the present embodiment.
  • the figure on the left side shows a state in which a message ("nostalgic" in the example of the figure) is displayed in the message display area 12 of the display screen 11 of the information processing apparatus 10.
  • the operation icon 15 for example, a touch operation or the like
  • three types of font candidates 13a, 13b, and 13c are displayed in the font selection area 13 as shown in the center diagram.
  • the number of font candidates is not limited to the example shown in FIG.
  • the candidates displayed in the font selection area 13 can also include logo fonts or logo images. This allows the user to freely select the font (including logo font or logo image) that suits the message according to the user's preference or the like.
  • the font switching device 50 acquires font information selected by the user (P7), generates a display code to switch to the selected font (P8), and transmits the generated display code to the information processing apparatus 10 (P9).
  • the information processing apparatus 10 When the information processing apparatus 10 receives the display code, the information processing apparatus 10 transmits a font request to the server 100 based on the display code (P10).
  • the server 100 distributes the font to the information processing apparatus 10 based on the font request (P11).
  • the information processing apparatus 10 switches and displays the font of the message by receiving the font (P12).
  • the pictogram extraction unit 532 extracts the pictogram.
  • the number of pictograms included in one message may be more than one.
  • the category specification unit 534 specifies an impression associated with the pictogram extracted by the pictogram extraction unit 532 based on the pictogram / impression table 537 as pictogram category related information in which an impression is associated with each of the plurality of pictograms.
  • FIG. 8 is a schematic view showing an example of the configuration of the pictogram and impression table 537 of the first embodiment.
  • the pictogram and impression table 537 associates pictograms and impressions, and associates pictograms and impressions with weights.
  • the impression includes, for example, positive (positive), negative (negative), Japanese food, horror, emotion and so on.
  • an impression “positive” is associated with a pictogram of a heart, and a weight “10” is associated with it. The same applies to other pictograms. Also, different impressions may be associated with the same pictogram.
  • the category determination unit 540 determines the impression of the message based on the impression specified by the category specification unit 534.
  • the determination of the impression of the message can be performed as in the case of the word illustrated in FIG. That is, the impression with the largest weight value can be determined as the impression of the acquired message in consideration of both the word and the pictogram.
  • the impression of the message can be determined in consideration of the pictogram.
  • the symbol extraction unit 533 extracts the symbol.
  • the symbols can include, for example, exclamation marks, question marks, three-point readers, and the like. Note that the number of symbols included in one message may be more than one.
  • the category specification unit 534 specifies an impression associated with the symbol extracted by the symbol extraction unit 533 based on the symbol / impression table 538 as symbol category related information in which an impression is associated with each of a plurality of symbols.
  • FIG. 9 is a schematic view showing an example of the configuration of the symbol / impression table 538 of the first embodiment.
  • the symbol / impression table 538 associates symbols with impressions and associates symbols and impressions with weights.
  • the impression includes, for example, positive (positive), negative (negative) and the like.
  • three exclamation marks are associated with an impression “positive” and a weight “2”. The same applies to other symbols.
  • the category determination unit 540 determines the impression of the message based on the impression specified by the category specification unit 534.
  • the determination of the impression of the message can be performed as in the case of the word illustrated in FIG. That is, in consideration of words and symbols, or words, pictograms and symbols, the impression with the largest weight value can be determined as the impression of the acquired message.
  • FIG. 10 is an explanatory view showing an example of how the font of a message transmitted and received between the information processing apparatus 10 according to the present embodiment is switched.
  • a service such as a social networking service
  • each message is automatically switched to a font that matches (or is close to) the impression of the message, or a font selected by the other party.
  • FIG. 11 is an explanatory view showing an example of the appearance of the font of a message transmitted and received between the information processing apparatus 10 as a comparative example.
  • the font of the message is a system font (for example, gothic font) Can only be used.
  • the font switching device 50 of the present embodiment when communication is performed via the communication network, the font of the message is not fixed, and the font is automatically switched according to the impression of the message. For the sake of communication, communication is fun, and you can be interested in communication using services such as social networking services.
  • the logo font determination unit 54 is associated with the plurality of words extracted by the word extraction unit 531 based on the logo mark dedicated font conversion dictionary (logo related information) in which the logo font is associated with each of the plurality of words. Determine if there is a logo font.
  • FIG. 12 is a schematic view showing an example of the configuration of a logo mark dedicated font conversion dictionary according to the present embodiment.
  • the logo mark dedicated font conversion dictionary is a dictionary in which words and logo fonts are associated and registered. Notational variations such as half-width (1 byte), full-width (2 byte), upper case, lower case, etc. are included, and also words displayed in alphabet, katakana, hiragana and kanji are included.
  • a character string corresponding to image data (for example, Bezier format) of a logo mark (company name, brand name, product name, service name, abbreviation, etc.) and a corresponding character string are registered, and the image data is converted to font data. You get the font for
  • the logo font is a font, so unlike an image such as JPEG or SVG, text search and copy paste can be performed. In addition, even if the logo font is enlarged or reduced, it is possible to draw beautifully.
  • the logo font has a ligature font function, and even a plurality of characters can be treated as outline data for one character. Thus, it is possible to prevent the logo mark from being divided and displayed by being broken in the middle of the characters of the logo mark.
  • the logo mark-dedicated font conversion dictionary can be generated, for example, by having the holder of the logo mark register the drawing data of the logo and the character information such as the company name, and the logo registration process.
  • the display code generation unit 56 switches the word associated with the logo font to the logo font. According to the above-described configuration, when transmitting and receiving a message using the social networking service, it is possible to display a logo such as a company name, a brand name, a product name, a service name, and an abbreviation.
  • the logo image is an image representing a logo, a product or a brand (eg, a photograph of a product package, etc.).
  • the logo image determination unit 57 has a logo image associated with the plurality of words extracted by the word extraction unit 531 based on the logo image conversion dictionary (logo related information) in which the logo image is associated with each of the plurality of words. It is determined whether or not.
  • FIG. 13 is a schematic view showing an example of the configuration of the logo image conversion dictionary according to the present embodiment.
  • the logo image conversion dictionary is a dictionary in which words and logo images are associated and registered. Notational variations such as half-width (1 byte), full-width (2 byte), upper case, lower case, etc. are included, and also words displayed in alphabet, katakana, hiragana and kanji are included.
  • words are schematically described as AAA, BBB, and CCC.
  • an image A is registered in association with the word AAA
  • an image B is registered in association with the word BBB
  • images C1, C2, and C3 are registered in association with the word CCC.
  • the display code generation unit 56 switches the word associated with the logo image to the logo image. According to the above-described configuration, when transmitting and receiving a message using the social networking service, it is possible to display a logo image of a character string such as a company name, a brand name, a product name, a service name, and an abbreviation.
  • FIG. 14 is an explanatory view showing another example of the appearance of the font of a message transmitted and received between the information processing apparatus 10 as a comparative example.
  • a service such as a social networking service
  • the product name or brand name is Displayed by fonts (specifically, characters). Therefore, for example, even if you send a message to buy product name AAA before you go home, if there are multiple products with product name AAA in the shop, you may get it by mistake. It occurs.
  • FIG. 15 is an explanatory view showing another example of the appearance of the font of the message transmitted and received between the information processing apparatus 10 according to the present embodiment.
  • a service such as a social networking service
  • the plurality of logo images can be selected for the user before switching the word to the logo image. , And allows the user to select a desired logo image.
  • FIG. 16 is a flowchart showing an example of the procedure of font switching processing by the font switching device 50 of the first embodiment.
  • the control unit 51 acquires a message (S11), extracts a word from the acquired message (S12), extracts a pictogram when the message includes a pictogram (S13), and includes a symbol in the message. Extracts the symbol (S14).
  • the control unit 51 refers to the word / impression table 536, the pictogram / impression table 537, and the symbol / impression table 538 to identify the impression corresponding to the extracted word, pictogram, or symbol (S15), and weights the identified impression. To do (S16).
  • control unit 51 regards an impression with the largest weight value as an impression of the message, and determines a font of the message with reference to the impression / font table 539 (S17). In this case, a plurality of fonts of the message are determined, and the plurality of determined fonts are transmitted to the information processing apparatus 10 as font candidates (S18).
  • the control unit 51 determines whether or not the font is determined (S19), and when the font is not determined (NO in S19), the process of step S19 is continued.
  • the control unit 51 generates a display code (S20), and transmits the generated display code to the information processing apparatus 10 (S21).
  • the control unit 51 determines whether to end the process (S22), and if the process is not ended (NO in S22), continues the process after step S11 and determines that the process is ended (YES in S22) , End the process.
  • the word and impression table 536, the pictogram and impression table 537, the symbol and impression table 538, and the impression and font table 539 are used.
  • the machine learning is used. Will be explained.
  • FIG. 17 is a block diagram showing an example of the configuration of the font specifying unit 53 of the second embodiment.
  • the font identification unit 53 of the second embodiment includes a word extraction unit 541, a machine learning module 542, learning data 543, and the like.
  • the word extraction unit 541 extracts a plurality of words included in the message acquired by the message acquisition unit 52. Words include adjectives, nouns, adverbs, dialects, buzzwords and the like.
  • the machine learning module 542 determines the category of the message based on the word group extracted by the word extraction unit 541.
  • the machine learning module 542 is a text classification system learned by the learning data 543 (also referred to as teacher data).
  • the machine learning module 542 can use, for example, an algorithm (learning model) such as a naive Bayesian classifier, SVM (support vector machine), neural network, and the like.
  • the machine learning module 542 can be appropriately used as long as it is an algorithm that can perform text classification.
  • FIG. 18 is a schematic view showing an example of learning data 543 according to the second embodiment.
  • the learning data 543 is prepared in advance, and the document is associated with the font suitable for the impression of the document.
  • the machine learning module 542 learns the features of the document and the font suitable for the document based on the learning data 543 as shown in FIG.
  • the features of the document include, for example, the probability (proportion) of the number of documents classified into each font to the total number of documents, and the number of appearances of each word of a certain font.
  • the machine learning module 542 obtains a feature of the word group (message) extracted by the word extraction unit 541, and obtains a font suitable for an impression of the message by obtaining a similarity with the feature of the document learned from the learning data 543. It can be determined.
  • the probability that the font suitable for the message impression is font A, font B, font C, or font D is calculated, and the font with the highest calculated probability is used as the message impression. It can be a suitable font.
  • the probability that the font suitable for the impression of the message is font A is the probability that the number of documents classified into font A accounts for the total number of documents in the data for learning 543, and the font A of the document It can be calculated using the number of times the word has appeared.
  • the probability that the plurality of extracted words appear in the document associated with the font of the learning data 543 is calculated, and the font suitable for the impression of the message is determined based on the calculated probability.
  • a plurality of words be x, y, z, and a font be A, B, C, D, E.
  • Probabilities Pa, Pb, Pc, Pd, and Pe for which the words x, y, and z appear in the documents associated with the fonts A, B, C, D, and E of the learning data 543 are calculated.
  • the font with the largest value obtained by multiplying the probability of occupying the total number of documents classified as the font can be the font suitable for the impression of the message.
  • the font suitable for the impression of the message can be determined only by performing simple processing of word extraction (character string analysis) and font determination (text classification). You can switch the font freely.
  • FIG. 19 is a flow chart showing an example of the procedure of font switching processing by the font switching device 50 of the second embodiment.
  • the control unit 51 acquires a message (S31), extracts a word from the acquired message, and decomposes the message into a word group (S32).
  • the control unit 51 extracts the feature of the message (S33), and determines the similarity between the feature of the extracted message and the feature of the document learned from the learning data 543 (S34).
  • the control unit 51 determines the font of the message (S35). In this case, a plurality of fonts of the message are determined, and the plurality of determined fonts are transmitted as font candidates to the information processing apparatus 10 (S36).
  • the control unit 51 determines whether or not the font has been determined (S37). If the font has not been determined (NO in S37), the process of step S37 is continued. When the font is determined (YES in S37), the control unit 51 generates a display code (S38), and transmits the generated display code to the information processing apparatus 10 (S39).
  • the control unit 51 determines whether to end the process (S40), and when not ending the process (NO in S40), continues the process after step S31 and determines that the process is ended (YES in S40) , End the process.
  • the machine-learning module 542 can cause the machine learning module 542 to learn the extracted message as a learning data (teacher data) by associating the document with the font selected by the user.
  • the accuracy of font determination (text classification) by the machine learning module 542 can be enhanced.
  • the font is switched.
  • the display mode of the message including the font is changed.
  • FIG. 20 is a block diagram showing an example of the configuration of the font switching system of the third embodiment
  • FIG. 21 is a block diagram showing an example of the configuration of the font specifying unit 53 of the third embodiment.
  • the server 100 includes a message block image database 104 and an image database 105.
  • the font specifying unit 53 of the first embodiment shown in FIG. 2 includes a keyword determination unit 544, a keyword table 545, and a display format table 546.
  • the third embodiment will be described below.
  • the word extraction unit 531 extracts words included in the message.
  • a message is a character string (including pictographs, symbols, etc.) transmitted and received in a so-called social networking service such as a messenger application or chat.
  • Words include adjectives, nouns, adverbs, dialects, buzzwords and the like.
  • the number of words extracted from the message may be one.
  • the keyword determination unit 544 has a function as a determination unit, and determines whether the word extracted by the word extraction unit 531 matches or is similar to the keyword associated with the display format that defines the display mode of the message. judge. More specifically, the keyword determination unit 544 searches the extracted word with reference to the keyword table 545, and determines whether or not the keyword matches or is similar to the keyword in the keyword table 545. Note that "matching with a keyword” refers to the case where a word completely matches with a keyword, and "similar to a keyword” refers to a case where a word partially matches with a keyword or a case where an impression or the like is similar.
  • FIG. 22 is a schematic view showing an example of the configuration of the keyword table 545.
  • the keyword table 545 is a table in which keywords and display formats (templates) are associated with each other.
  • the display format includes, for example, definition data in which a display mode is defined. Details of the display format will be described later.
  • a Christmas template is associated with the keywords “Merry Christmas” and “Merickly”.
  • a new year template is associated with the keywords “Akeoseme” and “Congratulations to the new year”.
  • cherry blossom templates are associated with the keywords “Ohanami”, “Congratulations on entrance", and "Enrollment ceremony”.
  • a cartoon style template is associated with the keywords “muss” and "muss”.
  • the font specifying unit 53 has a function as a changing unit, and when it is determined that the word extracted by the keyword determining unit 544 matches or is similar to the keyword, the word is selected based on the display format associated with the keyword. Change the display mode related to the included message. Note that the message including the word means that only the word in the message may be used, or the entire message may be used.
  • the font specifying unit 53 changes the display mode of the message based on the Christmas template. Also, if the message includes a word that matches or is similar to “mush”, the font specifying unit 53 changes the display mode of the message based on the cartoon-like template.
  • FIG. 23A is an explanatory view showing an example of a configuration of a display format
  • FIG. 23B is an explanatory view showing an example of a configuration of a Christmas template
  • FIG. 23C is an explanatory view showing an example of a configuration of a cartoon style template.
  • FIG. 23A shows a data configuration of a display format, and defines a display mode according to a message. The content of the data configuration is defined according to each template.
  • the display format includes the following data.
  • the typesetting information means, for example, information on layout including character color, size, font, character feed, line feed, margin and the like.
  • the application range indicates the application range of the change of the display mode to the message. For example, when changing the display mode of only the keyword among the characters constituting the message, changing the display mode of only the message including the keyword, the message including the keyword When changing to the same display mode also for other messages displayed on the display screen 11 at the same time, or similar messages for a message (or a plurality of messages) before or after the message including the keyword Including when changing to the aspect.
  • Background color / image is the background color / image of the message.
  • the design of the message block specifies a display mode such as a frame or a balloon surrounding the message.
  • the typesetting information of the message includes the color, size, font, character sending, line sending, etc. of characters constituting the message.
  • the expiration date specifies how long the display mode of the message by extracting the word can be changed.
  • the priority is, for example, a priority for determining which template to use when a plurality of keywords are included in a message and a plurality of templates are associated. The smaller the numerical value, the higher the priority.
  • the display format may include a change period that specifies how much change of the message display mode is maintained.
  • the change period may be set to a fixed value, for example, 15 minutes or 1 day, or may be set by the user's operation, such as until the application is closed or until the next message is sent.
  • the display format table 546 stores various templates shown in FIG. For example, a Christmas template shown in FIG. 23B, a cartoon-like template shown in FIG. 23C, and the like are stored.
  • the template is not limited to those illustrated in FIG. 22, FIG. 23B, and FIG. 23C.
  • the coverage is overall, the background color and image are green, the design of the message block is a rounded rectangle, the border is red and green stripes, the background is white, and the message is
  • the typesetting information is black, 16 pt, glitter font, character 1EM, line feed 1.5 EM, the expiration date is from December 23 to December 26, and the priority is 1.
  • the application range is 1 message
  • the background color and image are not changed
  • the design of the message block is a comic balloon image
  • the frame is black
  • the background is white.
  • the format information of the message is black, 16 pt, manga font, character feed 1 EM, line feed 1.5 EM, the expiration date is 1 day, and the priority is 3.
  • FIGS. 23B and 23C are examples, and the present invention is not limited to these.
  • the message block image database 104 of the server 100 stores images of message blocks for various templates.
  • the image database 105 also stores handwritten characters or images associated with words (keywords).
  • FIG. 24 is a schematic view showing an example of the configuration of the image database 105.
  • words keywords
  • display correspondences For example, an image such as a handwritten character is associated with the words “mush” and "mush”.
  • the display mode is not limited to handwritten characters, and may be, for example, calligraphy characters, graphic characters, abstract characters, decorated characters, characters combined with graphics, and the like.
  • a decorated character is associated with the word "merichuri”.
  • the image of the detergent A is matched with respect to the word "detergent A.”
  • FIG. 25A and 25B are explanatory diagrams showing a first example of the display mode of messages transmitted and received between the information processing apparatus 10 according to the third embodiment.
  • FIG. 25A shows an example in the case of not changing the display mode of the message as a comparative example
  • FIG. 25B shows an example in the case of changing the display mode of the message according to the present embodiment.
  • a message 201 "Mush as sassy”
  • the display mode of only the keyword "musss” is changed among the characters constituting the message 201 (symbol 201b).
  • the display mode of the message block surrounding 201 is also changed. Further, in the example of FIG. 25B, since the message 202 does not include the keyword, the process according to the third embodiment is not performed, but the message according to the processes according to the first embodiment and the second embodiment. The 202 font has been switched.
  • the word among the characters included in the message is a handwritten character, a brush character, a graphic character, an abstracted character Change to a decorated character, a character combined with a figure (also referred to as a handwritten character or the like), or an image associated with the word.
  • the words included in the message can be switched to handwritten characters or related images and displayed, and it is possible for the user to enjoy communication or to easily understand the message.
  • the display mode of the frame (message block) displayed surrounding the message is changed.
  • the display mode of the frame (message block) displayed surrounding the message is changed.
  • FIG. 26A and 26B are explanatory diagrams showing a second example of the display mode of the message transmitted and received between the information processing apparatuses 10 according to the third embodiment.
  • FIG. 26A shows an example in the case of not changing the display mode of the message as a comparative example
  • FIG. 26B shows an example in the case of changing the display mode of the message according to the present embodiment.
  • the difference from the first example shown in FIG. 25B is that, in the second example, the display mode of the entire message 201 including the keyword "mush" is changed (reference numeral 201c).
  • the display mode of the entire message 201 including the keyword "mush" is changed (reference numeral 201c).
  • FIGS. 27A and 27B are explanatory diagrams showing a third example of the display mode of messages transmitted and received between the information processing apparatuses 10 according to the third embodiment.
  • FIG. 27A shows an example in the case of not changing the display mode of the message as a comparative example
  • FIG. 27B shows an example in the case of changing the display mode of the message according to the present embodiment.
  • Messages 211 to 216 are displayed on the display screen.
  • the message 213 includes a keyword 213 a “meridly”.
  • the other messages 211, 212, 214, 215, and 216 displayed on the display screen simultaneously with the message 213 are the message 213. It has been changed to the equivalent display mode.
  • the display mode of the message displayed before or after the message is changed.
  • the message displayed before or after the message may be, for example, a message before or after displayed simultaneously with the message on the display screen on which the message is displayed (FIG. 27B). It may include up to the previous message, or it may include up to a predetermined number of messages after the message.
  • the display mode of the series of messages to be transmitted and received can be switched according to the content of the message.
  • the typesetting information of the word includes, for example, information such as word color, font, writing, line leading and the like. This makes it possible to change the visual impression of the words included in the message or other characters including the word, and provides the user with the advantage that communication becomes fun or the message becomes easy to understand.
  • the changed display mode is continued until a predetermined time elapses or until the process of changing to another display mode is executed. Can.
  • the display mode of the series of messages to be transmitted and received can be switched according to the content of the message.
  • FIG. 28 is a flow chart showing an example of the procedure for changing the display mode of a message by the font switching device 50 of the third embodiment.
  • the control unit 51 acquires a message (S51), and extracts a word included in the acquired message (S52).
  • the control unit 51 searches for a word with reference to the keyword table 545 (S53), and determines whether the extracted word matches or is similar to the keyword (S54). If it matches or is similar to the keyword (YES in S54), the control unit 51 generates a display code of a display format corresponding to the keyword (S55), and transmits the generated display code to the information processing apparatus 10 (S56) ).
  • the information processing apparatus 10 When the information processing apparatus 10 receives the display code, the information processing apparatus 10 transmits a message change request to the server 100 based on the display code.
  • the server 100 delivers the message whose display mode has been changed to the information processing apparatus 10 using the message block image database 104 and the image database 105 based on the message change request.
  • the information processing apparatus 10 can change the display mode of the message and display it on the display screen 11 by receiving the message.
  • control unit 51 When the keyword does not match or is not similar (NO in S54), the control unit 51 performs the process of step S57 described later without performing the process of steps S55 and S56. The control unit 51 determines whether to end the process (S57), and when not ending the process (NO in S57), continues the process after step S51 and determines that the process is ended (YES in S57) , End the process.
  • the font switching device 50 of each of the above-described embodiments can also be realized using a general-purpose computer provided with a CPU (processor), a RAM, and the like. That is, as shown in FIG. 16, FIG. 19 and FIG. 28, a computer program which defines the procedure of each process is loaded into a RAM provided in the computer, and the computer program is executed by a CPU (processor). Can realize the font switching device 50.
  • the font of a message to be transmitted or received can be switched according to the content of the message.
  • the company name and the product name can be displayed as a logo mark.
  • the user can easily select a font close to the impression of the message or a font suitable for the impression of the message.
  • the display mode of the message to be transmitted / received can be switched according to the content of the message.
  • a font (subset) on which only a character type desired to be displayed by the information processing apparatus 10 is dynamically generated and arranged.
  • the second distributes fonts (full set) loaded with all character types.
  • the information processing apparatus 10 stores fonts (full set) loaded with all character types.
  • font switching device 50 and information processor 10 were separate devices, it is not limited to this, for example, text analysis (word extraction processing, pictogram extraction processing, symbol extraction Processing, etc.) may be performed by the font switching device 50.
  • the selection result may be fed back to the rule of the font determination process of the font switching device 50.
  • the font determination accuracy can be improved.
  • the font may be downloaded to the information processing apparatus 10 in advance. As a result, there is no need to download the font from the server 100, and font switching and display can be performed more quickly.
  • the computer program according to the present embodiment is a computer program for causing a computer to switch the font of a message, and the computer performs a process of extracting a plurality of words included in the message, and a plurality of extracted words
  • a process of specifying the font of the message and a process of switching the font of the message to the specified font are executed based on the above.
  • the font switching device is a font switching device that switches the font of a message, and includes a word extraction unit that extracts a plurality of words included in the message, and a plurality of words extracted by the word extraction unit. And a processing unit configured to execute processing for switching the font of the message to the font specified by the specifying unit.
  • the font switching method is a font switching method for switching the font of a message, wherein a word extraction unit extracts a plurality of words included in the message, and the message is extracted based on the plurality of extracted words
  • the identification unit identifies the font of the message, and the processing unit executes processing for switching the font of the message to the identified font.
  • a message is a character string (including pictographs, symbols, etc.) transmitted and received in a so-called social networking service such as a messenger application or chat.
  • Words include adjectives, nouns, adverbs, dialects, buzzwords and the like.
  • the font of the message is specified based on the plurality of extracted words.
  • the font of the message is switched to the specified font.
  • the font of the message can be freely switched only by performing simple processing of word extraction (character string analysis) and font specification.
  • the computer program performs the determination based on the processing of determining the category of the message based on the plurality of extracted words in the computer, and the font related information in which the font is associated with each of the plurality of categories. And a process of identifying a font associated with the category.
  • the category of the message is determined based on the plurality of extracted words.
  • the category can be, for example, an impression recalled from a word. Note that different words may correspond to the same category.
  • the font associated with the determined category is specified based on font related information in which the font is associated with each of the plurality of categories.
  • a font related table (font related information) in which categories and fonts are associated with each other is stored in advance, and when the category of the message is determined, the font associated with the determined category can be specified.
  • the font related table (font related information) it is possible to easily convert from category to font.
  • the computer program identifies, on the computer, a process of specifying a category associated with each of the plurality of extracted words based on word category related information in which a category is associated with each of a plurality of words. Determining the category of the message based on the number of words corresponding to the category.
  • the category associated with each of the plurality of extracted words is specified based on the word category related information in which the category is associated with each of the plurality of words.
  • a word category relationship table (word category relationship information) in which words and categories are associated is stored in advance, and a category associated with each of a plurality of extracted words is specified.
  • the category of the message is determined based on the number of words corresponding to the identified category. According to the above-described configuration, the category of each word can be easily identified by referring to the word category relation table (word category relation information).
  • the computer program according to the present embodiment causes a computer to execute a process of extracting pictograms included in the message, and a category associated with the pictograms extracted based on pictogram category related information in which a category is associated with each of a plurality of pictograms. And identifying the category of the message based on the identified category.
  • pictograms included in the message are extracted.
  • the category associated with the extracted pictogram is specified based on pictogram category related information in which the category is associated with each of the plurality of pictograms. For example, a pictogram category relation table (pictogram category related information) in which pictograms and categories are associated in advance is stored, and the category associated with the extracted pictogram is specified.
  • the category of the message is determined based on the identified category.
  • a category having a large number (e.g., the largest) of pictograms identified as a certain category is a category of the message.
  • the pictogram category relation table picture pictogram category related information
  • the computer program causes a computer to perform processing of extracting a symbol included in the message and a category associated with the extracted symbol based on symbol category related information in which a category is associated with each of a plurality of symbols. And identifying the category of the message based on the identified category.
  • symbols included in the message are extracted.
  • the symbols can include, for example, exclamation marks, question marks, three-point readers, and the like.
  • the category associated with the extracted symbol is specified based on the symbol category related information in which the category is associated with each of the plurality of symbols.
  • a symbol category association table symbol category association information in which symbols and categories are associated is stored in advance, and the category associated with the extracted symbol is specified.
  • the category of the message is determined based on the identified category.
  • the category of the message can be determined in consideration of the symbol by referring to the symbol category association table (symbol category association information).
  • the computer program according to the present embodiment includes, on a computer, a process of weighting a category to be associated according to a plurality of words, a plurality of pictograms or a plurality of symbols included in the message, and the weighted category.
  • a process of determining a category is performed.
  • the categories to be associated are weighted according to the plurality of words, the plurality of pictographs or the plurality of symbols included in the message, and the category of the message is determined based on the weighted categories.
  • a weighting for example, a numerical value representing a weight
  • glyph category related information in addition to the association between the pictogram and the category, a weight is also associated.
  • symbol category association information in addition to the association between symbols and categories in the symbol category association table (symbol category association information), weightings are also associated.
  • the category of the message can be, for example, the category having the largest numerical value representing the weight among the weighted categories. According to the above-described configuration, it is possible to select a font that fits the message while suppressing that categories that fit the message are determined uniquely or fixedly.
  • the computer program includes, on a computer, a process of weighting a category associated with each of the plurality of words according to the position in the message of the plurality of words included in the message, and a weighted category. And a process of determining a category of the message based on the information.
  • the categories associated with each of the plurality of words included in the message are weighted.
  • the weight of the category associated with the last word among the plurality of words included in the message is increased (the numerical value of the weight is increased).
  • the category of the message is determined based on the weighted category. According to the above configuration, even if there are multiple categories associated with a plurality of words included in the message, the category of the message is determined with priority given to the categories associated with the words having significant meaning in the context of the message. And you can switch to a font that suits your message.
  • the computer program according to the present embodiment is a computer program for causing a computer to switch the font of a message, and the computer performs a process of extracting a plurality of words included in the message, a plurality of documents, and a plurality of documents.
  • the font switching device is a font switching device that switches the font of a message, and a word extraction unit that extracts a plurality of words included in the message, a plurality of documents, and a plurality of fonts are associated.
  • An identifying unit for identifying a font of the message based on a learned module machine-learned by the learning data, the learned module, and a plurality of words extracted by the word extracting unit;
  • a processing unit that executes processing for switching to the font specified in step b.
  • the font switching method is a font switching method for switching the font of a message, and the word extraction unit extracts a plurality of words included in the message and associates a plurality of documents with a plurality of fonts.
  • the processor identifies the font of the message based on the learned module machine-learned by the training data and the plurality of extracted words, and the processor identifies the font of the message and switches the font of the message to the identified font. Run.
  • a message is a character string (including pictographs, symbols, etc.) transmitted and received in a so-called social networking service such as a messenger application or chat.
  • Words include adjectives, nouns, adverbs, dialects, buzzwords and the like.
  • the font of the message is specified based on a learned model machine-learned by learning data in which a plurality of documents and a plurality of fonts are associated with each other and a plurality of extracted words.
  • the learned model is obtained by learning the features of a document and a font suitable for the document, using learning data as teacher data.
  • the features of the document include, for example, the probability (proportion) of the number of documents classified into each font to the total number of documents, and the number of appearances of each word of a certain font.
  • the learned model can be appropriately used as long as it is an algorithm that can perform text classification.
  • the specification of the font of the message can be performed, for example, by determining the feature of the message and determining the similarity between the learned model (algorithm) and the feature of the document. For example, it is possible to calculate the probability that the font of the message is the font A, B, C, D,... And the font with the highest calculated probability to be the font of the message.
  • the probability that the font of the message is font A is the probability that the number of documents classified into font A accounts for the total number of documents in the data for learning, and a word (each word of the message) appears in font A of the document It can be calculated using the number of times.
  • the font of the message is switched based on the specified font.
  • the message font can be specified simply by performing simple processing of word extraction (character string analysis) and font specification (text classification), and the font of the message can be freely switched. it can.
  • the computer program according to the present embodiment includes, on a computer, processing for calculating the probability that a plurality of extracted words appear in a document associated with the font of the learning data, and the font of the message based on the calculated probability. And the process of identifying
  • the probability that the plurality of extracted words appear in the document associated with the font of the learning data is calculated, and the font of the message is specified based on the calculated probability. For example, let a plurality of words be x, y, z, and a font be A, B, C, D, E. Probabilities Pa, Pb, Pc, Pd, Pe are calculated in which words x, y, z appear in documents associated with fonts A, B, C, D, E of learning data, respectively. The font with the largest value obtained by multiplying the ratio of the number of documents classified into the font to the total number of documents can be used as the font of the message.
  • the computer program according to the present embodiment is a computer program for causing a computer to switch a logo font or logo image of a message, and the computer extracts a plurality of words included in the message, and a plurality of processings. And a process of determining whether or not there is an associated logo font or logo image among a plurality of extracted words based on logo related information in which each of the words is associated with a logo font or logo image. If there is a logo font or logo image, a process of switching a word associated with the logo font or logo image to the logo font or logo image is executed.
  • a message is a character string (including pictographs, symbols, etc.) transmitted and received in a so-called social networking service such as a messenger application or chat.
  • Words include adjectives, nouns, adverbs, dialects, buzzwords and the like.
  • a logo font or logo image associated among the plurality of extracted words based on logo related information in which the logo font or logo image is associated with each of the plurality of words? It is determined whether or not.
  • a character string corresponding to image data for example, Bezier format
  • a logo mark company name, brand name, product name, service name, abbreviation, etc.
  • a corresponding character string are registered, and the image data is converted to font data.
  • You get the font for The logo image can use the image data.
  • the logo related information can be a conversion dictionary in which a character string and a logo font or logo image are associated.
  • the word associated with the logo font or logo image is switched to the logo font or logo image.
  • a character string such as a company name, a brand name, a product name, a service name, and an abbreviation.
  • the computer program causes the computer to display, on the information processing apparatus, a plurality of font candidates for the message or logo font candidates or logo image candidates associated among the extracted plurality of words. And a process of receiving one font selected from the plurality of displayed font candidates, logo font candidates, or logo image candidates, logo font, or logo image.
  • a plurality of font candidates of a message or logo font candidates or logo image candidates associated among a plurality of extracted words are displayed on the information processing apparatus.
  • the font candidates can be, for example, a plurality of fonts suitable as a font of a message.
  • the font candidate for logo can be a font for logos corresponding to each logo.
  • the logo image candidate can be a plurality of logo images corresponding to words.
  • one font, logo font or logo image selected by the user from a plurality of displayed font candidates, logo font or logo image is accepted.
  • the user can freely select the font (including logo font or logo image) that matches the message according to the user's preference or the like.
  • a computer program causes a computer to execute processing for learning the message and one selected font as learning data in which a document and a font are associated.
  • the message and the selected font are learned as learning data in which the document and the category are associated. Thereby, the classification accuracy of the category by the learned model (algorithm) can be improved.
  • the computer program according to the present embodiment causes the computer to execute processing for generating a display code for acquiring the switched font, logo font, or logo image from the server and displaying it.
  • a display code for acquiring the switched font, logo font or logo image from the server and displaying it is generated.
  • the server stores fonts, logo fonts or logo images.
  • the information processing apparatus can acquire the font, the logo font or the logo image from the server, switch the font of the message, or the word the font for the logo or It can be switched to a logo image and displayed.
  • the category includes an impression recalled from a word, a pictogram, a symbol or a message.
  • the category includes an impression recalled from words, pictograms, symbols or messages. Impressions can include, for example, negatives, positives, emotions, sports, events, topics, and the like. This makes it possible to switch to a font close to the impression received from the message.
  • the computer program according to the present embodiment is a computer program for causing a computer to change the display mode according to a message, and the computer performs processing of extracting a word included in the message, and the extracted word is a message
  • a process of determining whether or not the keyword is matched or similar to the keyword associated with the display format defining the display mode, and when it is determined that the extracted word is matched or similar to the keyword, the keyword associated with the keyword A process of changing a display mode related to a message including the word is performed based on a display format.
  • the font switching device is a font switching device that changes the display mode related to a message, and a word extraction unit that extracts a word included in the message, and a display mode related to the message If it is determined that the extracted word matches or is similar to the keyword, a display unit associated with the keyword is determined. And a changing unit configured to change a display mode related to the message including the word.
  • the font switching method is a font switching method for changing a display mode according to a message, wherein a word extraction unit extracts a word included in the message, and the extracted word is a display mode according to the message If the determination unit determines whether or not the extracted word matches or is similar to the keyword associated with the display form defining the, and if it is determined that the extracted word matches or is similar to the keyword, the display form associated with the keyword Based on the change, the change unit changes the display mode of the message including the word.
  • the word extraction unit extracts words included in the message.
  • a message is a character string (including pictographs, symbols, etc.) transmitted and received in a so-called social networking service such as a messenger application or chat.
  • Words include adjectives, nouns, adverbs, dialects, buzzwords and the like.
  • the determination unit determines whether the extracted word matches or is similar to the keyword associated with the display format that defines the display format of the message.
  • the display mode according to the message includes, for example, the scope of the message to change the display mode, the background color / image of the message, the display mode of the message block, the format information of the message, the expiration date of the change of the display mode, the priority, etc. .
  • the term "matching with the keyword” refers to the case where the word exactly matches the keyword, and the term "similar to the keyword” refers to the case where the word partially matches the keyword or a case where the impression is similar.
  • the changing unit changes the display mode of the message including the word based on the display format associated with the keyword.
  • the message including the word means that only the word in the message may be used or the entire message may be used.
  • the computer program according to the present embodiment causes the computer to change the display mode according to the message including the word, at least the word among the characters included in the message is a handwritten character or an image associated with the word Run the process you want to change.
  • the present embodiment when changing the display mode according to the message including the word, at least the word among the characters included in the message is changed to the handwritten character or the image associated with the word. As a result, it is possible to switch and display a word included in the message or another character including the word to a handwritten character or an associated image, so that the user enjoys communication or the message is easily understood. can get.
  • the computer program according to the present embodiment causes the computer to execute the process of changing the composition information of at least the word among the characters included in the message, when changing the display mode according to the message including the word.
  • the typesetting information of the word includes, for example, information such as word color, font, writing, line leading and the like. This makes it possible to change the visual impression of the words included in the message or other characters including the word, and provides the user with the advantage that communication becomes fun or the message becomes easy to understand.
  • the computer program according to the present embodiment causes the computer to execute the process of changing the display mode of the frame displayed by surrounding the message when changing the display mode of the message including the word.
  • the display mode of the frame (also referred to as a message block) displayed surrounding the message is changed.
  • the display mode of the frame includes, for example, the color, pattern, and shape of the frame.
  • the computer program according to the present embodiment causes the computer to execute the process of changing the display mode related to the message displayed before or after the message when changing the display mode related to the message including the word.
  • the display mode related to the message including the word when the display mode related to the message including the word is changed, the display mode related to the message displayed before or after the message is changed.
  • the message displayed before or after the message may be, for example, a message before or after displayed simultaneously with the message on the display screen on which the message is displayed, up to a predetermined number of messages from the message Or a predetermined number of messages after the message.
  • the display mode of the series of messages to be transmitted and received can be switched according to the content of the message.
  • the computer program When the computer program according to the present embodiment causes the computer to change the display mode related to the message including the word, the computer program changes the process of changing the changed display mode to another display mode until a predetermined time elapses. Execute processing that continues until execution.
  • the changed display mode is continued until a predetermined time elapses or until the process of changing to another display mode is executed. .
  • the display mode of the series of messages to be transmitted and received can be switched according to the content of the message.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

コンピュータプログラムは、コンピュータに、メッセージに含まれる複数の単語を抽出する処理と、抽出した複数の単語に基づいてメッセージのフォントを特定する処理と、メッセージのフォントを特定したフォントに切り替える処理とを実行させる。

Description

コンピュータプログラム、フォント切替装置及びフォント切替方法
 本発明は、コンピュータプログラム、フォント切替装置及びフォント切替方法に関する。
 インターネットなどの通信ネットワークの進展に伴って、複数のユーザ同士が処理装置で作成した文書を送受信することによって情報の共有化が行われている。特許文献1には、外字データを含む文書を異なる装置間で共用する場合、他の装置で作成した外字データを装置内の外字登録エリアに登録するときに、既存の外字データを壊すことなく追加登録する装置が開示されている。
特開2000-348021号公報
 しかし、特許文献1のような装置では、外字データを含む文書を異なる装置間で共用することはできるが、予め定められたフォントしか使用することができない。
 一方で、インターネット又は通信回線などを用いて、ユーザが携帯するスマートフォンなどの情報処理装置によるコミュニケーションを行うことができるソーシャル・ネットワーキング・サービスの利用が増大している。このようなネットワーク上でのコミュニケーションにおいては、送受信されるメッセージのフォントを自由に切り替えることが望まれている。
 本発明は、斯かる事情に鑑みてなされたものであり、送受信されるメッセージのフォントを自由に切り替えることができるコンピュータプログラム、フォント切替装置及びフォント切替方法を提供する。
 本発明に係るコンピュータプログラムは、コンピュータに、メッセージのフォントを切り替えさせるためのコンピュータプログラムであって、コンピュータに、前記メッセージに含まれる複数の単語を抽出する処理と、抽出した複数の単語に基づいて前記メッセージのフォントを特定する処理と、前記メッセージのフォントを特定したフォントに切り替える処理とを実行させる。
 本発明に係るコンピュータプログラムは、コンピュータに、メッセージのフォントを切り替えさせるためのコンピュータプログラムであって、コンピュータに、前記メッセージに含まれる複数の単語を抽出する処理と、複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モデル及び抽出した複数の単語に基づいて前記メッセージのフォントを特定する処理と、前記メッセージのフォントを特定したフォントに切り替える処理とを実行させる。
 本発明に係るコンピュータプログラムは、コンピュータに、メッセージのロゴ用フォント又はロゴ画像を切り替えさせるためのコンピュータプログラムであって、コンピュータに、前記メッセージに含まれる複数の単語を抽出する処理と、複数の単語それぞれにロゴ用フォント又はロゴ画像を関連付けたロゴ関連情報に基づいて、抽出した複数の単語の中に関連付けられたロゴ用フォント又はロゴ画像があるか否かを判定する処理と、関連付けられたロゴ用フォント又はロゴ画像がある場合、該ロゴ用フォント又はロゴ画像に関連付けられた単語を前記ロゴ用フォント又はロゴ画像に切り替える処理とを実行させる。
 本発明に係るフォント切替装置は、複数の情報処理装置の間で送受信されるメッセージのフォントを切り替えるフォント切替装置であって、前記メッセージに含まれる複数の単語を抽出する単語抽出部と、該単語抽出部で抽出した複数の単語に基づいて前記メッセージのフォントを特定する特定部と、前記メッセージのフォントを前記特定部で特定したフォントに切り替えるための処理を実行する処理部とを備える。
 本発明に係るフォント切替装置は、メッセージのフォントを切り替えるフォント切替装置であって、前記メッセージに含まれる複数の単語を抽出する単語抽出部と、複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モジュールと、前記学習済モジュール及び前記単語抽出部で抽出した複数の単語に基づいて前記メッセージのフォントを特定する特定部と、前記メッセージのフォントを前記特定部で特定したフォントに切り替えるための処理を実行する処理部とを備える。
 本発明に係るフォント切替方法は、メッセージのフォントを切り替えるフォント切替方法であって、前記メッセージに含まれる複数の単語を単語抽出部が抽出し、抽出された複数の単語に基づいて前記メッセージのフォントを特定部が特定し、前記メッセージのフォントを特定されたフォントに切り替えるための処理を処理部が実行する。
 本発明に係るフォント切替方法は、メッセージのフォントを切り替えるフォント切替方法であって、前記メッセージに含まれる複数の単語を単語抽出部が抽出し、複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モジュール及び抽出された複数の単語に基づいて前記メッセージのフォントを特定部が特定し、前記メッセージのフォントを特定されたフォントに切り替えるための処理を処理部が実行する。
 本発明によれば、メッセージのフォントを自由に切り替えることができる。
本実施の形態のフォント切替システムの構成の一例を示すブロック図である。 第1実施形態のフォント特定部の構成の一例を示すブロック図である。 第1実施形態の単語・印象テーブルの構成の一例を示す模式図である。 第1実施形態の印象・フォントテーブルの構成の一例を示す模式図である。 本実施の形態のフォント切替装置によるメッセージの印象の判定の様子を示す説明図である。 本実施の形態のフォント切替システムの動作の流れの一例を示す説明図である。 本実施の形態によるフォントの選択画面の一例を示す模式図である。 第1実施形態の絵文字・印象テーブルの構成の一例を示す模式図である。 第1実施形態の記号・印象テーブルの構成の一例を示す模式図である。 本実施の形態による情報処理装置の間で送受信されるメッセージのフォントが切り替えられる様子の一例を示す説明図である。 比較例としての情報処理装置の間で送受信されるメッセージのフォントの様子の一例を示す説明図である。 本実施の形態のロゴマーク専用フォント変換辞書の構成の一例を示す模式図である。 本実施の形態のロゴ画像変換辞書の構成の一例を示す模式図である。 比較例としての情報処理装置の間で送受信されるメッセージのフォントの様子の他の例を示す説明図である。 本実施の形態による情報処理装置の間で送受信されるメッセージのフォントの様子の他の例を示す説明図である。 第1実施形態のフォント切替装置によるフォント切替処理の手順の一例を示すフローチャートである。 第2実施形態のフォント特定部の構成の一例を示すブロック図である。 第2実施形態の学習用データの一例を示す模式図である。 第2実施形態のフォント切替装置によるフォント切替処理の手順の一例を示すフローチャートである。 第3実施形態のフォント切替システムの構成の一例を示すブロック図である。 第3実施形態のフォント特定部の構成の一例を示すブロック図である。 キーワードテーブルの構成の一例を示す模式図である。 表示形式の構成の一例を示す説明図である。 クリスマステンプレートの構成の一例を示す説明図である。 漫画風テンプレートの構成の一例を示す説明図である。 画像データベースの構成の一例を示す模式図である。 第3実施形態による情報処理装置の間で送受信されるメッセージの表示態様の第1例を示す説明図である。 第3実施形態による情報処理装置の間で送受信されるメッセージの表示態様の第1例を示す説明図である。 第3実施形態による情報処理装置の間で送受信されるメッセージの表示態様の第2例を示す説明図である。 第3実施形態による情報処理装置の間で送受信されるメッセージの表示態様の第2例を示す説明図である。 第3実施形態による情報処理装置の間で送受信されるメッセージの表示態様の第3例を示す説明図である。 第3実施形態による情報処理装置の間で送受信されるメッセージの表示態様の第3例を示す説明図である。 第3実施形態のフォント切替装置によるメッセージの表示態様の変更処理の手順の一例を示すフローチャートである。
(第1実施形態)
 以下、本発明をその実施の形態を示す図面に基づいて説明する。図1は本実施の形態のフォント切替システムの構成の一例を示すブロック図である。本実施の形態のフォント切替システムは、フォント切替装置50、サーバ100などを備える。図1に示すように、インターネットなどの通信ネットワーク1には、フォント切替装置50、サーバ100、ユーザが使用する情報処理装置10が接続されている。情報処理装置10の間では、メッセンジャーアプリ、チャットなどのソーシャル・ネットワーキング・サービスを利用してメッセージの送受信を行うことができる。なお、図1では、情報処理装置10の数が2であるが、情報処理装置10の数は2に限定されない。
 情報処理装置10は、例えば、スマートフォン、パーソナルコンピュータ、タブレットなどの装置であり、メッセージを表示する表示画面11、所定の操作を行うための操作部(不図示)などを備える。情報処理装置10において、ユーザが、例えば、フォント自動切替アプリ(不図示)を起動することによって、本実施の形態のフォント切替システムによるサービスを受けることができる。なお、切替アプリはその切替機能のみのアプリに限定されず、メッセ―ジアプリAPI等、他のアプリの1つの機能であってもよい。
 サーバ100は、フォントデータベース101、ロゴ用フォントデータベース102、ロゴ画像データベース103を備え、WEB標準技術のWEBフォントを情報処理装置10へ配信することができる。
 フォント切替装置50は、装置全体を制御する制御部51、メッセージ取得部52、フォント特定部53、ロゴ用フォント判定部54、候補選択部55、表示コード生成部56、ロゴ画像判定部57などを備える。
 図2は第1実施形態のフォント特定部53の構成の一例を示すブロック図である。図2に示すように、フォント特定部53は、単語抽出部531、絵文字抽出部532、記号抽出部533、カテゴリ特定部534、重み付け部535、単語・印象テーブル536、絵文字・印象テーブル537、記号・印象テーブル538、印象・フォントテーブル539、カテゴリ判定部540などを備える。
 メッセージ取得部52は、情報処理装置10からメッセージを取得する。メッセージは、単語、絵文字、記号などの文字列を含む。ユーザが、情報処理装置10にて直接メッセージを入力する場合、あるいは、ソーシャル・ネットワーキング・サービスの投稿などWEB上のメッセージ(テキスト)などを読み込む場合、メッセージ取得部52は、入力されたメッセージ又は読み込まれたメッセージ(テキスト)を取得することができる。
 単語抽出部531は、取得されたメッセージに含まれる複数の単語を抽出する。単語は、形容詞、名詞、副詞、方言、流行語などを含む。
 カテゴリ特定部534は、単語抽出部531で抽出した複数の単語それぞれに対応するカテゴリを特定する。カテゴリは、単語から想起される印象などとすることができる。なお、異なる単語が同じカテゴリに対応する場合もある。
 より具体的には、カテゴリ特定部534は、複数の単語それぞれに印象を関連付けた単語カテゴリ関連情報としての単語・印象テーブル536に基づいて、抽出した複数の単語それぞれに関連付けられた印象を特定する。
 図3は第1実施形態の単語・印象テーブル536の構成の一例を示す模式図である。図3に示すように、単語・印象テーブル536は、単語と印象とを関連付けるとともに、単語及び印象と重み(重み付け)とを関連付ける。図3に示すように、印象としては、例えば、ポジ(ポジティブ)、ネガ(ネガティブ)、和食、ホラー、喜怒哀楽などを含む。図3に示すように、単語「にこにこ」には、印象「ポジ」が関連付けられるとともに、重み「2」が関連付けられている。他の単語についても同様である。また、単語「悲しい」には、印象「ネガ」及び「哀」が関連付けられているように、同じ単語が異なる複数の印象に関連付けられてもよい。
 カテゴリ判定部540は、カテゴリ特定部534で特定した印象(カテゴリ)に対応する単語数に基づいてメッセージの印象を判定する。印象に対応する単語数とは、ある印象であると特定された単語の数である。メッセージに含まれる単語x、y、zそれぞれが印象aに対応する場合、印象aに対応する単語数は3となる。なお、カテゴリ判定部540は、一つのメッセージに対して一つの印象を判定してもよく、あるいは複数の印象を判定することもできる。なお、カテゴリ判定部540は、メッセージ中の単語(単語に対応する印象)の重み付け、あるいは単語の順番によってメッセージの印象を判定することもできる。
 表示コード生成部56は、フォント切替部としての機能を有し、メッセージのフォントをフォント特定部53で特定したフォントに切り替えるための処理を実行する。なお、フォントの切替は、フォント切替装置50で実行してもよく、フォント切替装置50からフォントを切り替えるための情報を情報処理装置10へ送信し、情報処理装置10でフォントの切り替えを実行してもよい。
 例えば、メッセージ内の複数の単語によって、カテゴリ特定部534で特定された印象がa、b、c、dであるとし、印象a、b、c、dそれぞれに対応する単語数を、3、1、1、2とすると、単語数の最も多い印象aをメッセージの印象とすることができ、メッセージの当初のフォント(例えば、デフォルトのフォント)を、当該印象に対応するフォントに切り替える。
 また、表示コード生成部56は、特定部としての機能を有し、複数の印象それぞれにフォントを関連付けたフォント関連情報としての印象・フォントテーブル539に基づいて、カテゴリ判定部540で判定した印象に関連付けられたフォントを特定する。
 表示コード生成部56は、切り替えたフォント、後述のロゴ用フォント又はロゴ画像をサーバ100から取得して表示するための表示用コードを生成する。表示用コードは、例えば、HTML(Hyper Text Markup Language)及びCSS(Cascading Style Sheets)を含む。
 表示コード生成部56で生成した表示用コードを情報処理装置10へ送信することにより、情報処理装置10は、サーバ100からフォント、ロゴ用フォント又はロゴ画像を取得することができ、メッセージのフォントを切り替え、あるいは単語をロゴ用フォント又はロゴ画像に切り替えて表示することができる。
 図4は第1実施形態の印象・フォントテーブル539の構成の一例を示す模式図である。図4に示すように、印象「ポジ」、「ネガ」、「和食」、「ホラー」、「喜」、「怒」、「哀」、「楽」それぞれにフォントA、フォントB、フォントC、フォントD、フォントE、フォントF、フォントG、フォントHが関連付けられている。印象・フォントテーブル539を参照することによって、印象からフォントへ簡便に変換することができる。
 図5は本実施の形態のフォント切替装置50によるメッセージの印象の判定の様子を示す説明図である。図5に示すように、メッセージ取得部52で取得したメッセージを「悲しいシーンもあって泣けたけど、ほのぼのした良い映画だった。」とする。当該メッセージから単語を抽出すると、「悲しい」、「シーン」、「泣ける」、「ほのぼの」、「良い」、「映画」が抽出される。なお、助詞、助動詞などは、抽出する単語から除外することができる。
 次に、カテゴリ特定部534は、抽出した単語それぞれの印象を特定する。なお、図5の例では、抽出した単語それぞれの印象の重みの値も特定しているが、重み値を特定しない構成としてもよい。図3に例示した単語・印象テーブル536を参照すると、単語「悲しい」には、印象「ネガ」及び重み「1」が関連付けられているので、単語「悲しい」に対して、印象「ネガ」かつ重み「1」が特定される。なお、単語「悲しい」に対して、印象「哀」かつ重み「1」を特定してもよい。単語・印象テーブル536を参照することにより、単語「泣ける」に対して、印象「ネガ」かつ重み「1」が特定され、単語「ほのぼの」に対して、印象「ポジ」かつ重み「1」が特定され、単語「良い」に対して、印象「ポジ」かつ重み「1」が特定される。
 各印象の重み値を加算すると、印象「ネガ」は2(=1+1)となり、印象「ポジ」も2(=1+1)となる。ここで、語順が最後の単語(メッセージの結論を表す可能性が高い)「良い」の印象「ポジ」の重み付けを大きく(図5の例では、1.5倍)することにより、印象「ポジ」は2.5(1+1×1.5)となり、重み値が最も大きい印象「ポジ」を、取得したメッセージの印象と判定することができる。
 なお、単語の語順を考慮しなくてもよい場合がある。例えば、各印象の重み値を加算した場合、ある印象に係る重みが、他の印象に係る重みよりも大きいとき、当該重みが最も大きい印象を、取得したメッセージの印象と判定することができる。そして、複数の印象に係る重みが同値である場合、例外処理として、単語の語順を考慮することができる。
 カテゴリ判定部540によって判定した印象「ポジ」を、図4に例示した印象・フォントテーブル539から検索することにより、フォントAをメッセージのフォントとして決定することができる。
 重み付け部535は、メッセージに含まれる複数の単語に対して特定された印象に重み付けする。具体的には、単語・印象テーブル536を参照することにより、重み値を得ることができる。
 また、重み付け部535は、メッセージに含まれる複数の単語の当該メッセージ中の位置に応じて、当該メッセージに含まれる複数の単語それぞれに関連付ける印象に重み付けすることができる。図5に例示したように、日本語の文脈では、一般的にメッセージの最後の方の言葉(単語)が重要な意味をもつことが多い。そこで、例えば、メッセージに含まれる複数の単語のうち、最後の単語に関連付けられた印象の重みを大きくする(重みの数値を大きくする)。
 メッセージの中の単語の位置を考慮することにより、メッセージの文脈において重要な意味をもつ単語に関連付けられた印象を優先してメッセージの印象を判定することができ、メッセージに合うフォントに切り替えることが可能となる。
 上述の構成により、単語の抽出(文字列解析)、及びカテゴリの特定(印象解析)という簡便な処理を行うだけで、メッセージの印象を判定することができ、メッセージのフォント(デフォルトのフォント)を、メッセージから想起される印象に応じたフォントへ自由に切り替えることができる。
 また、単語・印象テーブル536を参照することによって、メッセージに含まれる各単語の印象を簡便に特定することができる。
 また、メッセージに含まれる単語に対して特定された印象に、さらに重み付けを考慮することにより、メッセージに合う印象が一義的、あるいは固定的に決定されることを抑制して、メッセージに合うフォントを選ぶことが可能となる。
 次に、フォントの自動切替のシーケンスについて説明する。
 図6は本実施の形態のフォント切替システムの動作の流れの一例を示す説明図である。
ユーザが情報処理装置10にてフォント自動切替アプリ(不図示)を起動し、メッセージを入力(又は読み込みでもよい)すると、フォント切替装置50は、メッセージを取得する(P1)。フォント切替装置50は、メッセージ解析(単語の抽出)を行い(P2)、印象解析(印象の特定及び判定)を行う(P3)。
 カテゴリ判定部540が、一つのメッセージに対して複数の印象を判定した場合、候補選択部55は、複数の印象の全部又は一部に対応するフォントをフォント候補として選択する。なお、候補選択部55は、複数のロゴ用フォント又はロゴ画像をロゴ用フォント候補又はロゴ画像候補として選択することもできる。フォント切替装置50は、フォント候補を情報処理装置10へ送信する(P4)。
 情報処理装置10は、フォント候補を受信すると、フォント候補を表示し(P5)、ユーザによるフォントの選択操作を受け付ける(P6)。
 図7は本実施の形態によるフォントの選択画面の一例を示す模式図である。左側の図は、情報処理装置10の表示画面11のメッセージ表示領域12にメッセージ(図の例では「なつかしい」)が表示された状態を示す。ユーザが操作アイコン15を操作(例えば、タッチ操作など)すると、中央の図に示すように、フォント選択領域13に3種類のフォント候補13a、13b、13cが表示される。なお、フォント候補の数は図7の例に限定されない。また、フォント選択領域13に表示される候補には、ロゴ用フォント又はロゴ画像も含めることができる。これにより、ユーザがメッセージに合うフォント(ロゴ用フォント又はロゴ画像を含む)をユーザの好み等に応じて自由に選択することができる。
 ユーザがフォント候補13cを選択して操作アイコン15を操作すると、フォント表示領域14に選択されたフォントに切り替えられたメッセージが表示される。ユーザが操作アイコン15を操作すると、フォントが選択される。なお、メッセージ表示領域12を常に確認し、文章の追加又は削除などの変更に応じて、フォント候補を再度判定することもできる。
 フォント切替装置50は、ユーザによって選択されたフォント情報を取得し(P7)、選択されたフォントへ切り替えるべく表示用コードを生成し(P8)、生成した表示用コードを情報処理装置10へ送信する(P9)。
 情報処理装置10が表示用コードを受信すると、表示用コードに基づいて、情報処理装置10は、フォント要求をサーバ100へ送信する(P10)。サーバ100は、フォント要求に基づいて、フォントを情報処理装置10へ配信する(P11)。
 情報処理装置10は、フォントを受信することにより、メッセージのフォントを切り替えて表示する(P12)。
 メッセージの印象を判定する場合、単語だけでなく、メッセージに含まれる絵文字又は記号などを考慮することができる。
 絵文字抽出部532は、取得されたメッセージに絵文字が含まれる場合、当該絵文字を抽出する。なお、一つのメッセージに含まれる絵文字の数は複数でもよい。
 カテゴリ特定部534は、複数の絵文字それぞれに印象を関連付けた絵文字カテゴリ関連情報としての絵文字・印象テーブル537に基づいて、絵文字抽出部532で抽出した絵文字に関連付けられた印象を特定する。
 図8は第1実施形態の絵文字・印象テーブル537の構成の一例を示す模式図である。
図8に示すように、絵文字・印象テーブル537は、絵文字と印象とを関連付けるとともに、絵文字及び印象と重み(重み付け)とを関連付ける。図8に示すように、印象としては、例えば、ポジ(ポジティブ)、ネガ(ネガティブ)、和食、ホラー、喜怒哀楽などを含む。図8に示すように、ハートの絵文字には、印象「ポジ」が関連付けられるとともに、重み「10」が関連付けられている。他の絵文字についても同様である。また、同じ絵文字に異なる複数の印象を関連付けてもよい。
 カテゴリ判定部540は、カテゴリ特定部534で特定した印象に基づいてメッセージの印象を判定する。メッセージの印象の判定は、図5に例示した単語の場合と同様に行うことができる。すなわち、単語及び絵文字の両者を考慮して、重み値が最も大きい印象を、取得したメッセージの印象と判定することができる。
 また、抽出された絵文字が複数ある場合、例えば、それぞれの絵文字に対応する印象のうち、関連付けられた絵文字の数が多い(例えば、最も多い)印象をメッセージの印象であると判定することができる。上述の構成により、絵文字・印象テーブル537を参照することによって、絵文字を考慮してメッセージの印象を判定することができる。
 記号抽出部533は、取得されたメッセージに記号が含まれる場合、当該記号を抽出する。記号は、例えば、感嘆符、疑問符、三点リーダなどを含めることができる。なお、一つのメッセージに含まれる記号の数は複数でもよい。
 カテゴリ特定部534は、複数の記号それぞれに印象を関連付けた記号カテゴリ関連情報としての記号・印象テーブル538に基づいて、記号抽出部533で抽出した記号に関連付けられた印象を特定する。
 図9は第1実施形態の記号・印象テーブル538の構成の一例を示す模式図である。図9に示すように、記号・印象テーブル538は、記号と印象とを関連付けるとともに、記号及び印象と重み(重み付け)とを関連付ける。図9に示すように、印象としては、例えば、ポジ(ポジティブ)、ネガ(ネガティブ)などを含む。図9に示すように、3つの感嘆符には、印象「ポジ」が関連付けられるとともに、重み「2」が関連付けられている。
他の記号についても同様である。
 カテゴリ判定部540は、カテゴリ特定部534で特定した印象に基づいてメッセージの印象を判定する。メッセージの印象の判定は、図5に例示した単語の場合と同様に行うことができる。すなわち、単語及び記号、あるいは単語、絵文字及び記号を考慮して、重み値が最も大きい印象を、取得したメッセージの印象と判定することができる。
 また、抽出された記号が複数ある場合、例えば、それぞれの記号に対応する印象のうち、関連付けられた記号の数が多い(例えば、最も多い)印象をメッセージの印象であると判定することができる。上述の構成により、記号・印象テーブル538を参照することによって、記号を考慮してメッセージの印象を判定することができる。
 図10は本実施の形態による情報処理装置10の間で送受信されるメッセージのフォントが切り替えられる様子の一例を示す説明図である。図10に示すように、本実施の形態によれば、1又は複数の他のユーザとの間で、ソーシャル・ネットワーキング・サービスなどのサービスを使ってメッセージの送受信を行う場合、一つ一つのメッセージのフォントが、メッセージのもつ印象に合った(又は印象に近い)フォント、あるいは相手が選択したフォントに自動的に切り替えられる。
 図11は比較例としての情報処理装置10の間で送受信されるメッセージのフォントの様子の一例を示す説明図である。図11に示すように、1又は複数の他のユーザとの間で、ソーシャル・ネットワーキング・サービスなどのサービスを使ってメッセージの送受信を行う場合、メッセージのフォントは、システムフォント(例えば、ゴシック体)しか使用することができない。
 しかし、本実施の形態のフォント切替装置50によれば、通信ネットワークを介してコミュニケーションが行われる場合、メッセージのフォントが固定的でなく、メッセージの印象に応じてフォントが自動的に切り替わるので、ユーザにとってみれば、コミュニケーションが楽しくなり、ソーシャル・ネットワーキング・サービスなどのサービスを使ったコミュニケーションに対して興味をもつことができる。
 次に、フォントの他の例として、ロゴマークについて説明する。
 ロゴ用フォント判定部54は、複数の単語それぞれにロゴ用フォントを関連付けたロゴマーク専用フォント変換辞書(ロゴ関連情報)に基づいて、単語抽出部531で抽出した複数の単語の中に関連付けられたロゴ用フォントがあるか否かを判定する。
 図12は本実施の形態のロゴマーク専用フォント変換辞書の構成の一例を示す模式図である。図12に示すように、ロゴマーク専用フォント変換辞書は、単語とロゴ用フォントとが関連付けられて登録された辞書である。半角(1バイト)、全角(2バイト)、大文字、小文字などの表記ゆれも含まれ、また、英字、片仮名、平仮名、漢字で表示される単語も含まれる。
 ロゴマーク(企業名、ブランド名、商品名、サービス名、略称など)の画像データ(例えば、ベジェフォーマット)と対応する文字列を登録しておき、画像データをフォントデータに変換することにより、ロゴ用フォントが得られる。
 ロゴ用フォントは、フォントであるため、JPEG又はSVG等の画像とは異なり、テキスト検索やコピーペーストを行うことができる。また、ロゴ用フォントを拡大又は縮小しても美しい描画が可能となる。また、ロゴ用フォントは、合字フォント機能を有し、複数文字であっても1文字分のアウトラインデータとして扱うことができる。これによって、ロゴマークの文字の途中で改行されて、ロゴマークが分割されて表示されることを防止することができる。
 ロゴマーク専用フォント変換辞書の生成は、例えば、ロゴマークの保有者にロゴの描画データ及び企業名等の文字情報を登録してもらい、ロゴ登録処理によって行うことができる。
 ロゴ用フォント判定部54で関連付けられたロゴ用フォントがあると判定された場合、表示コード生成部56は、当該ロゴ用フォントに関連付けられた単語を当該ロゴ用フォントに切り替える。上述の構成により、ソーシャル・ネットワーキング・サービスを利用してメッセージの送受信を行う際に、企業名、ブランド名、商品名、サービス名、略称など文字列をロゴ表示することが可能となる。
 次に、ロゴ画像について説明する。ロゴ画像は、ロゴ、商品又はブランドを表す画像(例えば、商品パッケージの写真など)である。
 ロゴ画像判定部57は、複数の単語それぞれにロゴ画像を関連付けたロゴ画像変換辞書(ロゴ関連情報)に基づいて、単語抽出部531で抽出した複数の単語の中に関連付けられたロゴ画像があるか否かを判定する。
 図13は本実施の形態のロゴ画像変換辞書の構成の一例を示す模式図である。図13に示すように、ロゴ画像変換辞書は、単語とロゴ画像とが関連付けられて登録された辞書である。半角(1バイト)、全角(2バイト)、大文字、小文字などの表記ゆれも含まれ、また、英字、片仮名、平仮名、漢字で表示される単語も含まれる。なお、便宜上、図13では、単語を模式的に、AAA、BBB、CCCと記載している。
 例えば、単語AAAには、画像Aが関連付けて登録され、単語BBBには、画像Bが関連付けて登録され、単語CCCには、画像C1、C2、C3が関連付けて登録されている。
 ロゴ画像判定部57で関連付けられたロゴ画像があると判定された場合、表示コード生成部56は、当該ロゴ画像に関連付けられた単語を当該ロゴ画像に切り替える。上述の構成により、ソーシャル・ネットワーキング・サービスを利用してメッセージの送受信を行う際に、企業名、ブランド名、商品名、サービス名、略称など文字列をロゴ画像表示することが可能となる。
 図14は比較例としての情報処理装置10の間で送受信されるメッセージのフォントの様子の他の例を示す説明図である。図14に示すように、ソーシャル・ネットワーキング・サービスなどのサービスを使ってメッセージの送受信を行う場合、メッセージの中に、商品名又はブランド名があったとしても、当該商品名又はブランド名は、システムフォント(具体的には、文字)によって表示される。このため、例えば、帰宅する前に、商品名AAAを買って来てもらおうとメッセージを送信しても、商品名がAAAという商品が売り場に複数ある場合、間違って買って来てしまうという事態が生じる。
 図15は本実施の形態による情報処理装置10の間で送受信されるメッセージのフォントの様子の他の例を示す説明図である。図15に示すように、本実施の形態によれば、ソーシャル・ネットワーキング・サービスなどのサービスを使ってユーザ同士がメッセージの送受信を行う場合、メッセージの中に、商品名又はブランド名があった場合、当該商品名又はブランド名に対応するロゴ画像が表示されるので、ユーザ同士のコミュニケーションをスムーズに行うことができ、また、商品を製造・販売する企業にとっても、例えば、売り上げがアップするなどのメリットを享受することができる。
 なお、単語CCCのように、一つの商品名又はブランド名等に対して複数のロゴ画像が存在する場合には、単語をロゴ画像に切り替える前に、ユーザに対して当該複数のロゴ画像を候補として表示し、ユーザに所望のロゴ画像を選択してもらうようにすることができる。
 図16は第1実施形態のフォント切替装置50によるフォント切替処理の手順の一例を示すフローチャートである。以下では、便宜上、処理の主体を制御部51として説明する。制御部51は、メッセージを取得し(S11)、取得したメッセージから単語を抽出し(S12)、メッセージに絵文字が含まれる場合には絵文字を抽出し(S13)、メッセージに記号が含まれる場合には記号を抽出する(S14)。
 制御部51は、単語・印象テーブル536、絵文字・印象テーブル537及び記号・印象テーブル538を参照して、抽出した単語、絵文字、記号に対応する印象を特定し(S15)、特定した印象に重み付けする(S16)。
 制御部51は、例えば、重み値が最も大きい印象をメッセージの印象とし、印象・フォントテーブル539を参照してメッセージのフォントを判定する(S17)。この場合、メッセージのフォントを複数判定し、判定した複数のフォントをフォント候補として情報処理装置10へ送信する(S18)。
 ユーザによるフォントの選択操作に基づいて、制御部51は、フォントが決定されたか否かを判定し(S19)、フォントが決定されていない場合(S19でNO)、ステップS19の処理を続ける。フォントが決定された場合(S19でYES)、制御部51は、表示用コードを生成し(S20)、生成した表示用コードを情報処理装置10へ送信する(S21)。
 制御部51は、処理を終了するか否かを判定し(S22)、処理を終了しない場合(S22でNO)、ステップS11以降の処理を続け、処理を終了すると判定した場合(S22でYES)、処理を終了する。
(第2実施形態)
 上述の第1実施形態では、単語・印象テーブル536、絵文字・印象テーブル537、記号・印象テーブル538及び印象・フォントテーブル539を用いる構成であったが、第2実施形態では、機械学習を用いる構成について説明する。
 図17は第2実施形態のフォント特定部53の構成の一例を示すブロック図である。第2実施形態のフォント特定部53は、単語抽出部541、機械学習モジュール542、学習用データ543などを備える。
 単語抽出部541は、メッセージ取得部52で取得されたメッセージに含まれる複数の単語を抽出する。単語は、形容詞、名詞、副詞、方言、流行語などを含む。
 機械学習モジュール542は、単語抽出部541で抽出された単語群に基づいてメッセージのカテゴリを判定する。機械学習モジュール542は、学習用データ543(教師データとも称する)によって学習したテキスト分類システムである。機械学習モジュール542は、例えば、ナイーブベイズ分類器、SVM(サポートベクトルマシン)、ニューラルネットワークなどのアルゴリズム(学習モデル)を使用することができる。なお、機械学習モジュール542は、テキスト分類を行うことができるアルゴリズムであれば適宜用いることができる。
 図18は第2実施形態の学習用データ543の一例を示す模式図である。学習用データ543は、予め用意され、文書と、文書の印象に適したフォントとが関連付けられている。機械学習モジュール542は、図18に示すような学習用データ543に基づいて、文書の特徴と当該文書に適したフォントとを学習したものである。文書の特徴は、例えば、各フォントに分類される文書数の総文書数に占める確率(割合)、及び、あるフォントの各単語の出現回数などを含む。
 機械学習モジュール542は、単語抽出部541で抽出された単語群(メッセージ)の特徴を求め、学習用データ543から学習した文書の特徴との類似さを求めることによってメッセージの印象に適したフォントを判定することができる。
 例えば、ナイーブベイズ分類器を用いる場合、メッセージの印象に適したフォントが、フォントA、フォントB、フォントC、フォントDである確率を算出し、算出した確率が最も高いフォントを、メッセージの印象に適したフォントとすることができる。また、メッセージの印象に適したフォントがフォントAである確率は、学習用データ543において、フォントAに分類された文書数の総文書数に占める確率、及び文書のフォントAに単語(メッセージの各単語)が出現した回数などを用いて算出することができる。
 より具体的は、抽出した複数の単語が学習用データ543のフォントに関連付けられた文書に出現する確率を算出し、算出した確率に基づいてメッセージの印象に適したフォントを判定する。例えば、複数の単語をx、y、zとし、フォントをA、B、C、D、Eとする。学習用データ543のフォントA、B、C、D、Eそれぞれに関連付けられた文書に単語x、y、zが出現する確率Pa、Pb、Pc、Pd、Peを算出し、算出した確率それぞれに当該フォントに分類される文書数の総文書数に占める確率を乗算した値が最も大きいフォントをメッセージの印象に適したフォントとすることができる。
 第2実施形態によれば、単語の抽出(文字列解析)、及びフォントの判定(テキスト分類)という簡便な処理を行うだけで、メッセージの印象に適したフォントを判定することができ、メッセージのフォントを自由に切り替えることができる。
 図19は第2実施形態のフォント切替装置50によるフォント切替処理の手順の一例を示すフローチャートである。以下では、便宜上、処理の主体を制御部51として説明する。制御部51は、メッセージを取得し(S31)、取得したメッセージから単語を抽出してメッセージを単語群に分解する(S32)。
 制御部51は、メッセージの特徴を抽出し(S33)、抽出したメッセージの特徴と学習用データ543から学習した文書の特徴との類似さを判定する(S34)。制御部51は、メッセージのフォントを判定する(S35)。この場合、メッセージのフォントを複数判定し、判定した複数のフォントをフォント候補として情報処理装置10へ送信する(S36)。
 ユーザによるフォントの選択操作に基づいて、制御部51は、フォントが決定されたか否かを判定し(S37)、フォントが決定されていない場合(S37でNO)、ステップS37の処理を続ける。フォントが決定された場合(S37でYES)、制御部51は、表示用コードを生成し(S38)、生成した表示用コードを情報処理装置10へ送信する(S39)。
 制御部51は、処理を終了するか否かを判定し(S40)、処理を終了しない場合(S40でNO)、ステップS31以降の処理を続け、処理を終了すると判定した場合(S40でYES)、処理を終了する。
 抽出したメッセージを文書と、ユーザによって選択されたフォントをフォントとを関連付けて学習用データ(教師データ)として、機械学習モジュール542に学習させることができる。機械学習モジュール542によるフォントの判定(テキスト分類)の精度を高めることができる。
(第3実施形態)
 上述の第1実施形態及び第2実施形態では、フォントを切り替える構成であったが、第3実施形態では、フォントを切り替えるだけでなく、フォントを含むメッセージの表示態様を変更する場合について説明する。
 図20は第3実施形態のフォント切替システムの構成の一例を示すブロック図であり、図21は第3実施形態のフォント特定部53の構成の一例を示すブロック図である。図1に示す第1実施形態のフォント切替システムの構成との違いは、サーバ100が、メッセージブロック画像データベース104、及び画像データベース105を備える点である。また、図2に示す第1実施形態のフォント特定部53との違いは、第3実施形態のフォント特定部53は、キーワード判定部544、キーワードテーブル545、表示形式テーブル546を備える点である。以下、第3実施形態について説明する。
 単語抽出部531は、メッセージに含まれる単語を抽出する。メッセージは、メッセンジャーアプリ又はチャットなどの、いわゆるソーシャル・ネットワーキング・サービスにおいて送受信される文字列(絵文字、記号などを含む)である。単語は、形容詞、名詞、副詞、方言、流行語などを含む。メッセージから抽出する単語の数は一つでよい。
 キーワード判定部544は、判定部としての機能を有し、単語抽出部531で抽出した単語が、メッセージに係る表示態様を定義する表示形式に対応付けられたキーワードと一致又は類似するか否かを判定する。より具体的には、キーワード判定部544は、キーワードテーブル545を参照して、抽出した単語を検索して、キーワードテーブル545のキーワードに一致又は類似するか否かを判定する。なお、キーワードと一致するとは、単語がキーワードと完全一致する場合をいい、キーワードと類似するとは、単語がキーワードと部分一致する場合又は印象などが類似する場合をいう。
 図22はキーワードテーブル545の構成の一例を示す模式図である。キーワードテーブル545は、キーワードと表示形式(テンプレート)とが対応付けられたテーブルである。表示形式は、例えば、表示態様が定義付けられた定義用データを含む。表示形式の詳細は後述する。図22に示すように、例えば、「メリークリスマス」、「メリクリ」というキーワードには、クリスマステンプレートが対応付けられている。また、「あけおめ」、「あけましておめでとう」というキーワードには、お正月テンプレートが対応付けられている。また、「お花見」、「入学おめでとう」、「入学式」というキーワードには、桜テンプレートが対応付けられている。また、「ムスッ」、「むすっ」というキーワードには、漫画風テンプレートが対応付けられている。
 フォント特定部53は、変更部としての機能を有し、キーワード判定部544で抽出した単語がキーワードと一致又は類似すると判定した場合、当該キーワードに対応付けられた表示形式に基づいて、当該単語を含むメッセージに係る表示態様を変更する。なお、当該単語を含むメッセージとは、当該メッセージのうち当該単語だけでもよく、あるいは当該メッセージ全体でもよいという意味である。
 例えば、メッセージの中に「メリクリ」と一致又は類似する単語が含まれていた場合、フォント特定部53は、当該メッセージの表示態様をクリスマステンプレートに基づいて変更する。また、メッセージの中に「ムスッ」と一致又は類似する単語が含まれていた場合、フォント特定部53は、当該メッセージの表示態様を漫画風テンプレートに基づいて変更する。
 図23Aは表示形式の構成の一例を示す説明図であり、図23Bはクリスマステンプレートの構成の一例を示す説明図であり、図23Cは漫画風テンプレートの構成の一例を示す説明図である。図23Aは、表示形式のデータ構成を示し、メッセージに係る表示態様を定義付けるものである。データ構成の内容は、各テンプレートに応じて定義される。図23Aに示すように、表示形式には、次のようなデータが含まれる。すなわち、表示態様を変更するメッセージの適用範囲、メッセージの背景色・画像、メッセージブロックのデザイン(例えば、形状、色、画像など)、メッセージの組版情報、表示態様の変更の有効期限、優先度などを含む。組版情報とは、例えば、文字の色、サイズ、フォント、字送、行送、余白などを含むレイアウトの情報を意味する。
 適用範囲は、メッセージに対する表示態様の変更の適用範囲を示し、例えば、メッセージを構成する文字のうちキーワードだけ表示態様を変更する場合、キーワードを含むメッセージだけ表示態様を変更する場合、キーワードを含むメッセージと同時に表示画面11に表示される他のメッセージに対しても同様の表示態様に変更する場合、あるいは、キーワードを含むメッセージの前又は後のメッセージ(複数のメッセージでもよい)に対して同様の表示態様に変更する場合などを含む。
 背景色・画像は、メッセージの背景色・画像である。メッセージブロックのデザインは、メッセージを囲む枠又は吹き出し等の表示態様を特定する。メッセージの組版情報は、メッセージを構成する文字の色、サイズ、フォント、字送、行送などを含む。有効期限は、単語の抽出によるメッセージの表示態様がどの程度の期間変更可能かを特定する。また、優先度は、例えば、メッセージの中に複数のキーワードが含まれ、複数のテンプレートが対応付けられた場合、いずれのテンプレートを用いるかを決定するための優先度である。数値が小さいほど優先度が高いとすることができる。
 このほかに、表示形式には、メッセージ表示態様の変更がどの程度維持されるかを特定する変更期間などが含まれていてもよい。変更期間は、例えば15分や1日と一定の数値を設定してもよく、アプリを閉じるまでや次のメッセージが送られるまでなど、ユーザの操作によって設定されてもよい。
 表示形式テーブル546には、図22で示した種々のテンプレートが記憶されている。例えば、図23Bに示すクリスマステンプレート、図23Cに示す漫画風テンプレートなどが記憶されている。なお、テンプレートは、図22、図23B、図23Cに例示するものに限定されない。
 図23Bに示すクリスマステンプレートでは、適用範囲が全体であり、背景色・画像が緑であり、メッセージブロックのデザインが角丸長方形、枠線は赤と緑の縞、背景は白であり、メッセージの組版情報は、黒、16pt、キラキラフォント、字送1EM、行送1.5EMであり、有効期限は12月23日から12月26日までであり、優先度は1である。
 また、図23Cに示す漫画風テンプレートでは、適用範囲がメッセージ1件であり、背景色・画像が変更なしであり、メッセージブロックのデザインが漫画吹き出し画像、枠線は黒、背景は白であり、メッセージの組版情報は、黒、16pt、マンガフォント、字送1EM、行送1.5EMであり、有効期限は1日であり、優先度は3である。なお、図23B、図23Cは、例示であり、これらに限定されるものではない。
 サーバ100のメッセージブロック画像データベース104は、種々のテンプレートについて、メッセージブロックの画像を記憶する。また、画像データベース105は、単語(キーワード)に対応付けた手書き文字又は画像などを記憶する。
 図24は画像データベース105の構成の一例を示す模式図である。図24に示すように、単語(キーワード)と表示対応とが対応付けられている。例えば、「ムスッ」、「むすっ」という単語に対して、手書き文字で表示したような画像が対応付けられている。なお、表示態様は手書き文字に限定されるものではなく、例えば、筆文字、図形化した文字、抽象化した文字、装飾された文字、図形と組み合わせた文字などであってもよい。また、「メリクリ」という単語に対して、装飾が施された文字が対応付けられている。また、「洗剤A」という単語に対して、洗剤Aの画像が対応付けられている。
 図25A及び図25Bは第3実施形態による情報処理装置10の間で送受信されるメッセージの表示態様の第1例を示す説明図である。図25Aは比較例としてメッセージの表示態様を変更しない場合の例を示し、図25Bは本実施の形態によりメッセージの表示態様を変更した場合の例を示す。表示画面には、「ムスッとして生意気」というメッセージ201、「どうどう落ち着いて」というメッセージ202が表示されている。図25Bの例では、メッセージ201には、「ムスッ」というキーワード201aが含まれているので、メッセージ201を構成する文字のうちキーワード「ムスッ」だけの表示態様を変更するとともに(符号201b)、メッセージ201を囲むメッセージブロックの表示態様も変更している。また、図25Bの例では、メッセージ202には、キーワードが含まれていないので、第3実施形態に係る処理は行われていないが、第1実施形態、第2実施形態に係る処理によって、メッセージ202のフォントは切り替えられている。
 上述の構成により、ソーシャル・ネットワーキング・サービスなどを利用するコミュニケーションにおいて、送受信するメッセージの表示態様を、メッセージの内容に応じて切り替えることができる。
 また、本実施の形態にあっては、単語を含むメッセージに係る表示態様を変更させる場合、メッセージに含まれる文字のうち少なくとも当該単語を手書き文字、筆文字、図形化した文字、抽象化した文字、装飾された文字、図形と組み合わせた文字(手書き文字等とも称する)、又は当該単語に関連付けられた画像に変更する。これにより、メッセージに含まれる単語を手書き文字等又は関連する画像に切り替えて表示させることができ、ユーザにとって、コミュニケーションが楽しくなる、あるいはメッセージが分かりやすくなるというメリットが得られる。
 また、本実施の形態にあっては、単語を含むメッセージに係る表示態様を変更させる場合、当該メッセージを囲んで表示される枠(メッセージブロック)の表示態様を変更する。これにより、メッセージの文字だけでなく、メッセージを囲む枠の表示態様を変えることにより、メッセージから得られる印象、感情などの表現を一層豊かにすることができ、コミュニケーションが楽しくなるというメリットが得られる。
 図26A及び図26Bは第3実施形態による情報処理装置10の間で送受信されるメッセージの表示態様の第2例を示す説明図である。図26Aは比較例としてメッセージの表示態様を変更しない場合の例を示し、図26Bは本実施の形態によりメッセージの表示態様を変更した場合の例を示す。図25Bに示した第1例との違いは、第2例では、キーワード「ムスッ」を含むメッセージ201全体の表示態様を変更する点である(符号201c)。これにより、メッセージに含まれる単語を含む他の文字を手書き文字等又は関連する画像に切り替えて表示させることができ、ユーザにとって、コミュニケーションが楽しくなる、あるいはメッセージが分かりやすくなるというメリットが得られる。
 図27A及び図27Bは第3実施形態による情報処理装置10の間で送受信されるメッセージの表示態様の第3例を示す説明図である。図27Aは比較例としてメッセージの表示態様を変更しない場合の例を示し、図27Bは本実施の形態によりメッセージの表示態様を変更した場合の例を示す。表示画面には、メッセージ211~216が表示されている。メッセージ213には、「メリクリ」というキーワード213aが含まれている。図27Bの例では、メッセージ213には、キーワード「メリクリ」が含まれているので、当該メッセージ213と同時に表示画面に表示されている他のメッセージ211、212、214、215、216は、メッセージ213と同等の表示態様に変更されている。
 上述のように、単語を含むメッセージに係る表示態様を変更させる場合、当該メッセージの前又は後に表示されるメッセージに係る表示態様を変更する。当該メッセージの前又は後に表示されるメッセージは、例えば、当該メッセージが表示されている表示画面で当該メッセージと同時に表示されている前又は後のメッセージでもよく(図27B)、当該メッセージから所定数だけ前のメッセージまでを含めてもよく、あるいは当該メッセージから所定数だけ後のメッセージまでを含めてもよい。これにより、コミュニケーションにおいて、送受信する一連のメッセージの表示態様を、メッセージの内容に応じて切り替えることができる。
 また、本実施の形態において、単語を含むメッセージに係る表示態様を変更させる場合、メッセージに含まれる文字のうち少なくとも当該単語の組版情報を変更することができる。単語の組版情報は、例えば、単語の色、フォント、字送り、行送りなどの情報を含む。これにより、メッセージに含まれる単語、あるいは当該単語を含む他の文字の見た目の印象を変えることができ、ユーザにとって、コミュニケーションが楽しくなる、あるいはメッセージが分かりやすくなるというメリットが得られる。
 また、本実施の形態において、単語を含むメッセージに係る表示態様を変更させた場合、変更した表示態様を、所定時間が経過するまで又は別の表示態様に変更する処理を実行するまで継続することができる。これにより、コミュニケーションにおいて、送受信する一連のメッセージの表示態様を、メッセージの内容に応じて切り替えることができる。
 図28は第3実施形態のフォント切替装置50によるメッセージの表示態様の変更処理の手順の一例を示すフローチャートである。以下では、便宜上、処理の主体を制御部51として説明する。制御部51は、メッセージを取得し(S51)、取得したメッセージに含まれる単語を抽出する(S52)。
 制御部51は、キーワードテーブル545を参照して単語を検索し(S53)、抽出した単語がキーワードと一致又は類似するか否かを判定する(S54)。キーワードと一致又は類似する場合(S54でYES)、制御部51は、キーワードに該当する表示形式の表示用コードを生成し(S55)、生成した表示用コードを情報処理装置10へ送信する(S56)。
 情報処理装置10が表示用コードを受信すると、表示用コードに基づいて、情報処理装置10は、メッセージの変更要求をサーバ100へ送信する。サーバ100は、メッセージの変更要求に基づいて、メッセージブロック画像データベース104、画像データベース105を用いて、表示態様を変更したメッセージを情報処理装置10へ配信する。情報処理装置10は、メッセージを受信することにより、メッセージの表示態様を変更して表示画面11に表示することができる。
 キーワードと一致又は類似しない場合(S54でNO)、制御部51は、ステップS55、S56の処理を行うことなく、後述のステップS57の処理を行う。制御部51は、処理を終了するか否かを判定し(S57)、処理を終了しない場合(S57でNO)、ステップS51以降の処理を続け、処理を終了すると判定した場合(S57でYES)、処理を終了する。
 前述の各実施形態のフォント切替装置50は、CPU(プロセッサ)、RAMなどを備えた汎用コンピュータを用いて実現することもできる。すなわち、図16、図19及び図28に示すような、各処理の手順を定めたコンピュータプログラムをコンピュータに備えられたRAMにロードし、コンピュータプログラムをCPU(プロセッサ)で実行することにより、コンピュータ上でフォント切替装置50を実現することができる。
 上述のように、本実施の形態によれば、ソーシャル・ネットワーキング・サービスなどを利用するコミュニケーションにおいて、送受信するメッセージのフォントを、メッセージの内容に応じて切り替えることができる。また、ソーシャル・ネットワーキング・サービスなどを利用するコミュニケーションにおいて、企業名や商品名をロゴマークとして表示することができる。また、ユーザがメッセージの印象に近いフォント、又はメッセージの印象に適したフォントを容易に選択することができる。また、ソーシャル・ネットワーキング・サービスなどを利用するコミュニケーションにおいて、送受信するメッセージの表示態様を、メッセージの内容に応じて切り替えることができる。
 本実施の形態において、サーバ100から情報処理装置10へフォントを配信する場合、次の方法がある。第1は、情報処理装置10で表示させたい字種のみを搭載したフォント(サブセット)をダイナミックに生成して配する。第2は、全ての字種を搭載したフォント(フルセット)を配信する。第3は、情報処理装置10に全ての字種を搭載したフォント(フルセット)を記憶しておく。
 上述の実施の形態では、フォント切替装置50と情報処理装置10とは別個の装置であったが、これに限定されるものではなく、例えば、テキスト解析(単語抽出処理、絵文字抽出処理、記号抽出処理など)をフォント切替装置50で実施するようにしてもよい。
 上述の実施の形態において、ロゴ用フォント又はロゴ画像がユーザによって選択され、当該ロゴ用フォント又はロゴ画像が情報処理装置10にて表示された場合、選択結果のフィードバックとして、表示ログを記録するようにしてもよい。
 上述の実施の形態において、フォントがユーザによって選択され、当該フォントが情報処理装置10にて表示された場合、選択結果をフォント切替装置50のフォント判定処理のルールへフィードバックするようにしてもよい。これにより、フォントの判定精度を向上させることができる。
 上述の実施の形態において、予めフォントを情報処理装置10にダウンロードしておくこともできる。これにより、フォントをサーバ100からダウンロードする必要がなく、フォントの切り替え及び表示をより素早く行うことができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、メッセージのフォントを切り替えさせるためのコンピュータプログラムであって、コンピュータに、前記メッセージに含まれる複数の単語を抽出する処理と、抽出した複数の単語に基づいて前記メッセージのフォントを特定する処理と、前記メッセージのフォントを特定したフォントに切り替える処理とを実行させる。
 本実施の形態に係るフォント切替装置は、メッセージのフォントを切り替えるフォント切替装置であって、前記メッセージに含まれる複数の単語を抽出する単語抽出部と、該単語抽出部で抽出した複数の単語に基づいて前記メッセージのフォントを特定する特定部と、前記メッセージのフォントを前記特定部で特定したフォントに切り替えるための処理を実行する処理部とを備える。
 本実施の形態に係るフォント切替方法は、メッセージのフォントを切り替えるフォント切替方法であって、前記メッセージに含まれる複数の単語を単語抽出部が抽出し、抽出された複数の単語に基づいて前記メッセージのフォントを特定部が特定し、前記メッセージのフォントを特定されたフォントに切り替えるための処理を処理部が実行する。
 本実施の形態にあっては、メッセージに含まれる複数の単語を抽出する。メッセージは、メッセンジャーアプリ又はチャットなどの、いわゆるソーシャル・ネットワーキング・サービスにおいて送受信される文字列(絵文字、記号などを含む)である。単語は、形容詞、名詞、副詞、方言、流行語などを含む。
 本実施の形態にあっては、抽出した複数の単語に基づいてメッセージのフォントを特定する。
 本実施の形態にあっては、メッセージのフォントを特定したフォントに切り替える。
 上述の構成により、単語の抽出(文字列解析)、及びフォントの特定という簡便な処理を行うだけで、メッセージのフォントを自由に切り替えることができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、抽出した複数の単語に基づいて前記メッセージのカテゴリを判定する処理と、複数のカテゴリそれぞれにフォントを関連付けたフォント関連情報に基づいて、前記判定したカテゴリに関連付けられたフォントを特定する処理とを実行させる。
 本実施の形態にあっては、抽出した複数の単語に基づいてメッセージのカテゴリを判定する。カテゴリは、単語から想起される印象などとすることができる。なお、異なる単語が同じカテゴリに対応する場合もある。
 本実施の形態にあっては、複数のカテゴリそれぞれにフォントを関連付けたフォント関連情報に基づいて、判定したカテゴリに関連付けられたフォントを特定する。例えば、予め、カテゴリとフォントとを関連付けたフォント関連テーブル(フォント関連情報)を記憶しておき、メッセージのカテゴリが判定された場合、判定されたカテゴリに関連付けられたフォントを特定することができる。フォント関連テーブル(フォント関連情報)を参照することによって、カテゴリからフォントへ簡便に変換することができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、複数の単語それぞれにカテゴリを関連付けた単語カテゴリ関連情報に基づいて、前記抽出した複数の単語それぞれに関連付けられたカテゴリを特定する処理と、特定したカテゴリに対応する単語数に基づいて前記メッセージのカテゴリを判定する処理とを実行させる。
 本実施の形態にあっては、複数の単語それぞれにカテゴリを関連付けた単語カテゴリ関連情報に基づいて、抽出した複数の単語それぞれに関連付けられたカテゴリを特定する。例えば、予め、単語とカテゴリとを関連付けた単語カテゴリ関連テーブル(単語カテゴリ関連情報)を記憶しておき、抽出した複数の単語それぞれに関連付けられたカテゴリを特定する。
 本実施の形態にあっては、特定したカテゴリに対応する単語数に基づいてメッセージのカテゴリを判定する。上述の構成により、単語カテゴリ関連テーブル(単語カテゴリ関連情報)を参照することによって、各単語のカテゴリを簡便に特定することができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記メッセージに含まれる絵文字を抽出する処理と、複数の絵文字それぞれにカテゴリを関連付けた絵文字カテゴリ関連情報に基づいて、抽出した絵文字に関連付けられたカテゴリを特定する処理と、特定したカテゴリに基づいて前記メッセージのカテゴリを判定する処理とを実行させる。
 本実施の形態にあっては、メッセージに含まれる絵文字を抽出する。本実施の形態にあっては、複数の絵文字それぞれにカテゴリを関連付けた絵文字カテゴリ関連情報に基づいて、抽出した絵文字に関連付けられたカテゴリを特定する。例えば、予め、絵文字とカテゴリとを関連付けた絵文字カテゴリ関連テーブル(絵文字カテゴリ関連情報)を記憶しておき、抽出した絵文字に関連付けられたカテゴリを特定する。
 本実施の形態にあっては、特定したカテゴリに基づいてメッセージのカテゴリを判定する。また、抽出した絵文字が複数ある場合、例えば、あるカテゴリであると特定した絵文字の数が多い(例えば、最も多い)カテゴリをメッセージのカテゴリであると判定することができる。上述の構成により、絵文字カテゴリ関連テーブル(絵文字カテゴリ関連情報)を参照することによって、絵文字を考慮してメッセージのカテゴリを判定することができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記メッセージに含まれる記号を抽出する処理と、複数の記号それぞれにカテゴリを関連付けた記号カテゴリ関連情報に基づいて、抽出した記号に関連付けられたカテゴリを特定する処理と、特定したカテゴリに基づいて前記メッセージのカテゴリを判定する処理とを実行させる。
 本実施の形態にあっては、メッセージに含まれる記号を抽出する。記号は、例えば、感嘆符、疑問符、三点リーダなどを含めることができる。
 本実施の形態にあっては、複数の記号それぞれにカテゴリを関連付けた記号カテゴリ関連情報に基づいて、抽出した記号に関連付けられたカテゴリを特定する。例えば、予め、記号とカテゴリとを関連付けた記号カテゴリ関連テーブル(記号カテゴリ関連情報)を記憶しておき、抽出した記号に関連付けられたカテゴリを特定する。
 本実施の形態にあっては、特定したカテゴリに基づいてメッセージのカテゴリを判定する。また、抽出した記号が複数ある場合、例えば、あるカテゴリであると特定した記号の数が多い(例えば、最も多い)カテゴリをメッセージのカテゴリであると判定することができる。上述の構成により、記号カテゴリ関連テーブル(記号カテゴリ関連情報)を参照することによって、記号を考慮してメッセージのカテゴリを判定することができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記メッセージに含まれる複数の単語、複数の絵文字又は複数の記号に応じて関連付けるカテゴリに重み付けする処理と、重み付けされたカテゴリに基づいて前記メッセージのカテゴリを判定する処理とを実行させる。
 本実施の形態にあっては、メッセージに含まれる複数の単語、複数の絵文字又は複数の記号に応じて関連付けるカテゴリに重み付けし、重み付けされたカテゴリに基づいてメッセージのカテゴリを判定する。
 例えば、単語カテゴリ関連テーブル(単語カテゴリ関連情報)において、単語とカテゴリとの関連付けに加えて、重み付け(例えば、重みを表す数値)も対応付ける。同様に、絵文字カテゴリ関連テーブル(絵文字カテゴリ関連情報)において、絵文字とカテゴリとの関連付けに加えて、重み付けも対応付ける。また、記号カテゴリ関連テーブル(記号カテゴリ関連情報)において、記号とカテゴリとの関連付けに加えて、重み付けも対応付ける。
 単語、絵文字又は記号に対応するカテゴリを重み付けた場合、メッセージのカテゴリは、例えば、重み付けられたられたカテゴリのうち、重みを表す数値が最も大きいカテゴリとすることができる。上述の構成により、メッセージに合うカテゴリが一義的、あるいは固定的に決定されることを抑制して、メッセージに合うフォントを選ぶことが可能となる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記メッセージに含まれる複数の単語の前記メッセージ中の位置に応じて、前記複数の単語それぞれに関連付けるカテゴリに重み付けする処理と、重み付けされたカテゴリに基づいて前記メッセージのカテゴリを判定する処理とを実行させる。
 本実施の形態にあっては、メッセージに含まれる複数の単語の当該メッセージ中の位置に応じて、当該メッセージに含まれる複数の単語それぞれに関連付けるカテゴリに重み付けする。例えば、日本語の文脈では、一般的にメッセージの最後の方の言葉(単語)が重要な意味をもつことが多い。そこで、例えば、メッセージに含まれる複数の単語のうち、最後の単語に関連付けられたカテゴリの重みを大きくする(重みの数値を大きくする)。
 本実施の形態にあっては、重み付けされたカテゴリに基づいてメッセージのカテゴリを判定する。上述の構成により、メッセージに含まれる複数の単語に関連付けられたカテゴリが複数存在する場合でも、メッセージの文脈において重要な意味をもつ単語に関連付けられたカテゴリを優先してメッセージのカテゴリを判定することができ、メッセージに合うフォントに切り替えることが可能となる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、メッセージのフォントを切り替えさせるためのコンピュータプログラムであって、コンピュータに、前記メッセージに含まれる複数の単語を抽出する処理と、複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モデル及び抽出した複数の単語に基づいて前記メッセージのフォントを特定する処理と、前記メッセージのフォントを特定したフォントに切り替える処理とを実行させる。
 本実施の形態に係るフォント切替装置は、メッセージのフォントを切り替えるフォント切替装置であって、前記メッセージに含まれる複数の単語を抽出する単語抽出部と、複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モジュールと、前記学習済モジュール及び前記単語抽出部で抽出した複数の単語に基づいて前記メッセージのフォントを特定する特定部と、前記メッセージのフォントを前記特定部で特定したフォントに切り替えるための処理を実行する処理部とを備える。
 本実施の形態に係るフォント切替方法は、メッセージのフォントを切り替えるフォント切替方法であって、前記メッセージに含まれる複数の単語を単語抽出部が抽出し、複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モジュール及び抽出された複数の単語に基づいて前記メッセージのフォントを特定部が特定し、前記メッセージのフォントを特定されたフォントに切り替えるための処理を処理部が実行する。
 本実施の形態にあっては、メッセージに含まれる複数の単語を抽出する。メッセージは、メッセンジャーアプリ又はチャットなどの、いわゆるソーシャル・ネットワーキング・サービスにおいて送受信される文字列(絵文字、記号などを含む)である。単語は、形容詞、名詞、副詞、方言、流行語などを含む。
 本実施の形態にあっては、複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モデル及び抽出した複数の単語に基づいてメッセージのフォントを特定する。
 学習済モデルは、学習用データを教師データとして用い、文書の特徴と当該文書に適したフォントとを学習したものである。文書の特徴は、例えば、各フォントに分類される文書数の総文書数に占める確率(割合)、及び、あるフォントの各単語の出現回数などを含む。なお、学習済モデルは、テキスト分類を行うことができるアルゴリズムであれば適宜用いることができる。
 メッセージのフォントの特定は、例えば、メッセージの特徴を求め、学習済モデル(アルゴリズム)の文書の特徴との類似さを求めることによって行うことができる。例えば、メッセージのフォントが、フォントA、B、C、D、…である確率を算出し、算出した確率が最も高いフォントを、メッセージのフォントとすることができる。また、メッセージのフォントがフォントAである確率は、学習用データにおいて、フォントAに分類された文書数の総文書数に占める確率、及び文書のフォントAに単語(メッセージの各単語)が出現した回数などを用いて算出することができる。
 本実施の形態にあっては、特定したフォントに基づいてメッセージのフォントを切り替える。上述の構成により、単語の抽出(文字列解析)、及びフォントの特定(テキスト分類)という簡便な処理を行うだけで、メッセージのフォントを特定することができ、メッセージのフォントを自由に切り替えることができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、抽出した複数の単語が前記学習用データのフォントに関連付けられた文書に出現する確率を算出する処理と、算出した確率に基づいて前記メッセージのフォントを特定する処理とを実行させる。
 本実施の形態にあっては、抽出した複数の単語が学習用データのフォントに関連付けられた文書に出現する確率を算出し、算出した確率に基づいてメッセージのフォントを特定する。例えば、複数の単語をx、y、zとし、フォントをA、B、C、D、Eとする。学習用データのフォントA、B、C、D、Eそれぞれに関連付けられた文書に単語x、y、zが出現する確率Pa、Pb、Pc、Pd、Peを算出し、算出した確率それぞれに当該フォントに分類される文書数の総文書数に占める確率を乗算した値が最も大きいフォントをメッセージのフォントとすることができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、メッセージのロゴ用フォント又はロゴ画像を切り替えさせるためのコンピュータプログラムであって、コンピュータに、前記メッセージに含まれる複数の単語を抽出する処理と、複数の単語それぞれにロゴ用フォント又はロゴ画像を関連付けたロゴ関連情報に基づいて、抽出した複数の単語の中に関連付けられたロゴ用フォント又はロゴ画像があるか否かを判定する処理と、関連付けられたロゴ用フォント又はロゴ画像がある場合、該ロゴ用フォント又はロゴ画像に関連付けられた単語を前記ロゴ用フォント又はロゴ画像に切り替える処理とを実行させる。
 本実施の形態にあっては、メッセージに含まれる複数の単語を抽出する。メッセージは、メッセンジャーアプリ又はチャットなどの、いわゆるソーシャル・ネットワーキング・サービスにおいて送受信される文字列(絵文字、記号などを含む)である。単語は、形容詞、名詞、副詞、方言、流行語などを含む。
 本実施の形態にあっては、複数の単語それぞれにロゴ用フォント又はロゴ画像を関連付けたロゴ関連情報に基づいて、抽出した複数の単語の中に関連付けられたロゴ用フォント又はロゴ画像があるか否かを判定する。ロゴマーク(企業名、ブランド名、商品名、サービス名、略称など)の画像データ(例えば、ベジェフォーマット)と対応する文字列を登録しておき、画像データをフォントデータに変換することにより、ロゴ用フォントが得られる。ロゴ画像は、当該画像データを用いることができる。ロゴ関連情報は、文字列とロゴ用フォント又はロゴ画像とを関連付けた変換辞書とすることができる。
 本実施の形態にあっては、関連付けられたロゴ用フォント又はロゴ画像がある場合、当該ロゴ用フォント又はロゴ画像に関連付けられた単語を当該ロゴ用フォント又はロゴ画像に切り替える。上述の構成により、ソーシャル・ネットワーキング・サービスを利用してメッセージの送受信を行う際に、企業名、ブランド名、商品名、サービス名、略称など文字列をロゴ表示又はロゴ画像表示することが可能となる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記メッセージのフォント候補又は前記抽出した複数の単語の中に関連付けられたロゴ用フォント候補若しくはロゴ画像候補を前記情報処理装置にて複数表示させる処理と、表示された複数のフォント候補、ロゴ用フォント候補又はロゴ画像候補の中から選択された一のフォント、ロゴ用フォント又はロゴ画像を受け付ける処理とを実行させる。
 本実施の形態にあっては、メッセージのフォント候補、又は抽出した複数の単語の中に関連付けられたロゴ用フォント候補若しくはロゴ画像候補を情報処理装置にて複数表示させる。フォント候補は、例えば、メッセージのフォントとして相応しい複数のフォントとすることができる。また、ロゴ用フォント候補は、単語に対応するロゴマークが複数ある場合、各ロゴマークに対応するロゴ用フォントとすることができる。ロゴ画像候補は、単語に対応する複数のロゴ画像とすることができる。
 本実施の形態にあっては、表示された複数のフォント候補、ロゴ用フォント又はロゴ画像の中からユーザによって選択された一のフォント、ロゴ用フォント又はロゴ画像を受け付ける。上述の構成により、ユーザがメッセージに合うフォント(ロゴ用フォント又はロゴ画像を含む)をユーザの好み等に応じて自由に選択することができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記メッセージ及び選択された一のフォントを文書とフォントとを関連付けた学習データとして学習させる処理を実行させる。
 本実施の形態にあっては、メッセージ及び選択された一のフォントを文書とカテゴリとを関連付けた学習データとして学習させる。これにより、学習済モデル(アルゴリズム)によるカテゴリの分類精度を高めることができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、切り替えたフォント、ロゴ用フォント又はロゴ画像をサーバから取得して表示するための表示用コードを生成する処理を実行させる。
 本実施の形態にあっては、切り替えたフォント、ロゴ用フォント又はロゴ画像をサーバから取得して表示するための表示用コードを生成する。サーバはフォント、ロゴ用フォント又はロゴ画像を記憶する。生成した表示用コードを情報処理装置へ送信することにより、情報処理装置は、サーバからフォント、ロゴ用フォント又はロゴ画像を取得することができ、メッセージのフォントを切り替え、あるいは単語をロゴ用フォント又はロゴ画像に切り替えて表示することができる。
 本実施の形態に係るコンピュータプログラムにおいて、前記カテゴリは、単語、絵文字、記号又はメッセージから想起される印象を含む。
 本実施の形態にあっては、カテゴリは、単語、絵文字、記号又はメッセージから想起される印象を含む。印象は、例えば、ネガ(ネガティブ)、ポジ(ポジティブ)、喜怒哀楽、スポーツ、イベント、話題などを含めることができる。これにより、メッセージから受ける印象に近いフォントへ切り替えることができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、メッセージに係る表示態様を変更させるためのコンピュータプログラムであって、コンピュータに、前記メッセージに含まれる単語を抽出する処理と、抽出した単語が、メッセージに係る表示態様を定義する表示形式に対応付けられたキーワードと一致又は類似するか否かを判定する処理と、抽出した単語がキーワードと一致又は類似すると判定した場合、前記キーワードに対応付けられた表示形式に基づいて、前記単語を含むメッセージに係る表示態様を変更する処理とを実行させる。
 本実施の形態に係るフォント切替装置は、メッセージに係る表示態様を変更させるフォント切替装置であって、前記メッセージに含まれる単語を抽出する単語抽出部と、抽出した単語が、メッセージに係る表示態様を定義する表示形式に対応付けられたキーワードと一致又は類似するか否かを判定する判定部と、抽出した単語がキーワードと一致又は類似すると判定した場合、前記キーワードに対応付けられた表示形式に基づいて、前記単語を含むメッセージに係る表示態様を変更する変更部とを備える。
 本実施の形態に係るフォント切替方法は、メッセージに係る表示態様を変更させるフォント切替方法であって、前記メッセージに含まれる単語を単語抽出部が抽出し、抽出した単語が、メッセージに係る表示態様を定義する表示形式に対応付けられたキーワードと一致又は類似するか否かを判定部が判定し、抽出した単語がキーワードと一致又は類似すると判定した場合、前記キーワードに対応付けられた表示形式に基づいて、前記単語を含むメッセージに係る表示態様を変更部が変更する。
 本実施の形態にあっては、単語抽出部は、メッセージに含まれる単語を抽出する。メッセージは、メッセンジャーアプリ又はチャットなどの、いわゆるソーシャル・ネットワーキング・サービスにおいて送受信される文字列(絵文字、記号などを含む)である。単語は、形容詞、名詞、副詞、方言、流行語などを含む。
 判定部は、抽出した単語が、メッセージに係る表示態様を定義する表示形式に対応付けられたキーワードと一致又は類似するか否かを判定する。メッセージに係る表示態様は、例えば、表示態様を変更するメッセージの適用範囲、メッセージの背景色・画像、メッセージブロックの表示態様、メッセージの組版情報、表示態様の変更の有効期限、優先度などを含む。キーワードと一致とは、単語がキーワードと完全一致する場合をいい、キーワードと類似とは、単語がキーワードと部分一致する場合又は印象などが類似する場合をいう。
 変更部は、抽出した単語がキーワードと一致又は類似すると判定した場合、当該キーワードに対応付けられた表示形式に基づいて、当該単語を含むメッセージに係る表示態様を変更する。当該単語を含むメッセージとは、当該メッセージのうち当該単語だけでもよく、あるいは当該メッセージ全体でもよいという意味である。
 上述の構成により、ソーシャル・ネットワーキング・サービスなどを利用するコミュニケーションにおいて、送受信するメッセージの表示態様を、メッセージの内容に応じて切り替えることができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記単語を含むメッセージに係る表示態様を変更させる場合、前記メッセージに含まれる文字のうち少なくとも前記単語を手書き文字又は前記単語に関連付けられた画像に変更する処理を実行させる。
 本実施の形態にあっては、単語を含むメッセージに係る表示態様を変更させる場合、メッセージに含まれる文字のうち少なくとも当該単語を手書き文字又は当該単語に関連付けられた画像に変更する。これにより、メッセージに含まれる単語、あるいは当該単語を含む他の文字を手書き文字又は関連する画像に切り替えて表示させることができ、ユーザにとって、コミュニケーションが楽しくなる、あるいはメッセージが分かりやすくなるというメリットが得られる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記単語を含むメッセージに係る表示態様を変更させる場合、前記メッセージに含まれる文字のうち少なくとも前記単語の組版情報を変更する処理を実行させる。
 本実施の形態にあっては、単語を含むメッセージに係る表示態様を変更させる場合、メッセージに含まれる文字のうち少なくとも当該単語の組版情報を変更する。単語の組版情報は、例えば、単語の色、フォント、字送り、行送りなどの情報を含む。これにより、メッセージに含まれる単語、あるいは当該単語を含む他の文字の見た目の印象を変えることができ、ユーザにとって、コミュニケーションが楽しくなる、あるいはメッセージが分かりやすくなるというメリットが得られる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記単語を含むメッセージに係る表示態様を変更させる場合、前記メッセージを囲んで表示される枠の表示態様を変更する処理を実行させる。
 本実施の形態にあっては、単語を含むメッセージに係る表示態様を変更させる場合、当該メッセージを囲んで表示される枠(メッセージブロックとも称する)の表示態様を変更する。枠の表示態様は、例えば、枠の色、模様、形状などを含む。これにより、メッセージの文字だけでなく、メッセージを囲む枠の表示態様を変えることにより、メッセージから得られる印象、感情などの表現を一層豊かにすることができ、コミュニケーションが楽しくなるというメリットが得られる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記単語を含むメッセージに係る表示態様を変更させる場合、前記メッセージの前又は後に表示されるメッセージに係る表示態様を変更する処理を実行させる。
 本実施の形態にあっては、単語を含むメッセージに係る表示態様を変更させる場合、当該メッセージの前又は後に表示されるメッセージに係る表示態様を変更する。当該メッセージの前又は後に表示されるメッセージは、例えば、当該メッセージが表示されている表示画面で当該メッセージと同時に表示されている前又は後のメッセージでもよく、当該メッセージから所定数だけ前のメッセージまでを含めてもよく、あるいは当該メッセージから所定数だけ後のメッセージまでを含めてもよい。これにより、コミュニケーションにおいて、送受信する一連のメッセージの表示態様を、メッセージの内容に応じて切り替えることができる。
 本実施の形態に係るコンピュータプログラムは、コンピュータに、前記単語を含むメッセージに係る表示態様を変更させた場合、変更した表示態様を、所定時間が経過するまで又は別の表示態様に変更する処理を実行するまで継続する処理を実行させる。
 本実施の形態にあっては、単語を含むメッセージに係る表示態様を変更させた場合、変更した表示態様を、所定時間が経過するまで又は別の表示態様に変更する処理を実行するまで継続する。これにより、コミュニケーションにおいて、送受信する一連のメッセージの表示態様を、メッセージの内容に応じて切り替えることができる。
 10 情報処理装置
 11 表示画面
 12 メッセージ表示領域
 13 フォント選択領域
 13a、13b、13c フォント候補
 14 フォント表示領域
 15 操作アイコン
 50 フォント切替装置
 51 制御部
 52 メッセージ取得部
 53 フォント特定部
 531、541 単語抽出部
 532 絵文字抽出部
 533 記号抽出部
 534 カテゴリ特定部
 535 重み付け部
 536 単語・印象テーブル
 537 絵文字・印象テーブル
 538 記号・印象テーブル
 539 印象・フォントテーブル
 540 カテゴリ判定部
 542 機械学習モジュール
 543 学習用データ
 544 キーワード判定部
 545 キーワードテーブル
 546 表示形式テーブル
 54 ロゴ用フォント判定部
 55 候補選択部
 56 表示コード生成部
 57 ロゴ画像判定部
 100 サーバ
 101 フォントデータベース
 102 ロゴ用フォントデータベース
 103 ロゴ画像データベース
 104 メッセージブロック画像データベース
 105 画像データベース
 

Claims (26)

  1.  コンピュータに、メッセージのフォントを切り替えさせるためのコンピュータプログラムであって、
     コンピュータに、
     前記メッセージに含まれる複数の単語を抽出する処理と、
     抽出した複数の単語に基づいて前記メッセージのフォントを特定する処理と、
     前記メッセージのフォントを特定したフォントに切り替える処理と
     を実行させるコンピュータプログラム。
  2.  コンピュータに、
     抽出した複数の単語に基づいて前記メッセージのカテゴリを判定する処理と、
     複数のカテゴリそれぞれにフォントを関連付けたフォント関連情報に基づいて、判定したカテゴリに関連付けられたフォントを特定する処理と
     を実行させる請求項1に記載のコンピュータプログラム。
  3.  コンピュータに、
     複数の単語それぞれにカテゴリを関連付けた単語カテゴリ関連情報に基づいて、前記抽出した複数の単語それぞれに関連付けられたカテゴリを特定する処理と、
     特定したカテゴリに対応する単語数に基づいて前記メッセージのカテゴリを判定する処理と
    を実行させる請求項2に記載のコンピュータプログラム。
  4.  コンピュータに、
     前記メッセージに含まれる絵文字を抽出する処理と、
     複数の絵文字それぞれにカテゴリを関連付けた絵文字カテゴリ関連情報に基づいて、抽出した絵文字に関連付けられたカテゴリを特定する処理と、
     特定したカテゴリに基づいて前記メッセージのカテゴリを判定する処理と
     を実行させる請求項2又は請求項3に記載のコンピュータプログラム。
  5.  コンピュータに、
     前記メッセージに含まれる記号を抽出する処理と、
     複数の記号それぞれにカテゴリを関連付けた記号カテゴリ関連情報に基づいて、抽出した記号に関連付けられたカテゴリを特定する処理と、
     特定したカテゴリに基づいて前記メッセージのカテゴリを判定する処理と
     を実行させる請求項2から請求項4のいずれか一項に記載のコンピュータプログラム。
  6.  コンピュータに、
     前記メッセージに含まれる複数の単語、複数の絵文字又は複数の記号に応じて関連付けるカテゴリに重み付けする処理と、
     重み付けされたカテゴリに基づいて前記メッセージのカテゴリを判定する処理と
     を実行させる請求項2から請求項5のいずれか一項に記載のコンピュータプログラム。
  7.  コンピュータに、
     前記メッセージに含まれる複数の単語の前記メッセージ中の位置に応じて、前記複数の単語それぞれに関連付けるカテゴリに重み付けする処理と、
     重み付けされたカテゴリに基づいて前記メッセージのカテゴリを判定する処理と
     を実行させる請求項2から請求項6のいずれか一項に記載のコンピュータプログラム。
  8.  コンピュータに、メッセージのフォントを切り替えさせるためのコンピュータプログラムであって、
     コンピュータに、
     前記メッセージに含まれる複数の単語を抽出する処理と、
     複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モデル及び抽出した複数の単語に基づいて前記メッセージのフォントを特定する処理と、
     前記メッセージのフォントを特定したフォントに切り替える処理と
     を実行させるコンピュータプログラム。
  9.  コンピュータに、
     抽出した複数の単語が前記学習用データのフォントに関連付けられた文書に出現する確率を算出する処理と、
     算出した確率に基づいて前記メッセージのフォントを特定する処理と
     を実行させる請求項8に記載のコンピュータプログラム。
  10.  コンピュータに、メッセージのロゴ用フォント又はロゴ画像を切り替えさせるためのコンピュータプログラムであって、
     コンピュータに、
     前記メッセージに含まれる複数の単語を抽出する処理と、
     複数の単語それぞれにロゴ用フォント又はロゴ画像を関連付けたロゴ関連情報に基づいて、抽出した複数の単語の中に関連付けられたロゴ用フォント又はロゴ画像があるか否かを判定する処理と、
     関連付けられたロゴ用フォント又はロゴ画像がある場合、該ロゴ用フォント又はロゴ画像に関連付けられた単語を前記ロゴ用フォント又はロゴ画像に切り替える処理と
     を実行させるコンピュータプログラム。
  11.  コンピュータに、
     前記メッセージのフォント候補又は前記抽出した複数の単語の中に関連付けられたロゴ用フォント候補若しくはロゴ画像候補を前記情報処理装置にて複数表示させる処理と、
     表示された複数のフォント候補、ロゴ用フォント候補又はロゴ画像候補の中から選択された一のフォント、ロゴ用フォント又はロゴ画像を受け付ける処理と
     を実行させる請求項1から請求項10のいずれか一項に記載のコンピュータプログラム。
  12.  コンピュータに、
     前記メッセージ及び選択された一のフォントを文書とフォントとを関連付けた学習データとして学習させる処理を実行させる請求項11に記載のコンピュータプログラム。
  13.  コンピュータに、
     切り替えたフォント、ロゴ用フォント又はロゴ画像をサーバから取得して表示するための表示用コードを生成する処理を実行させる請求項1から請求項12のいずれか一項に記載のコンピュータプログラム。
  14.  前記カテゴリは、単語、絵文字、記号又はメッセージから想起される印象を含む請求項2から請求項7のいずれか一項に記載のコンピュータプログラム。
  15.  コンピュータに、メッセージに係る表示態様を変更させるためのコンピュータプログラムであって、
     コンピュータに、
     前記メッセージに含まれる単語を抽出する処理と、
     抽出した単語が、メッセージに係る表示態様を定義する表示形式に対応付けられたキーワードと一致又は類似するか否かを判定する処理と、
     抽出した単語がキーワードと一致又は類似すると判定した場合、前記キーワードに対応付けられた表示形式に基づいて、前記単語を含むメッセージに係る表示態様を変更する処理と
     を実行させるコンピュータプログラム。
  16.  コンピュータに、
     前記単語を含むメッセージに係る表示態様を変更させる場合、前記メッセージに含まれる文字のうち少なくとも前記単語を手書き文字又は前記単語に関連付けられた画像に変更する処理を実行させる請求項15に記載のコンピュータプログラム。
  17.  コンピュータに、
     前記単語を含むメッセージに係る表示態様を変更させる場合、前記メッセージに含まれる文字のうち少なくとも前記単語の組版情報を変更する処理を実行させる請求項15又は請求項16に記載のコンピュータプログラム。
  18.  コンピュータに、
     前記単語を含むメッセージに係る表示態様を変更させる場合、前記メッセージを囲んで表示される枠の表示態様を変更する処理を実行させる請求項15から請求項17のいずれか一項に記載のコンピュータプログラム。
  19.  コンピュータに、
     前記単語を含むメッセージに係る表示態様を変更させる場合、前記メッセージの前又は後に表示されるメッセージに係る表示態様を変更する処理を実行させる請求項15から請求項18のいずれか一項に記載のコンピュータプログラム。
  20.  コンピュータに、
     前記単語を含むメッセージに係る表示態様を変更させた場合、変更した表示態様を、所定時間が経過するまで又は別の表示態様に変更する処理を実行するまで継続する処理を実行させる請求項15から請求項19のいずれか一項に記載のコンピュータプログラム。
  21.  メッセージのフォントを切り替えるフォント切替装置であって、
     前記メッセージに含まれる複数の単語を抽出する単語抽出部と、
     該単語抽出部で抽出した複数の単語に基づいて前記メッセージのフォントを特定する特定部と、
     前記メッセージのフォントを前記特定部で特定したフォントに切り替えるための処理を実行する処理部と
     を備えるフォント切替装置。
  22.  メッセージのフォントを切り替えるフォント切替装置であって、
     前記メッセージに含まれる複数の単語を抽出する単語抽出部と、
     複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モジュールと、
     前記学習済モジュール及び前記単語抽出部で抽出した複数の単語に基づいて前記メッセージのフォントを特定する特定部と、
     前記メッセージのフォントを前記特定部で特定したフォントに切り替えるための処理を実行する処理部と
     を備えるフォント切替装置。
  23.  メッセージに係る表示態様を変更させるフォント切替装置であって、
     前記メッセージに含まれる単語を抽出する単語抽出部と、
     抽出した単語が、メッセージに係る表示態様を定義する表示形式に対応付けられたキーワードと一致又は類似するか否かを判定する判定部と、
     抽出した単語がキーワードと一致又は類似すると判定した場合、前記キーワードに対応付けられた表示形式に基づいて、前記単語を含むメッセージに係る表示態様を変更する変更部と
     を備えるフォント切替装置。
  24.  メッセージのフォントを切り替えるフォント切替方法であって、
     前記メッセージに含まれる複数の単語を単語抽出部が抽出し、
     抽出された複数の単語に基づいて前記メッセージのフォントを特定部が特定し、
     前記メッセージのフォントを特定されたフォントに切り替えるための処理を処理部が実行するフォント切替方法。
  25.  メッセージのフォントを切り替えるフォント切替方法であって、
     前記メッセージに含まれる複数の単語を単語抽出部が抽出し、
     複数の文書と複数のフォントとを関連付けた学習用データによって機械学習された学習済モジュール及び抽出された複数の単語に基づいて前記メッセージのフォントを特定部が特定し、
     前記メッセージのフォントを特定されたフォントに切り替えるための処理を処理部が実行するフォント切替方法。
  26.  メッセージに係る表示態様を変更させるフォント切替方法であって、
     前記メッセージに含まれる単語を単語抽出部が抽出し、
     抽出した単語が、メッセージに係る表示態様を定義する表示形式に対応付けられたキーワードと一致又は類似するか否かを判定部が判定し、
     抽出した単語がキーワードと一致又は類似すると判定した場合、前記キーワードに対応付けられた表示形式に基づいて、前記単語を含むメッセージに係る表示態様を変更部が変更するフォント切替方法。
     
     
     
PCT/JP2018/003385 2017-06-23 2018-02-01 コンピュータプログラム、フォント切替装置及びフォント切替方法 WO2018235326A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019525062A JPWO2018235326A1 (ja) 2017-06-23 2018-02-01 コンピュータプログラム、フォント切替装置及びフォント切替方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017-123033 2017-06-23
JP2017123033 2017-06-23

Publications (1)

Publication Number Publication Date
WO2018235326A1 true WO2018235326A1 (ja) 2018-12-27

Family

ID=64735941

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/003385 WO2018235326A1 (ja) 2017-06-23 2018-02-01 コンピュータプログラム、フォント切替装置及びフォント切替方法

Country Status (2)

Country Link
JP (1) JPWO2018235326A1 (ja)
WO (1) WO2018235326A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020154951A (ja) * 2019-03-22 2020-09-24 大日本印刷株式会社 フォント選定装置及びプログラム
JP2021096738A (ja) * 2019-12-19 2021-06-24 株式会社ラムダシステムズ 情報処理装置、情報処理方法および情報処理プログラム
CN113051235A (zh) * 2021-04-22 2021-06-29 平安普惠企业管理有限公司 文档加载方法、装置、终端和存储介质
WO2022001408A1 (zh) * 2020-06-28 2022-01-06 荣耀终端有限公司 字符显示方法、字符显示装置及终端设备

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004104647A (ja) * 2002-09-12 2004-04-02 Fuji Xerox Co Ltd 描画処理装置及び印刷処理システム
JP2004272807A (ja) * 2003-03-11 2004-09-30 Matsushita Electric Ind Co Ltd 文字列処理装置および文字列処理方法
JP2005182368A (ja) * 2003-12-18 2005-07-07 Seiko Epson Corp 表現画像推定装置及び表現画像推定方法ならびにそのプログラム
JP2005242790A (ja) * 2004-02-27 2005-09-08 Nomura Research Institute Ltd 携帯端末用表示データ作成装置、携帯端末用表示データ作成方法及び携帯端末用表示データ作成プログラム
WO2007138944A1 (ja) * 2006-05-26 2007-12-06 Nec Corporation 情報付与システム、情報付与方法、情報付与プログラム及び情報付与プログラム記録媒体
WO2009040931A1 (ja) * 2007-09-28 2009-04-02 Kamachi, Mitsuhisa コンテンツ情報出力装置、コンテンツ情報配信システム、コンテンツ情報出力方法、及び、コンテンツ情報出力プログラム
US20110289407A1 (en) * 2010-05-18 2011-11-24 Naik Devang K Font recommendation engine
JP2016161993A (ja) * 2015-02-26 2016-09-05 富士通株式会社 議論支援プログラム、議論支援方法および議論支援装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1014690A (ja) * 1996-03-28 1998-01-20 Shoko Cho 昇降ボード
JP3829506B2 (ja) * 1998-11-27 2006-10-04 セイコーエプソン株式会社 文書分類方法および文書分類装置ならびに文書分類処理プログラムを記録した記録媒体
JP2003044470A (ja) * 2001-07-27 2003-02-14 Hidehiro Ishizuka フォントサービスシステム

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004104647A (ja) * 2002-09-12 2004-04-02 Fuji Xerox Co Ltd 描画処理装置及び印刷処理システム
JP2004272807A (ja) * 2003-03-11 2004-09-30 Matsushita Electric Ind Co Ltd 文字列処理装置および文字列処理方法
JP2005182368A (ja) * 2003-12-18 2005-07-07 Seiko Epson Corp 表現画像推定装置及び表現画像推定方法ならびにそのプログラム
JP2005242790A (ja) * 2004-02-27 2005-09-08 Nomura Research Institute Ltd 携帯端末用表示データ作成装置、携帯端末用表示データ作成方法及び携帯端末用表示データ作成プログラム
WO2007138944A1 (ja) * 2006-05-26 2007-12-06 Nec Corporation 情報付与システム、情報付与方法、情報付与プログラム及び情報付与プログラム記録媒体
WO2009040931A1 (ja) * 2007-09-28 2009-04-02 Kamachi, Mitsuhisa コンテンツ情報出力装置、コンテンツ情報配信システム、コンテンツ情報出力方法、及び、コンテンツ情報出力プログラム
US20110289407A1 (en) * 2010-05-18 2011-11-24 Naik Devang K Font recommendation engine
JP2016161993A (ja) * 2015-02-26 2016-09-05 富士通株式会社 議論支援プログラム、議論支援方法および議論支援装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ISHII, CHIKA ET AL.: "Dynamic Text-Decoration System for Text by Calculating Correlation between Impressive-Words and Fonts", PROCEEDINGS OF 3RD FORUM ON DATA ENGINEERING AND INFORMATION MANAGEMENT, 27 July 2011 (2011-07-27), pages 1 - 6 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020154951A (ja) * 2019-03-22 2020-09-24 大日本印刷株式会社 フォント選定装置及びプログラム
JP7287038B2 (ja) 2019-03-22 2023-06-06 大日本印刷株式会社 フォント選定装置及びプログラム
JP2021096738A (ja) * 2019-12-19 2021-06-24 株式会社ラムダシステムズ 情報処理装置、情報処理方法および情報処理プログラム
WO2022001408A1 (zh) * 2020-06-28 2022-01-06 荣耀终端有限公司 字符显示方法、字符显示装置及终端设备
CN113051235A (zh) * 2021-04-22 2021-06-29 平安普惠企业管理有限公司 文档加载方法、装置、终端和存储介质

Also Published As

Publication number Publication date
JPWO2018235326A1 (ja) 2020-04-23

Similar Documents

Publication Publication Date Title
Cui et al. Text-to-viz: Automatic generation of infographics from proportion-related natural language statements
WO2018235326A1 (ja) コンピュータプログラム、フォント切替装置及びフォント切替方法
US8688611B2 (en) Translating paralinguistic indicators
US20180268307A1 (en) Analysis device, analysis method, and computer readable storage medium
JP2006004402A (ja) 書類作成支援装置、書類作成支援プログラムおよび記憶媒体、並びに書類作成支援方法
JP6680026B2 (ja) 情報処理装置及びプログラム
CN116127054A (zh) 图像处理方法、装置、设备、存储介质及计算机程序
CN111191141A (zh) 文案推荐方法以及装置
WO2019149065A1 (zh) 绘文字兼容显示方法、装置、终端及计算机可读存储介质
US9977794B2 (en) Management apparatus, design management method, and non-transitory computer readable medium
CN111352623A (zh) 页面生成方法及装置
CN112862558B (zh) 产品详情页面的生成方法和***、数据处理方法
US11507638B2 (en) Web content automated generation system
CN112927314A (zh) 一种图像数据处理方法、装置以及计算机设备
CN110298680B (zh) 广告管理装置、广告管理方法以及计算机可读记录介质
JP2015225398A (ja) デザイン管理装置及びプログラム
CN110548290B (zh) 图文混排方法、装置、电子设备以及存储介质
JP2006004451A (ja) 書類作成支援装置、書類作成支援プログラムおよび記憶媒体、並びに書類作成支援方法
JP2020091665A (ja) デザイン制作支援サーバ、方法及びそのためのプログラム
JP7376185B2 (ja) 投稿の表示制御装置、投稿の表示制御方法、およびプログラム
JP4021881B2 (ja) 販売促進ツール生成装置
US20230336839A1 (en) Method, computer device, and storage medium for generating video cover
CN113112573B (zh) 基于标记语言的图片生成方法、装置和电子设备
JP7116369B2 (ja) 印刷用画像の審査を支援するための情報処理装置、方法、プログラム、及び情報処理システム
JP2019023782A (ja) 広告管理装置及びプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18820883

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019525062

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18820883

Country of ref document: EP

Kind code of ref document: A1