JP2020135354A - Server control method, server, and server control program - Google Patents
Server control method, server, and server control program Download PDFInfo
- Publication number
- JP2020135354A JP2020135354A JP2019027334A JP2019027334A JP2020135354A JP 2020135354 A JP2020135354 A JP 2020135354A JP 2019027334 A JP2019027334 A JP 2019027334A JP 2019027334 A JP2019027334 A JP 2019027334A JP 2020135354 A JP2020135354 A JP 2020135354A
- Authority
- JP
- Japan
- Prior art keywords
- template
- term
- terminal
- replacement
- server
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
本発明は、サーバの制御方法、サーバ、およびサーバの制御プログラムに関する。 The present invention relates to a server control method, a server, and a server control program.
飲食店を利用する外国人に向けて、飲食店が自店舗におけるメニューを外国語で提供するために、外国語でのメニュー名称を容易に生成可能にするメニュー生成システムが知られている。 There is known a menu generation system that makes it possible to easily generate a menu name in a foreign language so that the restaurant can provide the menu in the restaurant in a foreign language to foreigners who use the restaurant.
例えば、特許文献1には、ジャンル・食材・調味料を選択することでメニューを指定し、指定されたジャンル・食材・調味料に対応する外国語名称を組み合わせることにより、外国語で正確に表記されたメニュー属性の文字情報を提供することが記載されている。
For example, in
特許文献1に例示されるメニュー生成システムにおいて、記憶されているテンプレートの一部を可変要素として定義しておき、この可変要素を置き換えることにより、新たなメニュー名またはメニュー説明文の翻訳を作成できる場合がある。例えば、メニュー名「ビーフステーキ」に対応する説明文のテンプレート「厚切りの牛肉を焼いた料理」において、「牛肉」が可変要素として定義されているとする。このテンプレートの可変要素「牛肉」を「アグー豚」に変更することにより、説明文「厚切りのアグー豚を焼いた料理」を生成することができる。
In the menu generation system exemplified in
しかし、例えばメニュー名「しゃぶしゃぶ」に対応する説明文のテンプレート「薄切りの肉や魚を熱湯や出汁にさっとくぐらせて、タレをつけて食べる料理」において、「肉や魚」および「熱湯や出汁」が可変要素として定義されているとする。このとき、単に「アグー豚」という用語を追加するだけでは、複数定義された可変要素のうちいずれを変更すればよいかをメニュー生成システムは適切に判定することができない。 However, for example, in the explanation template "Cooking thinly sliced meat or fish dipped in boiling water or soup stock and eating with sauce", "meat or fish" and "hot water or soup stock" corresponding to the menu name "Shabu-shabu" Is defined as a variable element. At this time, the menu generation system cannot appropriately determine which of the plurality of defined variable elements should be changed by simply adding the term "Agu pig".
そこで、本発明では、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供することができるサーバの制御方法、サーバ、およびサーバの制御プログラムを提供することを目的とする。 Therefore, an object of the present invention is to provide a server control method, a server, and a server control program capable of providing a user with a replacement template appropriately generated from a template based on additional terms specified by the user. And.
本発明にかかるサーバの制御方法は、記憶部および端末と接続可能なサーバの制御方法であって、記憶部には、1以上の用語で構成される複数の可変要素を含むテンプレートが規定されるテンプレートマスタと、複数の用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語との関連度を関連づける用語マスタと、が記憶され、サーバが、端末からの要求に応じてテンプレートマスタに規定されたテンプレートを端末に送信し、テンプレートに含まれる可変要素を置き換えるための追加用語を端末から受信し、テンプレートに含まれる複数の可変要素のうち、用語マスタにおいて、受信した追加用語との関連度が大きい可変要素を置換候補可変要素として特定し、テンプレートに含まれる置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成し、生成された置換テンプレートを端末に送信する、ことを含む。 The server control method according to the present invention is a control method for a server that can be connected to a storage unit and a terminal, and the storage unit defines a template including a plurality of variable elements composed of one or more terms. The template master and the term master that associates the degree of association with each other term based on the degree of similarity of the concept with each other term for each of the plurality of terms are stored, and the server responds to the request from the terminal. The template specified in the template master is sent to the terminal, additional terms for replacing the variable elements included in the template are received from the terminal, and among the multiple variable elements included in the template, the additional terms received in the term master. A variable element that has a high degree of relevance to is specified as a replacement candidate variable element, a replacement template is generated by replacing the replacement candidate variable element included in the template with an additional term, and the generated replacement template is sent to the terminal. including.
また、本発明にかかる制御方法では、関連度は、複数の用語ごとに、概念の類似度合いに基づいて他の各用語を並べたときの順位に応じて定められる値であることが好ましい。 Further, in the control method according to the present invention, the degree of relevance is preferably a value determined for each of a plurality of terms according to the order in which the other terms are arranged based on the degree of similarity of the concepts.
また、本発明にかかる制御方法では、関連度は、複数の用語ごとに、他の各用語との概念における距離に応じて定められる値であることが好ましい。 Further, in the control method according to the present invention, the degree of relevance is preferably a value determined for each of a plurality of terms according to the distance in the concept of each of the other terms.
また、本発明にかかる制御方法では、用語マスタは、複数の用語を概念の類似度合いに基づいて定められるグループである複数のカテゴリと関連づけており、サーバは、特定において、追加用語が関連づけられるカテゴリと同一のカテゴリに関連づけられる可変要素を、追加用語が関連づけられるカテゴリと同一のカテゴリに関連づけられない可変要素よりも追加用語との関連度が大きい可変要素と判定することが好ましい。 Further, in the control method according to the present invention, the term master associates a plurality of terms with a plurality of categories which are a group defined based on the degree of similarity of concepts, and the server specifically associates a plurality of categories with which additional terms are associated. It is preferable to determine that a variable element associated with the same category as is a variable element that is more relevant to the additional term than a variable element that is not associated with the same category as the category to which the additional term is associated.
また、本発明にかかる制御方法では、サーバは、特定において、追加用語が関連づけられるカテゴリのうち、より多くのカテゴリに関連づけられる可変要素を、追加用語との関連度がより大きい可変要素と判定することが好ましい。 Further, in the control method according to the present invention, the server determines, in particular, a variable element associated with more categories among the categories to which the additional term is associated is a variable element having a greater degree of association with the additional term. Is preferable.
また、本発明にかかる制御方法では、用語マスタにおいて、複数のカテゴリは、ツリー構造を形成する2以上の階層のうちいずれかの階層に位置づけられていることが好ましい。 Further, in the control method according to the present invention, it is preferable that a plurality of categories are positioned in any one of two or more layers forming a tree structure in the term master.
また、本発明にかかる制御方法では、サーバは、特定において、追加用語が関連づけられるカテゴリの上位または下位の階層に位置づけられたカテゴリに関連づけられる可変要素を、その他のカテゴリに関連づけられる可変要素よりも追加用語との関連度が大きいと判定することが好ましい。 Further, in the control method according to the present invention, the server specifically makes a variable element associated with a category located in a higher or lower hierarchy of a category to which an additional term is associated than a variable element associated with another category. It is preferable to determine that the degree of relevance to the additional term is large.
また、本発明にかかる制御方法では、サーバは、特定において、追加用語が関連づけられるカテゴリからたどったときの階層の数が少ないカテゴリに関連づけられる可変要素ほど、追加用語との関連度が大きいと判定することが好ましい。 Further, in the control method according to the present invention, the server determines that the variable element associated with the category having a smaller number of hierarchies when tracing from the category to which the additional term is associated has a greater degree of association with the additional term. It is preferable to do so.
また、本発明にかかる制御方法では、サーバは、複数の置換候補可変要素を特定し、複数の置換候補変換要素のそれぞれを追加用語によって置き換えた置換テンプレートを複数生成し、生成した複数の置換テンプレートを端末に送信し、複数の置換テンプレートのうちいずれか1つに対応する置換候補可変要素選択情報を端末から受信し、受信した置換候補可変要素選択情報に基づいて、置換候補可変要素選択情報に対応する用語と追加用語との関連度を変動させることが好ましい。 Further, in the control method according to the present invention, the server identifies a plurality of substitution candidate variable elements, generates a plurality of substitution templates in which each of the plurality of substitution candidate conversion elements is replaced by additional terms, and a plurality of generated substitution templates. Is sent to the terminal, the replacement candidate variable element selection information corresponding to any one of the plurality of replacement templates is received from the terminal, and based on the received replacement candidate variable element selection information, the replacement candidate variable element selection information is used. It is preferable to vary the degree of association between the corresponding term and the additional term.
本発明にかかるサーバは、記憶部および端末と接続可能なサーバであって、記憶部には、複数の用語を可変要素として含むテンプレートが規定されるテンプレートマスタと、複数の用語ごとに、他の各用語との概念の類似度合いに基づく他の用語の関連度を関連づける用語マスタと、が記憶され、端末からの要求に応じてテンプレートマスタに規定されたテンプレートを端末に送信するテンプレート送信部と、テンプレートに含まれる可変要素を置き換えるための追加用語を端末から受信する追加用語受信部と、テンプレートに含まれる複数の可変要素のうち、用語マスタにおいて、受信した追加用語との関連度が大きい可変要素を置換候補可変要素として特定する置換候補可変要素特定部と、テンプレートに含まれる置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成する置換テンプレート生成部と、生成された置換テンプレートを端末に送信する置換テンプレート送信部と、を備える。 The server according to the present invention is a server that can be connected to a storage unit and a terminal, and the storage unit includes a template master in which a template containing a plurality of terms as variable elements is defined, and another term for each of the plurality of terms. A term master that associates the degree of relevance of other terms based on the degree of similarity of the concept with each term, and a template transmitter that stores the template specified in the template master in response to a request from the terminal and sends the template to the terminal. An additional term receiver that receives additional terms to replace the variable elements included in the template from the terminal, and a variable element that has a high degree of relevance to the received additional terms in the term master among the multiple variable elements included in the template. The replacement candidate variable element identification part that specifies the replacement candidate variable element, the replacement template generation part that generates a replacement template by replacing the replacement candidate variable element included in the template with additional terms, and the generated replacement template to the terminal. It includes a replacement template transmission unit for transmission.
本発明にかかるサーバの制御プログラムは、記憶部および端末と接続可能なサーバの制御プログラムであって、記憶部には、複数の用語を可変要素として含むテンプレートが規定されるテンプレートマスタと、複数の用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語の関連度を関連づける用語マスタと、が記憶され、サーバに、端末からの要求に応じてテンプレートマスタに規定されたテンプレートを端末に送信し、テンプレートに含まれる可変要素を置き換えるための追加用語を端末から受信し、テンプレートに含まれる複数の可変要素のうち、用語マスタにおいて、受信した追加用語との関連度が大きい可変要素を置換候補可変要素として特定し、テンプレートに含まれる置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成し、生成された置換テンプレートを端末に送信する、処理を実行させる。 The server control program according to the present invention is a server control program that can be connected to a storage unit and a terminal, and the storage unit includes a template master in which a template containing a plurality of terms as variable elements is defined, and a plurality of templates. For each term, a term master that associates the relevance of each other term based on the degree of similarity of the concept with each other term is stored, and the template specified in the template master in response to the request from the terminal is stored in the server. To the terminal, receive additional terms from the terminal to replace the variable elements included in the template, and of the multiple variable elements included in the template, the variable that has a high degree of relevance to the received additional terms in the term master. The element is specified as a replacement candidate variable element, a replacement template is generated by replacing the replacement candidate variable element included in the template with an additional term, and the generated replacement template is sent to the terminal to execute the process.
本発明によると、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供するようサーバを制御することができる。 According to the present invention, the server can be controlled to provide the user with a replacement template appropriately generated from the template based on the additional term specified by the user.
以下、図面を参照してサーバの制御方法、サーバおよびサーバの制御プログラムについて詳細に説明する。ただし、本発明は図面または以下に記載される実施形態には限定されないことを理解されたい。 Hereinafter, the server control method, the server, and the server control program will be described in detail with reference to the drawings. However, it should be understood that the present invention is not limited to the drawings or embodiments described below.
本開示のメニュー生成システムにおいて、サーバは、1以上の用語で構成される複数の可変要素を含むテンプレートを端末に送信する。端末は、テンプレートを参照したユーザから追加用語の入力を受け付け、追加用語をサーバに送信する。サーバは、端末から追加用語を受信すると、テンプレートに含まれる複数の可変要素から置換候補可変要素を特定する。そして、サーバは、置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成し、端末に送信する。これにより、本開示のメニュー生成システムは、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供することができる。 In the menu generation system of the present disclosure, the server transmits a template including a plurality of variable elements composed of one or more terms to the terminal. The terminal accepts input of additional terms from the user who referred to the template and sends the additional terms to the server. When the server receives the additional term from the terminal, the server identifies the replacement candidate variable element from the plurality of variable elements included in the template. Then, the server generates a replacement template by replacing the replacement candidate variable element with an additional term and sends it to the terminal. Thereby, the menu generation system of the present disclosure can provide the user with a replacement template appropriately generated from the template based on the additional term specified by the user.
図1は、メニュー生成システム1の動作概要を示す模式図である。
FIG. 1 is a schematic diagram showing an outline of operation of the
メニュー生成システム1は、サーバ2と、ストレージ装置3と、端末4と、ネットワーク5とを有する。メニュー生成システム1において、サーバ2は、ストレージ装置3と接続され、端末4とネットワーク5を介して接続される。
The
サーバ2に接続されるストレージ装置3には、テンプレートマスタおよび用語マスタが記憶されている。テンプレートマスタは、1以上の用語で構成される複数の可変要素を含むテンプレートが規定する。用語マスタは、複数の用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語との関連度を関連づける。
The template master and the term master are stored in the
本明細書において、テンプレートは、料理の説明文である。料理の説明文には、料理の食材、調味料、調理方法といった要素が含まれる。これらの要素を他の用語で置き換えることにより、既存のテンプレートに基づいて新たな料理の説明文を生成することができる。 In the present specification, the template is a description of the dish. The description of a dish includes elements such as ingredients, seasonings, and cooking method. By substituting these elements with other terms, new cooking descriptions can be generated based on existing templates.
サーバ2は、まず、テンプレートを端末4に送信する。サーバ2は、端末4から受信したテンプレート送信要求に応じてテンプレートを端末に送信してよい。図1の例では、サーバ2は、テンプレートとして、「薄切りの[肉や魚]を[熱湯や出汁]にさっとくぐらせて、タレをつけて食べる料理」を端末4に送信する。このテンプレートは、2つの可変要素[肉や魚]および[熱湯や出汁]を含んでいる。
The
テンプレートを受信した端末4は、追加用語指定画面100を表示し、ユーザによる追加用語の入力を受け付ける。図1の例では、追加用語「アグー豚」を入力したユーザが送信ボタンを操作することにより、端末4は追加用語「アグー豚」をサーバ2に送信する。
The
サーバ2は、追加用語を受信した場合、テンプレートに含まれる可変要素のうち、用語マスタにおいて、受信した追加用語との関連度が大きい可変要素を置換候補可変要素として特定する。図1の例では、用語マスタにおいて、追加用語「アグー豚」と可変要素「肉や魚」との関連度は90であり、追加用語「アグー豚」と可変要素「熱湯や出汁」との関連度は20である。なお、図1の例において、関連度は0から100までの数値であり、関連度の数値が大きいことは関連が強いことを表わしている。追加用語「アグー豚」と可変要素「肉や魚」との関連度は、追加用語「アグー豚」と可変要素「熱湯や出汁」との関連度よりも大きいため、可変要素「肉や魚」が置換候補可変要素として特定される。
When the
次に、サーバ2は、テンプレートに含まれる置換候補可変要素を追加用語で置き換え、置換テンプレートを生成する。図1の例では、サーバ2は、テンプレート「薄切りの[肉や魚]を[熱湯や出汁]にさっとくぐらせて、タレをつけて食べる料理」における置換候補可変要素「肉や魚」を追加用語「アグー豚」で置き換える。これにより、置換テンプレート「薄切りのアグー豚を熱湯や出汁にさっとくぐらせて、タレをつけて食べる料理」が生成される。
Next, the
サーバ2は、生成された置換テンプレートを端末4に送信する。置換テンプレートを受信した端末4は、置換テンプレートを表示する。
The
このように、本実施形態にかかるサーバ2を含むメニュー生成システム1は、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供することができる。
As described above, the
図2は、メニュー生成システム1の概略構成を示す模式図である。
FIG. 2 is a schematic diagram showing a schematic configuration of the
メニュー生成システム1は、サーバ2と、ストレージ装置3と、端末4と、ネットワーク5とを有する。メニュー生成システム1において、サーバ2は、ストレージ装置3と接続され、端末4とネットワーク5を介して接続される。
The
ネットワーク5は、サーバ2と端末4とを通信可能に接続する。ネットワーク5は、例えばTCP/IP(Transport Control Protocol / Internet Protocol)による通信が行われるインターネットである。ネットワーク5により通信する機器は、有線または無線によって接続される。無線による接続は、例えばIEEE(The Institute of Electrical and Electronics Engineers)802.11acなどの無線LAN(Local Area Network)接続であってよい。無線による接続は、また、4G(4th Generation)回線などの無線WAN(Wide Area Network)接続であってよい。
The
図3は、サーバ2の概略構成を示す模式図である。
FIG. 3 is a schematic diagram showing a schematic configuration of the
サーバ2は、ストレージ装置3および端末4と接続し、端末4から受信する追加用語に基づいて置換テンプレートを生成し、端末4に送信する。そのために、サーバ2は、サーバ通信部21と、サーバ記憶部22と、サーバ処理部23とを備える。
The
サーバ通信部21は、サーバ2をネットワーク5に接続するための通信インタフェース回路を有する。サーバ通信部21は、端末4から受信したデータをサーバ処理部23に供給する。また、サーバ通信部21は、サーバ処理部23から供給されたデータを端末4等に送信する。
The server communication unit 21 has a communication interface circuit for connecting the
サーバ記憶部22は、例えば、半導体メモリ、磁気ディスク装置および光ディスク装置のうちの少なくとも1つを有する。サーバ記憶部22は、サーバ処理部23による処理に用いられるドライバプログラム、オペレーティングシステムプログラム、アプリケーションプログラム、データ等を記憶する。例えば、サーバ記憶部22は、ドライバプログラムとして、サーバ通信部21を制御する通信デバイスドライバプログラム等を記憶する。各種プログラムは、コンピュータ読み取り可能な可搬型記録媒体から、公知のセットアッププログラム等を用いてサーバ記憶部22にインストールされてよい。コンピュータ読み取り可能な可搬型記録媒体とは、例えばCD−ROM(Compact Disc Read-Only Memory)、DVD−ROM(DVD Read-Only Memory)等である。
The
サーバ処理部23は、1以上のプロセッサおよびその周辺回路を備える。サーバ処理部23は、サーバ2の全体的な動作を統括的に制御するものであり、例えば、CPU(Central Processing Unit)である。サーバ処理部23は、サーバ2の各種処理がサーバ記憶部22に記憶されているプログラム等に基づいて適切な手段で実行されるように、サーバ通信部21等の動作を制御する。サーバ処理部23は、サーバ記憶部22に記憶されているプログラム(オペレーティングシステムプログラム、ドライバプログラム、アプリケーションプログラム等)に基づいて処理を実行する。また、サーバ処理部23は、複数のプログラム(アプリケーションプログラム等)を並列に実行することができる。
The
サーバ処理部23は、テンプレート送信部231と、追加用語受信部232と、置換候補可変要素特定部233と、置換テンプレート生成部234と、置換テンプレート送信部235とを有する。サーバ処理部23が有するこれらの各部は、サーバ処理部23が有するプロセッサ上で実行されるプログラムによって実装される機能モジュールである。あるいは、サーバ処理部23が有するこれらの各部は、独立した集積回路、マイクロプロセッサ、またはファームウェアとしてサーバ2に実装されてもよい。
The
図4は、ストレージ装置3の概略構成を示す模式図である。
FIG. 4 is a schematic diagram showing a schematic configuration of the
ストレージ装置3は、記憶部の一例である。ストレージ装置3は、入力されたデータを記憶し、記憶したデータを要求に応じて出力する。そのために、ストレージ装置3は、ストレージ通信部31と、ストレージ記憶部32と、ストレージ処理部33とを備える。
The
ストレージ通信部31は、ストレージ装置3をサーバ2に接続するための通信インタフェース回路を有する。ストレージ通信部31は、サーバ2から受信したデータをストレージ処理部33に供給する。また、ストレージ通信部31は、ストレージ処理部33から供給されたデータをサーバ2に送信する。
The storage communication unit 31 has a communication interface circuit for connecting the
ストレージ記憶部32は、例えば、半導体メモリ、磁気ディスク装置および光ディスク装置のうちの少なくとも1つを有する。ストレージ記憶部32は、サーバ2から受信したデータ等を記憶する。
The storage storage unit 32 has, for example, at least one of a semiconductor memory, a magnetic disk device, and an optical disk device. The storage storage unit 32 stores data and the like received from the
ストレージ処理部33は、1以上のプロセッサおよびその周辺回路を備える。ストレージ処理部33は、ストレージ装置3の全体的な動作を統括的に制御するものであり、例えば、CPU(Central Processing Unit)である。ストレージ処理部33は、ストレージ通信部31およびストレージ記憶部32の動作を制御する。
The
なお、ストレージ装置3は、ストレージ通信部31およびストレージ処理部33を有していなくてもよい。この場合、ストレージ装置3のストレージ記憶部32がサーバ2に直接接続され、ストレージ記憶部32はサーバ2のサーバ処理部23により制御される。
The
ストレージ装置3は、ストレージ記憶部32に、ジャンルテーブルと、属性テーブルとを記憶する。
The
図5は、テンプレートマスタの例を示す図である。 FIG. 5 is a diagram showing an example of a template master.
テンプレートマスタは、1以上の用語で構成される複数の可変要素を含むテンプレートが規定されるマスタである。テンプレートマスタには、1以上のテンプレートが記憶される。 A template master is a master in which a template including a plurality of variable elements composed of one or more terms is defined. One or more templates are stored in the template master.
テンプレートは、複数の用語を含むテキスト情報である。テンプレートマスタにおいて、テキスト情報に含まれる1以上の単語が、可変要素として規定される。テンプレートには、複数の可変要素が含まれる。 A template is textual information that contains multiple terms. In the template master, one or more words included in the text information are defined as variable elements. The template contains multiple variable elements.
図5に示すテンプレートマスタの例では、テンプレートに含まれる可変要素が項目として記憶されている。また、テンプレートにおいて可変要素が角括弧で囲んで示されている。しかし、テンプレートマスタにおけるテンプレートの規定はこれに限らない。例えば、テンプレートに含まれる可変要素が項目として記憶されている場合、テンプレートにおける可変要素の角括弧による囲みはなくてもよい。逆に、テンプレートにおける可変要素の角括弧による囲みがある場合、テンプレートに含まれる可変要素が項目として記憶されていなくてもよい。このとき、テンプレートにおける可変要素の囲みは角括弧ではなく、他の記号または符号であってもよい。 In the example of the template master shown in FIG. 5, the variable elements included in the template are stored as items. Also, in the template, the variable elements are shown in square brackets. However, the template rules in the template master are not limited to this. For example, when the variable element included in the template is stored as an item, the variable element in the template may not be enclosed in square brackets. On the contrary, when the variable element in the template is enclosed in square brackets, the variable element included in the template may not be stored as an item. At this time, the box of the variable element in the template may be another symbol or code instead of the square brackets.
図6は、用語マスタの例を示す図である。 FIG. 6 is a diagram showing an example of a term master.
用語マスタは、複数の前記用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語との関連度を関連づけるマスタである。 The term master is a master that associates the degree of association with each of the other terms based on the degree of similarity of the concept with each of the other terms for each of the plurality of the terms.
図6の例では、用語マスタは、用語「肉や魚」と用語「アグー豚」との関連度が90であり、用語「肉や魚」と用語「熱湯や出汁」との関連度が20であり、用語「アグー豚」と用語「熱湯や出汁」との関連度が20であることを示している。なお、図6の例では、同一の用語が縦方向および横方向に配列されている。そのため、左上から右下に向かう対角線上にある欄は同一の用語(例えば用語「肉や魚」と用語「肉や魚」)との関連度に対応し、関連度が100となっている。また、この対角線に対し右上側と左下側との値は対称であるので、一方のみに値を記憶して他方を省略することが可能である。 In the example of FIG. 6, in the term master, the degree of association between the term "meat and fish" and the term "Agu pork" is 90, and the degree of association between the term "meat and fish" and the term "hot water and soup stock" is 20. It shows that the degree of association between the term "Agu pork" and the term "hot water and soup stock" is 20. In the example of FIG. 6, the same terms are arranged in the vertical direction and the horizontal direction. Therefore, the columns on the diagonal line from the upper left to the lower right correspond to the degree of association with the same term (for example, the term "meat or fish" and the term "meat or fish"), and the degree of association is 100. Further, since the values on the upper right side and the lower left side are symmetrical with respect to this diagonal line, it is possible to store the values in only one and omit the other.
用語マスタに記憶される他の各用語との関連度は、他の各用語との概念の類似度合いに基づいて他の各用語を並べたときの順位に応じて定められてもよい。類似度合いの順位に応じて関連度を定めることにより、取り扱う情報量が減少し、より効率的に処理を実行することができる。 The degree of relevance to each of the other terms stored in the term master may be determined according to the order in which the other terms are arranged based on the degree of similarity of the concept with each of the other terms. By determining the degree of relevance according to the order of the degree of similarity, the amount of information handled can be reduced and processing can be executed more efficiently.
例えば、用語「肉や魚」との類似度合いが、用語「アグー豚」は90、用語「熱湯や出汁」は20であるとする。このとき、用語「アグー豚」の順位は1位であり、用語「熱湯や出汁」の順位は2位である。用語の関連度を、(順位の合計−用語の順位)/順位の合計×100とすることにより、順位に応じて用語の関連度を定めることができる。なお、順位の合計とは、他の用語の数がnである場合の1+2+…+nの値である。 For example, it is assumed that the degree of similarity with the term "meat or fish" is 90 for the term "Agu pork" and 20 for the term "hot water or soup stock". At this time, the term "Agu pork" is ranked first, and the term "hot water and soup stock" is ranked second. By setting the degree of relevance of terms to (total rank-rank of terms) / total of rank x 100, the degree of relevance of terms can be determined according to the rank. The total rank is a value of 1 + 2 + ... + N when the number of other terms is n.
図6の例では、用語「肉や魚」と用語「アグー豚」との関連度は、(1+2−1)/(1+2)×100=67である。また、用語「肉や魚」と用語「熱湯や出汁」との関連度は、(1+2−2)/(1+2)×100=33である。 In the example of FIG. 6, the degree of association between the term “meat or fish” and the term “Agu pork” is (1 + 2-1) / (1 + 2) × 100 = 67. The degree of association between the term "meat and fish" and the term "hot water and soup stock" is (1 + 2-2) / (1 + 2) × 100 = 33.
上述以外の計算式により、順位に応じて関連度を定めるようにしてもよい。 The degree of relevance may be determined according to the order by a calculation formula other than the above.
また、関連度は、複数の用語ごとに、他の各用語との概念における距離に応じて定められる値であってもよい。概念における距離に応じて関連度を定めることにより、メニュー生成システム1は、用語間の関係をより適切に反映した関連度を用いて処理を実行することができる。
Further, the degree of relevance may be a value determined for each of a plurality of terms according to the distance in the concept of each of the other terms. By determining the degree of relevance according to the distance in the concept, the
まず、各用語の概念が所定の座標空間にマッピングされる。そして、用語の概念に対応する座標と他の各用語の概念に対応する座標との間の距離が算出される。用語マスタには、算出された距離に応じた値が関連度として記憶される。 First, the concept of each term is mapped to a predetermined coordinate space. Then, the distance between the coordinates corresponding to the concept of the term and the coordinates corresponding to the concept of each other term is calculated. In the term master, a value corresponding to the calculated distance is stored as the degree of relevance.
図7は、用語マスタにおける用語とカテゴリとの関連づけの例を示す図である。 FIG. 7 is a diagram showing an example of associating terms with categories in the term master.
図7に示す用語マスタは、複数の用語ごとに、他の用語との関連度に加えて、カテゴリとも関連づけている。カテゴリは、概念の類似度合いに基づいて定められるグループである。カテゴリはメニュー生成システム1の運営者が人為的に定めてもよく、座標空間にマッピングされた概念のうち距離の近いものをグループとして抽出してもよい。カテゴリを人為的に定めた場合、用語の概念とカテゴリとの対応関係は、人為的に設定される。
The term master shown in FIG. 7 associates each of a plurality of terms with a category in addition to the degree of association with other terms. A category is a group defined based on the degree of similarity of concepts. The category may be artificially determined by the operator of the
用語をカテゴリと関連づけた用語マスタを用いるメニュー生成システム1において、置換候補可変要素特定部232は、用語の関連度を、用語に関連づけられたカテゴリに基づいて求めることができる。例えば、用語「アグー豚」はカテゴリ「食材」「動物性」「豚肉」に関連づけられている。用語「肉や魚」も同様にカテゴリ「食材」「動物性」「豚肉」に関連づけられている。一方、用語「熱湯や出汁」はカテゴリ「食材」「動物性」「豚肉」に関連づけられておらず、他のカテゴリ「調味料」「旨味」に関連づけられている。この場合、用語「アグー豚」と同一のカテゴリに関連づけられる用語「肉や魚」は、用語「アグー豚」と異なるカテゴリに づけられる用語「熱湯や出汁」よりも、用語「アグー豚」との関連度が大きいと判定される。このように、用語に関連づけられたカテゴリの情報を用いることで、置換候補可変要素特定部232は、用語間の関連度をより効率的に判定することができる。
In the
図8は、カテゴリのツリー構造の例を示す図である。 FIG. 8 is a diagram showing an example of a tree structure of categories.
図8のツリー構造は、図7に示す用語マスタにおけるカテゴリに対応している。図8に示すように、カテゴリはツリー構造を形成し、L1〜L3の3階層を有するツリー構造におけるいずれかの階層に位置づけられている。すなわち、カテゴリ「食材」は階層L1に位置づけられている。また、カテゴリ「動物性」はカテゴリ「食材」の下位であり、階層L2に位置づけられている。同様に、カテゴリ「豚肉」はカテゴリ「動物性」の下位であり、階層L3に位置づけられている。このようにツリー構造を形成する2以上の階層のうちいずれかの階層に各カテゴリを位置づけることにより、置換候補可変要素特定部232は、用語の関連度をツリー構造に基づいて効率的に求めることができる。
The tree structure of FIG. 8 corresponds to the categories in the term master shown in FIG. As shown in FIG. 8, the categories form a tree structure and are positioned at any layer in the tree structure having three layers L1 to L3. That is, the category "foodstuff" is positioned in the hierarchy L1. Further, the category "animal" is a subordinate of the category "foodstuff" and is positioned in the hierarchy L2. Similarly, the category "pork" is subordinate to the category "animal" and is positioned in the hierarchy L3. By locating each category in one of the two or more hierarchies forming the tree structure in this way, the replacement candidate variable
置換候補可変要素特定部232は、一の用語が関連づけられるカテゴリの上位または下位の階層に位置づけられたカテゴリに関連づけられる用語を、その他のカテゴリに関連づけられる用語よりも、一の用語との関連度が大きいと判定してもよい。図8の例において、一の用語が階層L2に属するカテゴリ「植物性」に関連づけられているとする。この場合、置換候補可変要素特定部232は、カテゴリ「植物性」の上位カテゴリの「食材」または下位カテゴリ「穀類」に関連づけられる用語は、「動物性」、「調味料」といった他のカテゴリに関連づけられる用語よりも、一の用語との関連度が大きいと判定する。これにより、置換候補可変要素特定部232は、用語の関連度をツリー構造に基づいて適切に判定することができる。
The replacement candidate variable
また、置換候補可変要素特定部232は、一の用語が関連づけられるカテゴリからたどったときの階層の数が少ないカテゴリに関連づけられる可変要素ほど、一の用語との関連度が大きいと判定してもよい。
Further, even if the replacement candidate variable
図8の例において、カテゴリ「牛肉」に関連づけられる用語「米沢牛」を考える。用語「アグー豚」が関連づけられるカテゴリ「豚肉」は、「牛肉」→「動物性」→「豚肉」と、カテゴリ「牛肉」から2つの階層でたどることができる。一方、用語「聖護院大根」が関連づけられるカテゴリ「根菜類」は、「牛肉」→「動物性」→「食材」→「植物性」→「根菜類」と、カテゴリ「牛肉」から4つの階層でたどることができる。したがって、置換候補可変要素特定部232は、用語「米沢牛」と用語「アグー豚」との関連度は、用語「米沢牛」と用語「聖護院大根」との関連度よりも大きいと判定する。これにより、置換候補可変要素特定部232は、用語の関連度をツリー構造に基づいて適切に判定することができる。
In the example of FIG. 8, consider the term "Yonezawa beef" associated with the category "beef". The category "pork" to which the term "Agu pork" is associated can be traced in two levels from the category "beef": "beef"-> "animal"-> "pork". On the other hand, the category "root vegetables" to which the term "Shogoin radish" is associated is "beef"-> "animal"-> "ingredients"-> "vegetables"-> "root vegetables", and there are four levels from the category "beef". Can be traced. Therefore, the substitution candidate variable
ストレージ記憶部32は、ツリー構造を有しない用語マスタを記憶してもよい。ツリー構造を有しない用語マスタでは、図8に示すカテゴリ間の階層の上下関係は規定されていない。ツリー構造を有しない用語マスタでは、各用語にカテゴリをタグとして付与することにより、用語とカテゴリとの関連を規定することができる。 The storage storage unit 32 may store a term master having no tree structure. In the term master having no tree structure, the hierarchical relationship between the categories shown in FIG. 8 is not defined. In a term master that does not have a tree structure, it is possible to define the relationship between terms and categories by assigning categories to each term as tags.
置換候補可変要素特定部233は、追加用語が関連づけられるカテゴリのうち、より多くのカテゴリに関連づけられる可変要素を、追加用語との関連がより大きい可変要素として判定してもよい。
The replacement candidate variable
例えば、追加用語「アグー豚」は、カテゴリ「食材」「豚肉」に関連づけられている。可変要素「肉や魚」は、追加用語「アグー豚」が関連づけられるカテゴリ「食材」「豚肉」の2つに関連づけられている。一方、可変要素「熱湯や出汁」は、追加用語「アグー豚」が関連づけられるカテゴリに関連づけられていない。 For example, the additional term "Agu pork" is associated with the categories "ingredients" and "pork". The variable element "meat and fish" is associated with two categories, "foodstuff" and "pork", to which the additional term "Agu pork" is associated. On the other hand, the variable element "hot water and soup stock" is not associated with the category to which the additional term "Agu pork" is associated.
置換候補可変要素特定部233は、追加用語「アグー豚」が関連づけられるカテゴリのより多くに関連づけられている可変要素「肉や魚」を、より少ないカテゴリに関連づけられている「熱湯や出汁」よりも、追加用語「アグー豚」との関連度が大きいと判定する。
Substitution candidate variable
図9は、端末4の概略構成を示す模式図である。
FIG. 9 is a schematic diagram showing a schematic configuration of the
端末4は、ネットワーク5を介してサーバ2に接続し、サーバ2と通信を行う。端末4は、ユーザの入力操作に応じて、テンプレートの表示および追加用語の入力の受付を行う。そのために、端末4は、端末通信部41と、端末記憶部42と、端末操作部43と、端末表示部44と、端末処理部45とを備える。
The
なお、本実施形態では端末4として、パーソナルコンピュータ(Personal Computer, PC)を想定するが、実施形態はこれに限定されない。端末4は、例えば、多機能携帯電話(いわゆる「スマートフォン」)、携帯電話(いわゆる「フィーチャーフォン」)、携帯情報端末(Personal Digital Assistant, PDA)、携帯ゲーム機、携帯音楽プレーヤ、タブレット端末、タブレットPC、ノートPCなどの情報処理装置であってよい。また、端末4は、飲食店に設置され飲食店の関係者等に操作される店舗端末であってもよい。
In the present embodiment, a personal computer (PC) is assumed as the
端末通信部41は、通信インタフェース回路を備え、端末4をネットワーク5に接続する。端末通信部41は、端末処理部45から供給されたデータを、ネットワークを介してサーバ2等に送信する。また、端末通信部41は、ネットワークを介してサーバ2等から受信したデータを端末処理部45に供給する。
The
端末記憶部42は、例えば、半導体メモリ装置を備える。端末記憶部42は、端末処理部45での処理に用いられるオペレーティングシステムプログラム、ドライバプログラム、アプリケーションプログラム、データ等を記憶する。例えば、端末記憶部42は、ドライバプログラムとして、端末操作部43を制御する入力デバイスドライバプログラムや、端末表示部44を制御する出力デバイスドライバプログラム等を記憶する。また、端末記憶部42は、アプリケーションプログラムとして、受信したテンプレートを受信し、追加用語の入力を受け付ける追加用語指定画面を表示するための画面表示プログラム等を記憶する。また、端末記憶部42は、所定の処理にかかる一時的なデータを一時的に記憶してもよい。
The terminal storage unit 42 includes, for example, a semiconductor memory device. The terminal storage unit 42 stores operating system programs, driver programs, application programs, data, and the like used for processing in the
端末操作部43は、端末4の操作が可能であればどのようなデバイスでもよく、例えば、キーボードやマウス等である。ユーザは、端末操作部43を用いて、文字や数字、記号等を入力することができる。端末操作部43は、ユーザにより操作されると、その操作に対応する信号を発生する。そして、発生した信号は、ユーザの指示として端末処理部45に供給される。
The
端末表示部44は、映像や画像等の表示が可能であればどのようなデバイスでもよく、例えば、液晶ディスプレイや有機EL(Electro-Luminescence)ディスプレイ等である。端末表示部44は、端末処理部45から供給された映像データに応じた映像や、画像データに応じた画像等を表示する。
The
端末処理部45は、1以上のプロセッサおよびその周辺回路を備える。端末処理部45は、端末4の全体的な動作を統括的に制御するものであり、例えば、CPUである。端末処理部45は、端末4の各種処理が端末記憶部42に記憶されているプログラムや端末操作部43への操作等に基づいて適切な手段で実行されるように、端末通信部41や端末表示部44等の動作を制御する。端末処理部45は、端末記憶部42に記憶されているプログラム(オペレーティングシステムプログラム、ドライバプログラム、アプリケーションプログラム等)に基づいて処理を実行する。また、端末処理部45は、複数のプログラム(アプリケーションプログラム等)を並列に実行することができる。
The
端末処理部45は、少なくとも閲覧実行部451、端末送信部452等を備える。これらの各部は、端末処理部45が備えるプロセッサで実行されるプログラムにより実現される機能モジュールである。あるいは、これらの各部は、ファームウェアとして端末4に実装されてもよい。
The
本開示のメニュー生成システム1は、上述のハードウェア構成を採用することで、ユーザが指定する追加用語によりテンプレートに含まれる可変要素を置換して生成された置換テンプレートをユーザに提供するようサーバを制御する。本開示のメニュー生成システム1によると、所望の置換テンプレートを得るために必要なサーバ2と端末4との通信量およびサーバ2における処理時間を削減することができるため、効率的な情報処理が可能となる。
The
次に、図10および図11を参照して、サーバ2に接続された端末4の表示機能によって端末表示部44に表示される各表示画面の一例を説明する。
Next, with reference to FIGS. 10 and 11, an example of each display screen displayed on the
図10は、追加用語指定画面の例を示す図である。 FIG. 10 is a diagram showing an example of an additional term designation screen.
端末4は、サーバ2が送信する、テンプレートを含む追加用語指定画面表示データに基づいて、図10に示す追加用語指定画面100を端末表示部44に表示する。端末4のユーザは、追加用語指定画面100を参照して、追加用語を入力する。
The
追加用語指定画面100には、テンプレート表示欄101と、テンプレートリスト表示要求欄102と、追加用語入力欄103と、追加用語リスト表示要求欄104と、追加用語送信ボタン105とが含まれる。
The additional
テンプレート表示欄101は、サーバ2から受信したテンプレートを表示する欄である。ユーザは、テンプレート表示欄101に表示されたテンプレートを参照し、追加用語を指定する。
The
テンプレートリスト表示要求欄102は、テンプレートリストの表示を要求する欄である。テンプレートリスト表示要求欄102への所定の操作(例えばカーソルを位置づけて左クリック)を検出すると、端末4は、サーバ2にテンプレートリスト表示要求を送信し、受信したテンプレートリストを端末表示部44に表示する。テンプレートリストには、テンプレートマスタに記憶されるテンプレートが一覧表示される。テンプレートリストから選択されたテンプレートが、テンプレート表示欄101に表示される。
The template list
追加用語入力欄103は、ユーザによる入力を受け付けた追加用語が表示される欄である。図10では、ユーザが追加用語として「アグー豚」を入力した状態を示している。
The additional
追加用語リスト表示要求欄104は、追加用語リストの表示を要求する欄である。追加用語リスト表示要求欄104への所定の操作を検出すると、端末4は、サーバ2に追加用語リスト表示要求を送信し、受信した追加用語リストを端末表示部44に表示する。追加用語リストには、用語マスタに記憶される用語が一覧表示される。このとき、追加用語リストでは、用語をカテゴリごとに表示してもよい。また、検索キーワードの入力を受け付け、検索キーワードを含む、または、検索キーワードに関連する用語を表示するようにしてもよい。追加用語表示リストから選択された追加用語が、追加用語入力欄103に表示される。
The additional term list display request column 104 is a column for requesting the display of the additional term list. When the
追加用語送信ボタン105は、追加用語の送信を指示するボタンである。端末操作部43が追加用語送信ボタン105に対するユーザの所定の操作を検出すると、端末4は、端末通信部41を介して、追加用語入力欄103に入力された指定用語をサーバ2に送信する。
The additional
図11は、置換テンプレート表示画面の例を示す図である。 FIG. 11 is a diagram showing an example of a replacement template display screen.
端末4は、サーバ2が送信する、置換テンプレートを含む置換テンプレート表示画面表示データに基づいて、図11に示す置換テンプレート表示画面110を端末表示部44に表示する。端末4のユーザは、置換テンプレート表示画面110を参照して、置換テンプレートが適切に生成されているか否かを確認する。
The
置換テンプレート表示画面110には、置換テンプレート表示欄111と、置換テンプレート決定ボタン112と、置換テンプレート修正ボタン113とが含まれる。
The replacement
置換テンプレート表示欄111は、サーバ2から受信した置換テンプレートを表示する欄である。置換テンプレート表示欄111では、置換テンプレートが、テンプレートのうち追加用語により置換された部分とその他の部分とが異なる表示態様で表示される。これにより、ユーザは置換された部分を容易に視認することができる。図11の例では、置換された部分には下線を付して表示されている。
The replacement
置換テンプレート決定ボタン112は、置換テンプレート表示欄111に表示された置換テンプレートの内容の決定を指示するボタンである。端末操作部43が置換テンプレート決定ボタン112に対するユーザの所定の操作を検出すると、端末4は、端末通信部41を介して、置換テンプレートの決定を指示する置換テンプレート決定指示要求をサーバ2に送信する。置換テンプレート決定指示要求を受信したサーバ2は、決定した置換テンプレートをサーバ記憶部22の所定の領域に記憶し、他の用途での使用を可能にする。
The replacement
置換テンプレート修正ボタン113は、置換テンプレート表示欄111に表示された置換テンプレートの内容の修正を指示するボタンである。端末操作部43が置換テンプレート修正ボタン113に対するユーザの所定の操作を検出すると、端末4は、置換テンプレートの修正を行う置換テンプレート修正画面を端末表示部44に表示する。置換テンプレート修正画面での修正が完了すると、修正された置換テンプレートが置換テンプレート表示欄111に表示される。また、置換テンプレートは、置換テンプレート表示欄111に修正可能に表示されていてもよい。この場合、置換テンプレート修正ボタン113は省略可能である。
The replacement
図12は、メニュー生成システム1の動作シーケンス図である。
FIG. 12 is an operation sequence diagram of the
まず、端末4は、ネットワーク5を介してテンプレート要求を送信する(ステップS1)。テンプレート要求は、追加用語指定画面100のテンプレートリスト表示要求欄102への操作に応じて表示されるテンプレートリストからテンプレートを選択することにより送信される。テンプレート要求には、対象となるテンプレートに対応するテンプレート識別子が含まれる。
First, the
サーバ通信部21を介してテンプレート要求を受信したサーバ2のテンプレート送信部231は、対応するテンプレートをストレージ記憶部32に記憶されるテンプレートマスタから読み出し、サーバ通信部21を介して端末4に送信する(ステップS2)。
The
テンプレートを受信した端末4は、受信したテンプレートを端末表示部44に表示する(ステップS3)。ユーザは、表示されたテンプレートを参照し、追加用語の指定を行う。
The
端末4は、端末操作部43を介してユーザによる追加用語の指定を受け付ける(ステップS4)。そして、端末4は、受け付けた追加用語をサーバ2に送信する(ステップS5)。
The
サーバ2の追加用語受信部232がサーバ通信部21を介して追加用語を受信した場合、置換候補可変要素特定部233が置換候補変換要素を特定する(ステップS6)。置換候補可変要素特定部233は、ストレージ記憶部32に記憶された用語マスタを参照し、対象となるテンプレートに含まれる複数の可変要素について、受信した追加用語との関連度を取得する。そして、置換候補可変要素特定部233は、複数の可変要素についての追加用語との関連度を比較し、関連度が大きい可変要素を、置換候補可変要素として特定する。
When the additional
次に、サーバ2の置換テンプレート生成部234は、テンプレートに含まれる置換候補可変要素を追加用語で置き換えることにより置換テンプレートを生成する(ステップS7)。
Next, the replacement
続いて、サーバ2の置換テンプレート送信部235は、生成された置換テンプレートを、サーバ通信部21を介して端末4に送信する(ステップS8)。
Subsequently, the replacement
置換テンプレートを受信した端末4は、端末表示部44に置換テンプレートを表示する(ステップS9)。
The
以上詳述したとおり、メニュー生成システム1は、ユーザが指定する追加用語に基づいてテンプレートから適切に生成された置換テンプレートをユーザに提供する。
As described in detail above, the
なお、本実施形態を変形したメニュー生成システムも実施可能である。 A menu generation system that is a modification of this embodiment can also be implemented.
例えば、メニュー生成システムのある変形例では、動作シーケンスのステップS6において、置換候補可変要素特定部233は、複数の置換候補可変要素を特定してもよい。この場合、ステップS7において、置換テンプレート生成部234は、複数の置換候補可変要素のそれぞれを追加用語によって置き換えて、置換テンプレートを複数生成する。そして、ステップS8において、置換テンプレート送信部235は、生成した複数の置換テンプレートを端末4に送信する。
For example, in a modification of the menu generation system, in step S6 of the operation sequence, the replacement candidate variable
複数の置換テンプレートを受信した端末4は、ステップS9において、受信した複数の置換テンプレートを端末表示部44に表示する。そして、端末4は、ユーザによる置換テンプレートの選択を受け付ける。端末4は、端末操作部43を介して受け付けたユーザによる置換テンプレートの選択に対応する置換候補可変要素選択情報を、サーバ2に送信する。
The
サーバ通信部21を介して置換候補可変要素選択情報を受信したサーバ2は、受信した置換候補可変要素選択情報に基づいて、用語マスタにおける置換候補可変要素選択情報に対応する用語と追加用語との関連度を変更させる。
The
このようなメニュー生成システムは、用語マスタにおける用語間の関連度をユーザの選択に基づいて更新していくことができる。このとき、サーバ2は、置換候補可変要素選択情報に対応する用語と追加用語との関連度が大きくなるように変更することが好ましい。ユーザにより追加用語で置換すべきと選択された用語は、追加用語との関連度が大きいためである。
In such a menu generation system, the degree of relevance between terms in the term master can be updated based on the user's selection. At this time, it is preferable that the
また、メニュー生成システムの他の変形例では、テンプレートマスタは第1言語のテンプレートを第2言語のテンプレートと関連づけており、ストレージ記憶部32は第1言語の用語と第2言語の用語とを関連づける用語翻訳マスタを記憶していてもよい。 Further, in another modification of the menu generation system, the template master associates the template of the first language with the template of the second language, and the storage storage unit 32 associates the terms of the first language with the terms of the second language. The term translation master may be stored.
この場合、サーバ2のテンプレート送信部231は、ステップS2において第1言語のテンプレートを送信する。そして、サーバ2の追加用語受信部は、ステップS5において端末4から第1言語の追加用語を受信する。
In this case, the
サーバ2の置換テンプレート生成部234は、ステップS7において、第1言語のテンプレートに関連づけられた第2言語のテンプレートの置換候補可変要素を、第1言語の追加用語に関連づけられた第2言語の用語により置き換える。そして、サーバ2の置換テンプレート送信部235は、生成された置換テンプレートを端末4に送信する。
In step S7, the replacement
このようなメニュー生成システムによると、ユーザは第1言語でテンプレートおよび追加用語を指定することにより、適切に生成された第2言語の置換テンプレートを得ることができる。 According to such a menu generation system, the user can obtain a properly generated replacement template for the second language by specifying the template and additional terms in the first language.
ここまで説明した実施形態では、サーバ2は飲食店で提供される料理のメニューまたは説明文に関するテンプレートに基づいて置換テンプレートを生成する。しかし、本出願にかかるサーバにおいて、記憶部に記憶されるテンプレートは、料理のメニューまたは説明文に関するものに限定されない。
In the embodiments described so far, the
例えば、サーバ2は店舗やウェブ上で提供される商品の情報に関するテンプレートに基づいて置換テンプレートを生成してもよい。商品以外にもアイテムに関する説明であれば本発明は適用できる。
For example, the
記憶部に記憶されるテンプレートマスタには、「[東京]地方で[地震]が発生しました」といった災害情報の告知に関するテンプレートが規定されていてもよい。このとき、用語マスタには、概念の類似度に基づいて、「東京」「千葉」「地震」「台風」といった用語の関連度が関連づけられる。そして、追加用語「千葉」を受信した場合、サーバは、上述の制御方法に従って用語「千葉」との関連度が大きい置換候補可変要素[東京]を特定し、適切な置換テンプレート「千葉地方で地震が発生しました」を生成する。 The template master stored in the storage unit may specify a template for notification of disaster information such as "[earthquake] has occurred in the [Tokyo] district". At this time, the term master is associated with the relevance of terms such as "Tokyo", "Chiba", "earthquake", and "typhoon" based on the similarity of concepts. Then, when the additional term "Chiba" is received, the server identifies the replacement candidate variable element [Tokyo] that is highly relevant to the term "Chiba" according to the above control method, and the appropriate replacement template "Earthquake in the Chiba region". Has occurred. "
当業者は、本発明の精神および範囲から外れることなく、種々の変更、置換および修正をこれに加えることが可能であることを理解されたい。 It will be appreciated by those skilled in the art that various changes, substitutions and modifications can be made to this without departing from the spirit and scope of the invention.
1 メニュー生成システム
2 サーバ
231 テンプレート送信部
232 追加用語受信部
233 置換候補可変要素特定部
234 置換テンプレート生成部
235 置換テンプレート送信部
3 ストレージ装置
4 端末
5 ネットワーク
1
Claims (11)
前記記憶部には、
1以上の用語で構成される複数の可変要素を含むテンプレートが規定されるテンプレートマスタと、
複数の前記用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語との関連度を関連づける用語マスタと、が記憶され、
前記サーバが、
前記端末からの要求に応じて前記テンプレートマスタに規定された前記テンプレートを前記端末に送信し、
前記テンプレートに含まれる前記可変要素を置き換えるための追加用語を前記端末から受信し、
前記テンプレートに含まれる複数の前記可変要素のうち、前記用語マスタにおいて、受信した前記追加用語との関連度が大きい可変要素を置換候補可変要素として特定し、
前記テンプレートに含まれる前記置換候補可変要素を前記追加用語で置き換えることにより置換テンプレートを生成し、
生成された前記置換テンプレートを前記端末に送信する、
ことを含むサーバの制御方法。 A method of controlling a server that can be connected to a storage unit and a terminal.
In the storage unit
A template master that defines a template that includes a plurality of variable elements composed of one or more terms, and
For each of the plurality of terms, a term master that associates the degree of relevance with each of the other terms based on the degree of similarity of the concept with each of the other terms is stored.
The server
In response to a request from the terminal, the template specified in the template master is transmitted to the terminal.
Receiving additional terms from the terminal to replace the variable element contained in the template,
Among the plurality of variable elements included in the template, in the term master, a variable element having a high degree of relevance to the received additional term is specified as a replacement candidate variable element.
A replacement template is generated by replacing the replacement candidate variable element included in the template with the additional term.
Send the generated replacement template to the terminal,
How to control the server, including that.
前記サーバは、前記特定において、前記追加用語が関連づけられるカテゴリと同一のカテゴリに関連づけられる可変要素を、前記追加用語が関連づけられるカテゴリと同一のカテゴリに関連づけられない可変要素よりも前記追加用語との関連度が大きい可変要素と判定する、請求項1に記載の制御方法。 The term master associates a plurality of the terms with a plurality of categories, which is a group defined based on the degree of similarity of concepts.
In the particular case, the server refers to a variable element associated with the same category as the category with which the additional term is associated rather than a variable element associated with the same category as the category with which the additional term is associated. The control method according to claim 1, wherein the variable element has a high degree of relevance.
複数の前記置換候補可変要素を特定し、複数の前記置換候補可変要素のそれぞれを前記追加用語によって置き換えた前記置換テンプレートを複数生成し、生成した複数の前記置換テンプレートを前記端末に送信し、
前記複数の置換テンプレートのうちいずれか1つに対応する置換候補可変要素選択情報を前記端末から受信し、
受信した前記置換候補可変要素選択情報に基づいて、前記置換候補可変要素選択情報に対応する用語と前記追加用語との関連度を変動させる、請求項1ないし8のいずれか一項に記載の制御方法。 The server
A plurality of the replacement candidate variable elements are specified, a plurality of the replacement templates in which each of the plurality of replacement candidate variable elements is replaced by the additional term are generated, and the generated plurality of the replacement templates are transmitted to the terminal.
The replacement candidate variable element selection information corresponding to any one of the plurality of replacement templates is received from the terminal, and the replacement candidate variable element selection information is received from the terminal.
The control according to any one of claims 1 to 8, which changes the degree of association between the term corresponding to the replacement candidate variable element selection information and the additional term based on the received replacement candidate variable element selection information. Method.
前記記憶部には、
複数の用語を可変要素として含むテンプレートが規定されるテンプレートマスタと、
複数の前記用語ごとに、他の各用語との概念の類似度合いに基づく他の用語の関連度を関連づける用語マスタと、が記憶され、
前記端末からの要求に応じて前記テンプレートマスタに規定された前記テンプレートを前記端末に送信するテンプレート送信部と、
前記テンプレートに含まれる前記可変要素を置き換えるための追加用語を前記端末から受信する追加用語受信部と、
前記テンプレートに含まれる複数の前記可変要素のうち、前記用語マスタにおいて、受信した前記追加用語との関連度が大きい可変要素を置換候補可変要素として特定する置換候補可変要素特定部と、
前記テンプレートに含まれる前記置換候補可変要素を前記追加用語で置き換えることにより置換テンプレートを生成する置換テンプレート生成部と、
生成された前記置換テンプレートを前記端末に送信する置換テンプレート送信部と、
を備えるサーバ。 A server that can connect to a storage unit and a terminal.
In the storage unit
A template master that defines a template that contains multiple terms as variable elements,
For each of the plurality of terms, a term master that associates the degree of relevance of other terms based on the degree of concept similarity with each other term is stored.
A template transmission unit that transmits the template specified in the template master to the terminal in response to a request from the terminal.
An additional term receiver that receives additional terms from the terminal to replace the variable element included in the template, and
Among the plurality of variable elements included in the template, a replacement candidate variable element specifying unit that specifies a variable element having a high degree of relevance to the received additional term as a replacement candidate variable element in the term master.
A replacement template generation unit that generates a replacement template by replacing the replacement candidate variable element included in the template with the additional term.
A replacement template transmission unit that transmits the generated replacement template to the terminal,
Server with.
前記記憶部には、
複数の用語を可変要素として含むテンプレートが規定されるテンプレートマスタと、
複数の前記用語ごとに、他の各用語との概念の類似度合いに基づく他の各用語の関連度を関連づける用語マスタと、が記憶され、
前記サーバに、
前記端末からの要求に応じて前記テンプレートマスタに規定された前記テンプレートを前記端末に送信し、
前記テンプレートに含まれる前記可変要素を置き換えるための追加用語を前記端末から受信し、
前記テンプレートに含まれる複数の前記可変要素のうち、前記用語マスタにおいて、受信した前記追加用語との関連度が大きい可変要素を置換候補可変要素として特定し、
前記テンプレートに含まれる前記置換候補可変要素を前記追加用語で置き換えることにより置換テンプレートを生成し、
生成された前記置換テンプレートを前記端末に送信する、
処理を実行させることを特徴とするサーバの制御プログラム。 A server control program that can connect to a storage unit and a terminal.
In the storage unit
A template master that defines a template that contains multiple terms as variable elements,
For each of the plurality of terms, a term master that associates the degree of relevance of each of the other terms based on the degree of concept similarity with each of the other terms is stored.
To the server
In response to a request from the terminal, the template specified in the template master is transmitted to the terminal.
An additional term for replacing the variable element contained in the template is received from the terminal and
Among the plurality of variable elements included in the template, in the term master, a variable element having a high degree of relevance to the received additional term is specified as a replacement candidate variable element.
A replacement template is generated by replacing the replacement candidate variable element included in the template with the additional term.
Send the generated replacement template to the terminal,
A server control program characterized by executing processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019027334A JP7167765B2 (en) | 2019-02-19 | 2019-02-19 | Server control method, server, and server control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019027334A JP7167765B2 (en) | 2019-02-19 | 2019-02-19 | Server control method, server, and server control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020135354A true JP2020135354A (en) | 2020-08-31 |
JP7167765B2 JP7167765B2 (en) | 2022-11-09 |
Family
ID=72278646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019027334A Active JP7167765B2 (en) | 2019-02-19 | 2019-02-19 | Server control method, server, and server control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7167765B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10320388A (en) * | 1997-05-16 | 1998-12-04 | Dainippon Screen Mfg Co Ltd | Text preparation device and method therefor and dictionary registration method and recording medium |
JP2000242637A (en) * | 1999-02-23 | 2000-09-08 | Fujitsu Ltd | Information processor and storage medium |
JP2017016558A (en) * | 2015-07-06 | 2017-01-19 | 株式会社オービックビジネスコンサルタント | Information processing device, information processing method, and program |
-
2019
- 2019-02-19 JP JP2019027334A patent/JP7167765B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10320388A (en) * | 1997-05-16 | 1998-12-04 | Dainippon Screen Mfg Co Ltd | Text preparation device and method therefor and dictionary registration method and recording medium |
JP2000242637A (en) * | 1999-02-23 | 2000-09-08 | Fujitsu Ltd | Information processor and storage medium |
JP2017016558A (en) * | 2015-07-06 | 2017-01-19 | 株式会社オービックビジネスコンサルタント | Information processing device, information processing method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP7167765B2 (en) | 2022-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105260420B (en) | A kind of method and apparatus for the offer target pages in mobile application | |
US20160210678A1 (en) | Systems for generating a global product taxonomy | |
JP6790413B2 (en) | Menu generation system, menu generation method and menu generation program | |
JP6635843B2 (en) | Menu generation system, menu generation method, and menu generation program | |
WO2017018410A1 (en) | Meal content provision method, information processing device, and meal content provision program | |
US10055496B2 (en) | Cuisine search device, cuisine search method, program, and computer-readable storage medium | |
WO2017168241A1 (en) | Menu information providing system, menu information providing method, and non-transitory computer-readable storage medium storing menu information providing program | |
KR20220153044A (en) | Menu generation system | |
KR20140094058A (en) | Method and system for managing food service business using the space web | |
US20210287270A1 (en) | Information processing system, information processing method, and non-transitory computer-readable storage medium storing program | |
JP7167765B2 (en) | Server control method, server, and server control program | |
US20160378871A1 (en) | Generating Search Results Using Current Software Application States | |
TWI717725B (en) | Menu generation system, menu generation method, and non-transitory computer-readable storage medium storing menu generation program | |
JP6866615B2 (en) | Menu generation system, menu generation method and menu generation program | |
JP7127324B2 (en) | Information processing device, information processing method and program | |
JP6537756B1 (en) | Server control method, server, and server control program | |
JP7147215B2 (en) | Information processing device, information processing method and program | |
JP2020061083A (en) | Control method of server, server, and control program of server | |
JP2020024490A (en) | Information processing device, information processing method, program, and storage medium | |
JP7040291B2 (en) | Server control methods, servers, and server control programs | |
JP2019160224A (en) | Menu planning system, method and program | |
JP7025507B2 (en) | Network servers and methods for providing web pages to user terminals | |
JP2018165895A (en) | Multilingual translation system, multilingual translation method and multilingual translation program | |
JP7069979B2 (en) | Server control methods, servers, and server control programs | |
JP2016062329A (en) | Information providing device and information providing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211110 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220920 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220927 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221010 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7167765 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |