TW201939424A - Method and system for recommending cuisine food according to personal emotion for analyzing the current emotion of a user and recommending a cuisine food complementary to the emotion of the user - Google Patents

Method and system for recommending cuisine food according to personal emotion for analyzing the current emotion of a user and recommending a cuisine food complementary to the emotion of the user Download PDF

Info

Publication number
TW201939424A
TW201939424A TW107108824A TW107108824A TW201939424A TW 201939424 A TW201939424 A TW 201939424A TW 107108824 A TW107108824 A TW 107108824A TW 107108824 A TW107108824 A TW 107108824A TW 201939424 A TW201939424 A TW 201939424A
Authority
TW
Taiwan
Prior art keywords
recipe
emotion
server
user
text
Prior art date
Application number
TW107108824A
Other languages
Chinese (zh)
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 TW107108824A priority Critical patent/TW201939424A/en
Publication of TW201939424A publication Critical patent/TW201939424A/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a method and a system for recommending cuisine food according to personal emotion, with which subjective and objective manners are applied to analyze emotions of a user and food. The subjective manner includes retrieving and analyzing dynamic posts published in a social medium by the user in order to acquire the category of the current emotion of the user. The objective manner includes analyzing the category of emotion of a food image. By using the subjective and objective manners to establish an emotion recipe, a cuisine food that is complementary to the emotion of the user is recommended according to the current feelings condition of the user.

Description

依照個人情緒推薦料理食物的方法及系統Method and system for recommending food according to personal mood

本發明關於一種推薦料理食物的方法及系統,特別是指一種先行分析使用者當下情緒狀態後,再推薦與其情緒互補食譜的方法及系統。The present invention relates to a method and system for recommending cooking food, in particular to a method and system for analyzing a user's current emotional state before recommending a recipe complementary to the user's emotion.

在網路資訊發達的現代,人們生活中的物品種類越來越豐富。在現階段,各種應用程式都有類似的商品推薦系統,推薦系統通常基於用戶或用戶相關人群的歷史數據來做為源數據分析並得出最終的推薦列表,將推薦列表中的產品信息提供給用戶。In the modern era of Internet information, the types of items in people's lives are becoming more and more abundant. At this stage, various applications have similar product recommendation systems. The recommendation system usually analyzes the source data based on the historical data of the user or the relevant group of users and derives the final recommendation list. The product information in the recommendation list is provided to user.

以食物為例,目前市面上有大量的膳食推薦類型的應用軟體,一般以食物、距離進行搜索後尋找符合條件之餐館,然後根據民眾或部落客的食記、評分進行推薦。這樣的推薦方式好處在於,具有照片、圖檔的食記可以讓消費者了解餐廳內部資訊、菜單、菜色等,消費者在選擇時有更佳的參考資料。Take food as an example. Currently, there are a large number of applications for meal recommendation types on the market. Generally, you search for food and distance to find a restaurant that meets the conditions, and then make recommendations based on the people's or blogger's food reviews and ratings. The advantage of this recommendation method is that the food notes with photos and pictures can let consumers understand the restaurant's internal information, menus, dishes, etc., and consumers have better reference materials when choosing.

然而,現有的膳食推薦類型的應用軟體僅根據歷史記錄來推薦餐廳,沒有充分地利用各種可用的技術來獲取用戶的行為和反應信息,不能很好地確定用戶的需求意向。並且,在食安因素的影響,人們越來越關注健康飲食,由於在外用餐無法確定食材、烹飪過程是否有瑕疵,越來越多人選擇自行下廚,而現有的料理食譜多只是料理的程序步驟,並未根據使用者當下的身心狀況(例如負面情緒下),推薦與其負面情緒互補的料理食譜。However, the existing meal recommendation type application software only recommends restaurants based on historical records, and does not make full use of various available technologies to obtain user behavior and response information, and cannot well determine user demand intentions. In addition, under the influence of food safety factors, people are paying more and more attention to healthy eating. As it is impossible to determine the ingredients and cooking process when eating out, more and more people choose to cook by themselves, and the existing cooking recipes are mostly just cooking procedures The steps do not recommend cooking recipes that are complementary to the user ’s negative emotions based on the user ’s current physical and mental conditions (such as under negative emotions).

因此,如何提供一種依照個人身心狀況推薦適合的料理食譜,在使用者自行下廚的同時,有效的撫慰其心靈,改善負面情緒造成的不良影響,是目前需要解決的問題。Therefore, how to provide a suitable cooking recipe according to the physical and mental conditions of the user, while the user cooks himself, effectively soothe his soul and improve the negative effects caused by negative emotions is a problem that needs to be solved at present.

本創作的目的在於提供一種依照個人情緒推薦料理食物的方法,先行分析使用者當下情緒狀態後,再推薦與其情緒互補食譜。在使用者根據食譜進行料理的同時,可有效的撫慰其心靈,改善負面情緒造成的不良影響。The purpose of this creation is to provide a method of recommending food according to personal emotions. After analyzing the user's current emotional state, he recommends recipes that complement his emotions. While the user is cooking according to the recipe, it can effectively soothe his mind and improve the adverse effects caused by negative emotions.

為了達到上述目的,本創作係採取以下之技術手段予以達成,其中,本創作提供一種依照個人情緒推薦料理食物的方法,包括下列步驟:a提供一智慧型裝置、一伺服器以及一社交網路媒體,該智慧型裝置包括一應用程式,該應用程式與該伺服器電訊連接,該伺服器包括一斷詞模組以及一運算模組,該社交網路媒體具有複數個動態資訊。b一使用者利用該應用程式登入該社交網路媒體。c該使用者給予該應用程式一權限,該權限使該應用程式以該伺服器抓取該使用者於該社交網路媒體上的動態資訊。d該斷詞模組將該動態資訊進行一斷詞分析形成相對應的一字詞表。e該運算模組利用一文本情緒辨識演算法分析該字詞表,取得該動態資訊的一情緒類別。f該運算模組利用一食譜情緒辨識演算法尋找與該情緒類別匹配的一食譜。g提供該食譜給該使用者。In order to achieve the above purpose, this creation adopts the following technical means to achieve it. Among them, this creation provides a method for recommending food according to personal emotions, including the following steps: a providing a smart device, a server and a social network Media, the smart device includes an application program, which is in telecommunication connection with the server, the server includes a word segmentation module and a computing module, and the social network media has a plurality of dynamic information. b A user uses the application to log in to the social network media. c The user gives the application a permission, which allows the application to use the server to capture the user's dynamic information on the social network media. d The word segmentation module performs a word segmentation analysis on the dynamic information to form a corresponding one-word word list. e The computing module analyzes the vocabulary by using a text emotion recognition algorithm to obtain an emotion category of the dynamic information. f The computing module uses a recipe emotion recognition algorithm to find a recipe that matches the emotion category. gProvide the recipe to the user.

在本創作一實施例中,其中該文本情緒辨識演算法如下列公式所示:; 其中,為該字詞表內其中一個字詞,為情緒類別,為一函數,用以計算出現在該情緒類別的次數,為出現在該情緒類別所有的字,在情緒類別出現的機率。In an embodiment of the present invention, the text emotion recognition algorithm is shown in the following formula: ; among them, Is one of the words in the glossary, Is the emotion category, Is a function used to calculate The number of times it appears in that emotion category, For all words that appear in that mood category, for In mood category Probability of appearance.

在本創作一實施例中,其中該步驟e之後更包括下列步驟:e1將該文本情緒辨識演算法分析結果儲存至一文本情緒語料庫,並持續更新該文本情緒語料庫以增加分析時的精準度。In an embodiment of the present invention, after step e, the method further includes the following steps: e1 stores the analysis result of the text emotion recognition algorithm into a text emotion corpus, and continuously updates the text emotion corpus to increase the accuracy during analysis.

在本創作一實施例中,其中該食譜情緒辨識演算法針對食物圖像進行分析,計算出食物圖像之情緒,其分析因素包括顏色(Colors)、材質(Texture)、組成(Composition)的細緻程度、低景深、動態範圍等、內容(Content)上述的任意組合。In an embodiment of the present invention, the recipe emotion recognition algorithm analyzes the food image to calculate the emotion of the food image. The analysis factors include the details of Colors, Texture, and Composition. Degree, low depth of field, dynamic range, etc., any combination of the above.

在本創作一實施例中,其中該步驟f之後更包括下列步驟:f1將該食譜情緒辨識演算法計算結果儲存至一情緒食譜語料庫,並持續更新該情緒食譜語料庫以增加分析時的精準度。In an embodiment of the present invention, the step f further includes the following steps: f1 stores the calculation result of the recipe emotion recognition algorithm into an emotional recipe corpus, and continuously updates the emotional recipe corpus to increase the accuracy during analysis.

在本創作一實施例中,其中該步驟g之後更包括下列步驟:g1 該使用者透過該應用程式反饋該食譜的一情緒分數。In an embodiment of the present invention, the step g further includes the following steps: g1 The user reports an emotional score of the recipe through the application.

本創作還提供一種依照個人情緒推薦料理食物的系統,包括:一伺服器、一智慧型裝置以及一社交網路媒體。該伺服器包括一斷詞模組以及一運算模組。該智慧型裝置包括一應用程式,該應用程式與該伺服器電訊連接。該社交網路媒體具有複數個使用者的複數個動態資訊。其中,一使用者可利用該應用程式登入該社交網路媒體,並授權該應用程式以該伺服器抓取該使用者於該社交網路媒體上的動態資訊,該伺服器利用該斷詞模組將該動態資訊進行一斷詞分析形成一字詞表,該伺服器利用該運算模組利用一文本情緒辨識演算法分析該字詞表,取得該動態資訊的一情緒類別,該伺服器利用該運算模組利用一食譜情緒辨識演算法尋找與該情緒類別匹配的一食譜,以及該伺服器將該食譜傳送至該應用程式。This creation also provides a system for recommending food according to personal emotions, including: a server, a smart device, and a social network media. The server includes a word segmentation module and a computing module. The smart device includes an application program, and the application program is in telecommunication connection with the server. The social network media has a plurality of dynamic information of a plurality of users. A user can use the application to log in to the social network media and authorize the application to use the server to capture the user's dynamic information on the social network media. The server uses the word segmentation mode The group performs a word segmentation analysis on the dynamic information to form a vocabulary, and the server uses the computing module to analyze the vocabulary using a text emotion recognition algorithm to obtain an emotional category of the dynamic information. The server uses The computing module uses a recipe emotion recognition algorithm to find a recipe matching the emotion category, and the server sends the recipe to the application.

在本創作一實施例中,該應用程式更包括一食譜產生模組,該食譜產生模組用以產生一個人化食譜;該食譜產生模組包括一錄影單元以及一文本編輯單元,使用者可透過該錄影單元錄製或該文本編輯單元製作一個人化食譜,該個人化食譜還包括一自定義情緒,該應用程式將該個人化食譜傳送至該伺服器儲存。In an embodiment of the present invention, the application program further includes a recipe generation module for generating a personalized recipe; the recipe generation module includes a video recording unit and a text editing unit. The video recording unit or the text editing unit creates a personalized recipe. The personalized recipe also includes a custom mood. The application sends the personalized recipe to the server for storage.

在本創作一實施例中,該伺服器將該個人化食譜儲存至一個人化食譜資料庫,該運算模組解析該個人化食譜並透過該食譜情緒辨識演算法運算過後,將運算結果儲存至一情緒食譜語料庫。In an embodiment of the present invention, the server stores the personalized recipe in a personalized recipe database, and the computing module parses the personalized recipe and calculates it through the recipe emotion recognition algorithm, and then stores the computing result in a Corpus of mood recipes.

在本創作一實施例中,該伺服器透過網際網路不定期的抓取任意食譜的文本資訊,該伺服器利用該斷詞模組將該任意食譜的文本資訊進行斷詞分析形成一第二字詞表,該伺服器利用該文本情緒辨識演算法分析該第二字詞表,取得該動態資訊的一第二情緒類別,以及該伺服器將該文本情緒辨識演算法分析結果儲存至一文本情緒語料庫,並持續更新該文本情緒語料庫以增加分析時的精準度。In an embodiment of the present invention, the server occasionally captures text information of any recipe through the Internet, and the server uses the word segmentation module to perform word segmentation analysis on the text information of any recipe to form a second Word list, the server analyzes the second word list using the text emotion recognition algorithm to obtain a second emotion category of the dynamic information, and the server stores the analysis result of the text emotion recognition algorithm into a text The emotional corpus, and the text emotional corpus is continuously updated to increase the accuracy of the analysis.

為達成上述目的及功效,本創作所採用之技術手段及構造,茲繪圖就本創作較佳實施例詳加說明其特徵與功能如下,俾利完全了解,但須注意的是,該等內容不構成本發明的限定。In order to achieve the above-mentioned purpose and effect, the technical means and structure used in this creation, here are some details about the features and functions of the preferred embodiment of this creation. I fully understand it, but it must be noted that these contents are not This constitutes the limitation of the present invention.

請同時參閱圖1及圖2所示,其為本創作依照個人情緒推薦料理食物的方法較佳實施例之方法流程圖以及系統方塊圖。本創作提供一種依照個人情緒推薦料理食物的方法,包括下列步驟:Please refer to FIG. 1 and FIG. 2 at the same time, which are a method flowchart and a system block diagram of a preferred embodiment of a method for recommending cooking food according to personal emotions. This creation provides a method of recommending food according to personal emotions, including the following steps:

步驟100:提供一智慧型裝置 1、一伺服器 2以及一社交網路媒體 3。智慧型裝置 1可為一般常見的智慧型手機、平板電腦或筆記型電腦,但不限於此。該智慧型裝置 1包括一應用程式 11,該應用程式 11與該伺服器 2電訊連接,其為依照情緒理論設計的料理食譜應用程式,具有影音播放、錄製、編輯功能以及可與社群軟體分享料理食譜功能。該伺服器 2為一後台伺服器,其至少包括一斷詞模組 21、一運算模組 22以及複數個資料庫,該社交網路媒體 3可以為臉書 (Facebook)、推特 (Twitter)、微博 (Weibo)或IG (Instagram)等社群媒體,該社交網路媒體 3具有複數個使用者所發布的複數個動態資訊。Step 100: Provide a smart device 1, a server 2 and a social network media 3. The smart device 1 may be a common smartphone, tablet, or notebook, but is not limited thereto. The smart device 1 includes an application 11 which is connected to the server 2 by telecommunications. The application 11 is a cooking recipe application designed according to the theory of emotions. Cooking recipe function. The server 2 is a background server, which includes at least a word segmentation module 21, an operation module 22, and a plurality of databases. The social network media 3 may be Facebook, Twitter, etc. Social media such as Weibo, Weibo or IG (Instagram), the social network media 3 has multiple dynamic information posted by multiple users.

步驟110:一使用者利用該應用程式 11登入該社交網路媒體 3。該應用程式 11具有社群登入功能,可與社交網路媒體 3連結。Step 110: A user uses the application 11 to log in to the social network media 3. The application 11 has a community login function and can be connected to social network media 3.

步驟120:該使用者給予該應用程式 11一權限,使該伺服器 2抓取該使用者於該社交網路媒體 3上的動態資訊。所述權限使該應用程式 11以該伺服器 2抓取該使用者於該社交網路媒體 3上發布的動態資訊。使用者登入該社交網路媒體 3後可授權該應用程式 11透過後台伺服器抓取該使用者當日或近期於社交網路媒體 3的發文、留言等動態資訊。Step 120: The user gives the application 11 a permission to enable the server 2 to capture the user's dynamic information on the social network media 3. The permission enables the application 11 to use the server 2 to capture dynamic information posted by the user on the social network media 3. After logging in the social network media 3, the user can authorize the application 11 to capture the dynamic information of the user's post or comment on the social network media 3 on the same day or recently.

步驟130:將該動態資訊進行一斷詞分析形成相對應的一字詞表。該斷詞模組 21利用網路常見的中文斷詞工具進行斷詞分析,例如CKIP斷詞工具、結巴斷詞工具等。斷詞分析可針對動態資訊分別進行斷詞,篩選出有意義的字詞而產生複數個字詞表。每一個字詞表分別對應不同之動態資訊,其包括該動態資訊之字詞、字數、詞性、出現頻度以及小圖示(icon)。Step 130: Perform a hyphenation analysis on the dynamic information to form a corresponding one-word vocabulary. The word segmentation module 21 utilizes Chinese word segmentation tools commonly used on the Internet for word segmentation analysis, such as the CKIP word segmentation tool and the stuttered word segmentation tool. Hyphenation analysis can perform hyphenation on dynamic information, filter out meaningful words, and generate multiple word lists. Each word list corresponds to different dynamic information, which includes the word, number of words, part of speech, frequency of occurrence, and small icon of the dynamic information.

步驟140:利用一文本情緒辨識演算法分析該字詞表,取得該動態資訊的一情緒類別。該運算模組 22利用文本情緒辨識演算法分析該字詞表,取得該動態資訊的一情緒類別,所述情緒類別包括喜悅、快樂、平靜、驚訝、喜歡、安心、沮喪、憤怒、傷心,但不限於此。較佳的,該情緒類別更包括一分數或權重百分比以更加精確的表示該情緒類別的屬性。該文本情緒辨識演算法採用單純貝氏分類器 (naive Bayes classifier) 來構建分類並透過拉普拉斯平滑處理(Laplace Smoothing)來避免零概率問題。其中,文本情緒辨識演算法如公式(1)所示:; (1) 其中,為該字詞表內其中一個字詞,為情緒類別,為一函數,用以計算出現在該情緒類別的次數,為出現在該情緒類別所有的字,在情緒類別出現的機率。Step 140: Analyze the word list using a text emotion recognition algorithm to obtain an emotion category of the dynamic information. The arithmetic module 22 analyzes the word list using a text emotion recognition algorithm to obtain an emotional category of the dynamic information. The emotional category includes joy, joy, calm, surprise, like, peace of mind, depression, anger, sadness, Not limited to this. Preferably, the emotion category further includes a score or weight percentage to more accurately represent the attributes of the emotion category. The text sentiment recognition algorithm uses a simple Bayes classifier to construct the classification and avoids the zero probability problem through Laplace Smoothing. Among them, the text emotion recognition algorithm is shown in formula (1): ; (1) where Is one of the words in the glossary, Is the emotion category, Is a function used to calculate The number of times it appears in that emotion category, For all words that appear in that mood category, for In mood category Probability of appearance.

在本創作一實施例中,步驟140之後更包括步驟141:將該文本情緒辨識演算法分析結果儲存至一文本情緒語料庫 23,並持續更新該文本情緒語料庫 23以增加分析時的精準度。In an embodiment of the present invention, after step 140, step 141 is further included: the analysis result of the text emotion recognition algorithm is stored in a text emotion corpus 23, and the text emotion corpus 23 is continuously updated to increase the accuracy during analysis.

步驟150:利用一食譜情緒辨識演算法尋找與該情緒類別匹配的一食譜。取得該使用者當日或近期的情緒類別後,該運算模組 22利用該食譜情緒辨識演算法進行運算,尋找出與該情緒類別匹配的食譜。Step 150: Use a recipe emotion recognition algorithm to find a recipe matching the emotion category. After obtaining the current or recent emotion category of the user, the computing module 22 uses the recipe emotion recognition algorithm to perform calculations to find a recipe matching the emotion category.

在本創作一實施例中,步驟150之後更包括步驟151:將該食譜情緒辨識演算法計算結果儲存至一情緒食譜語料庫 24,並持續更新該情緒食譜語料庫 24以增加分析時的精準度。值得一提的是,食譜情緒辨識演算法可針對食物圖像進行分析後,計算出食物圖像之情緒分數,其分析因素包括顏色(Colors)、材質(Texture)、組成(Composition)的細緻程度、低景深、動態範圍等、內容(Content)等。In an embodiment of the present invention, after step 150, step 151 is further included: the calculation result of the recipe emotion recognition algorithm is stored in an emotional recipe corpus 24, and the emotional recipe corpus 24 is continuously updated to increase the accuracy during analysis. It is worth mentioning that the recipe emotion recognition algorithm can analyze the food image and calculate the emotion score of the food image. The analysis factors include the fineness of Colors, Texture, and Composition. , Low depth of field, dynamic range, etc., Content, etc.

步驟160:提供該食譜給該使用者。Step 160: Provide the recipe to the user.

在本創作一實施例中,步驟160之後更包括步驟161:該使用者透過該應用程式 11反饋該食譜的一情緒分數。該應用程式 11可更包括一反饋單元,當該使用者收倒該食譜後,可以根據自身的感受給予該食譜評分,透過該反饋單元輸入情緒分數,提供該伺服器 2後續計算情緒類別時的參考資訊。In an embodiment of the present invention, after step 160, step 161 is further included: the user feedbacks an emotional score of the recipe through the application 11. The application program 11 may further include a feedback unit. After the user accepts the recipe, the user can give a score to the recipe according to his own feelings. The feedback unit is used to input the emotion score to provide the server 2 with the subsequent calculation of the emotion category. Reference information.

請更加參閱圖3所示,其為本創作依照個人情緒推薦料理食物的方法及系統之系統架構圖。本創作還提供一種依照個人情緒推薦料理食物的系統,適用於上述的依照個人情緒推薦料理食物的方法。依照個人情緒推薦料理食物的系統包括:一智慧型裝置 1、一伺服器 2以及一社交網路媒體 3。Please refer to FIG. 3 more, which is a system architecture diagram of a method and system for recommending food according to personal emotions. This creation also provides a system for recommending food according to personal emotions, which is applicable to the method for recommending food according to personal emotions. A system for recommending food according to personal emotions includes: a smart device 1, a server 2 and a social network media 3.

提供上述提到的伺服器 2、智慧型裝置 1以及社交網路媒體 3。該伺服器 2包括一斷詞模組 21以及一運算模組 22。該智慧型裝置 1包括一應用程式 11,該應用程式 11與該伺服器 2電訊連接。該社交網路媒體 3具有一使用者的複數個動態資訊。Provide the aforementioned server 2, smart device 1, and social network media 3. The server 2 includes a word segmentation module 21 and a computing module 22. The smart device 1 includes an application program 11, and the application program 11 is in telecommunication connection with the server 2. The social network media 3 has a plurality of dynamic information of a user.

任一位使用者可利用該應用程式 11登入該社交網路媒體 3,並授權該應用程式 11以該伺服器 2抓取該使用者於該社交網路媒體 3上的動態資訊,該伺服器 2利用該斷詞模組 21將該動態資訊進行一斷詞分析形成一字詞表,該伺服器 2利用該運算模組 22利用一文本情緒辨識演算法分析該字詞表,取得該動態資訊的一情緒類別,該伺服器 2利用該運算模組 22利用一食譜情緒辨識演算法尋找與該情緒類別匹配的一食譜,以及該伺服器 2將該食譜傳送至該應用程式 11。Any user can use the application 11 to log in to the social network media 3, and authorize the application 11 to use the server 2 to capture the dynamic information of the user on the social network media 3, the server 2 Use the word segmentation module 21 to perform a word segmentation analysis on the dynamic information to form a word list. The server 2 uses the operation module 22 to analyze the word list using a text emotion recognition algorithm to obtain the dynamic information. The server 2 uses the computing module 22 to find a recipe matching the emotion category by using a recipe emotion recognition algorithm, and the server 2 transmits the recipe to the application 11.

在本創作一實施例中,該應用程式 11更包括一食譜產生模組 110,該食譜產生模組用以產生一個人化食譜;該食譜產生模組包括一錄影單元以及一文本編輯單元,使用者可透過該錄影單元錄製食譜影片,或是使用該文本編輯單元以文字輸入方式製作一個人化食譜,該個人化食譜還包括一自定義情緒,所述自定義情緒為使用者自行定義之情緒類別。該應用程式 11將該個人化食譜傳送至該伺服器 2,該伺服器 2解析該個人化食譜並進行分類,將原始的該個人化食譜儲存至一個人化食譜資料庫 25,而該運算模組 22解析該個人化食譜並透過該食譜情緒辨識演算法運算過後,將運算結果儲存至一情緒食譜語料庫 24。In an embodiment of the present invention, the application program 11 further includes a recipe generation module 110 for generating a personalized recipe; the recipe generation module includes a recording unit and a text editing unit. Recipe videos can be recorded through the recording unit, or a personalized recipe can be made by text input using the text editing unit. The personalized recipe also includes a custom mood, which is a user-defined mood category. The application program 11 sends the personalized recipe to the server 2. The server 2 parses and classifies the personalized recipe, stores the original personalized recipe in a personalized recipe database 25, and the operation module After parsing the personalized recipe and calculating it through the recipe emotion recognition algorithm, the calculation result is stored in an emotional recipe corpus 24.

在本創作一實施例中,該伺服器 2利用搜尋引擎(例如網路爬蟲系統),透過網際網路不定期的抓取任意食譜的文本資訊,該伺服器 2利用該斷詞模組 21將該任意食譜的文本資訊進行斷詞分析形成一第二字詞表,該伺服器 2利用該文本情緒辨識演算法分析該第二字詞表,取得該動態資訊的一第二情緒類別,以及該伺服器 2將該文本情緒辨識演算法分析結果儲存至一文本情緒語料庫 23,並持續分析網路上的任意食譜、更新該文本情緒語料庫 23,以增加分析時的精準度。In an embodiment of the present invention, the server 2 uses a search engine (such as a web crawler system) to irregularly capture text information of any recipe through the Internet. The server 2 uses the word segmentation module 21 to The text information of the arbitrary recipe is segmented to form a second word list, and the server 2 analyzes the second word list using the text emotion recognition algorithm to obtain a second emotion category of the dynamic information and the The server 2 stores the analysis result of the text emotion recognition algorithm in a text emotion corpus 23, and continuously analyzes any recipe on the Internet and updates the text emotion corpus 23 to increase the accuracy during analysis.

在本創作一實施例中,該應用程式 11更包括一反饋單元,當該使用者收倒該食譜後,可以根據自身的感受給予該食譜評分,透過該反饋單元輸入情緒分數,提供該伺服器 2後續計算情緒類別時的參考資訊。該伺服器 2會將該使用者輸入之情緒分數、原本該情緒食譜語料庫 24內該食譜的情緒分數合併計算,以更新該食譜所屬的情緒類別。In an embodiment of the present invention, the application program 11 further includes a feedback unit. After the user accepts the recipe, he can give the recipe a rating based on his own feelings, input the emotional score through the feedback unit, and provide the server. 2 Reference information for subsequent calculation of emotion categories. The server 2 combines and calculates the emotional score input by the user and the emotional score of the recipe in the original recipe recipe corpus 24 to update the emotional category to which the recipe belongs.

值得一提的是,每當一食譜因使用者給予之情緒分數更新一定次數後,會將該食譜排進搜尋排程中,當搜尋引擎於網際網路上抓取食譜素材時會優先抓取位於搜尋排程中的相關食譜資訊。It is worth mentioning that every time a recipe is updated a certain number of times due to the emotional score given by the user, the recipe will be placed in the search schedule. When the search engine grabs the recipe material on the Internet, it will first grab the recipe. Search for related recipe information in your schedule.

綜合上述,可以看出本發明提供了一種依照個人情緒推薦料理食物的方法及系統,透過伺服器抓取使用者的動態貼文進行分析,取得使用者當下的情緒類別。再透過演算法計算與該情緒類別匹配的食譜推薦給使用者。在使用者根據食譜進行料理的同時,可有效的撫慰其心靈,改善負面情緒造成的不良影響。To sum up, it can be seen that the present invention provides a method and system for recommending food according to personal emotions, and captures a user's dynamic posts through a server for analysis to obtain the user's current emotion category. The algorithm then calculates and recommends recipes matching the emotion category to the user. While the user is cooking according to the recipe, it can effectively soothe his mind and improve the adverse effects caused by negative emotions.

經過上述的詳細說明,已充分顯示本創作具有實施的進步性,且為前所未見的新創作,完全符合發明專利要件,爰依法提出申請。惟以上所述僅為本創作的較佳實施例而已,當不能用以限定本創作實施的範圍,亦即依本創作專利範圍所作的均等變化與修飾,皆應屬於本發明專利涵蓋的範圍內。After the above detailed description, it has been fully shown that this creation has a progressive nature for implementation, and it is a new creation that has not been seen before, which fully complies with the requirements of the invention patent, and has filed an application in accordance with the law. However, the above is only a preferred embodiment of the present invention. When it cannot be used to limit the scope of the implementation of the invention, that is, equal changes and modifications made in accordance with the scope of the invention patent should all fall within the scope of the invention patent. .

1‧‧‧智慧型裝置1‧‧‧ smart device

11‧‧‧應用程式 11‧‧‧ Apps

2‧‧‧伺服器 2‧‧‧Server

21‧‧‧斷詞模組 21‧‧‧ Hyphenation Module

22‧‧‧運算模組 22‧‧‧ Computing Module

23‧‧‧文本情緒語料庫 23‧‧‧Text Emotion Corpus

24‧‧‧情緒食譜語料庫 24‧‧‧ Emotional Recipe Corpus

25‧‧‧個人化食譜資料庫 25‧‧‧ Personalized recipe library

3‧‧‧社交網路媒體 3‧‧‧ Social Network Media

100~161‧‧‧步驟 100 ~ 161‧‧‧step

圖1為本創作依照個人情緒推薦料理食物的方法及系統之方法流程圖; 圖2為本創作依照個人情緒推薦料理食物的方法及系統之系統方塊圖; 圖3為本創作依照個人情緒推薦料理食物的方法及系統之系統架構圖。Figure 1 is a flowchart of a method and system for recommending food according to personal emotions; Figure 2 is a system block diagram of a method and system for recommending food according to personal emotions; System architecture diagram of food method and system.

Claims (10)

一種依照個人情緒推薦料理食物的方法,包括下列步驟: a 提供一智慧型裝置、一伺服器以及一社交網路媒體,該智慧型裝置包括一應用程式,該應用程式與該伺服器電訊連接,該伺服器包括一斷詞模組以及一運算模組,該社交網路媒體具有複數個動態資訊; b一使用者利用該應用程式登入該社交網路媒體; c 該使用者給予該應用程式一權限,該權限使該應用程式以該伺服器抓取該使用者於該社交網路媒體上的動態資訊; d 該斷詞模組將該動態資訊進行一斷詞分析形成相對應的一字詞表,該字詞表具有複數個字詞; e 該運算模組利用一文本情緒辨識演算法分析該字詞表,取得該動態資訊的一情緒類別; f 該運算模組利用一食譜情緒辨識演算法尋找與該情緒類別匹配的一食譜; g 提供該食譜給該使用者。A method for recommending food according to personal emotions includes the following steps: a providing a smart device, a server, and a social network media, the smart device includes an application program, and the application program is connected with the server by telecommunications, The server includes a word segmentation module and a computing module, the social network media has a plurality of dynamic information; b a user uses the application to log in to the social network media; c the user gives the application a Permission, which allows the application to use the server to capture the user's dynamic information on the social network media; d the word segmentation module performs a word segmentation analysis on the dynamic information to form a corresponding word Table, the word list has a plurality of words; e the calculation module analyzes the word list using a text emotion recognition algorithm to obtain an emotion category of the dynamic information; f the calculation module uses a recipe emotion recognition algorithm Cannot find a recipe that matches the emotion category; g provides the recipe to the user. 如申請專利範圍第1項所述的依照個人情緒推薦料理食物的方法,其中該文本情緒辨識演算法如下列公式所示:; 其中,為該字詞表內其中一個字詞,為情緒類別,為一函數,用以計算出現在該情緒類別的次數,為出現在該情緒類別所有的字,在情緒類別出現的機率。The method for recommending food according to personal emotions as described in the first patent application scope, wherein the text emotion recognition algorithm is shown in the following formula: ; among them, Is one of the words in the glossary, Is the emotion category, Is a function used to calculate The number of times it appears in that emotion category, For all words that appear in that mood category, for In mood category Probability of appearance. 如申請專利範圍第1項所述的依照個人情緒推薦料理食物的方法,其中該食譜情緒辨識演算法針對食物圖像進行分析,計算出食物圖像之情緒,其分析因素包括顏色(Colors)、材質(Texture)、組成(Composition)的細緻程度、低景深、動態範圍等、內容(Content)上述的任意組合。As described in item 1 of the scope of the patent application, the method of recommending food according to personal emotions, wherein the recipe emotion recognition algorithm analyzes the food image to calculate the emotion of the food image. The analysis factors include colors, Texture (Texture), Composition (Composition) meticulous degree, low depth of field, dynamic range, etc., (Content) any combination of the above. 如申請專利範圍第1項所述的依照個人情緒推薦料理食物的方法,其中該步驟e之後更包括下列步驟: e1將該文本情緒辨識演算法分析結果儲存至一文本情緒語料庫,並持續更新該文本情緒語料庫以增加分析時的精準度。As described in item 1 of the scope of patent application, the method for recommending food according to personal emotions, wherein the step e further includes the following steps: e1 stores the analysis result of the text emotion recognition algorithm into a text emotion corpus, and continuously updates the Text sentiment corpus to increase accuracy during analysis. 如申請專利範圍第1項所述的依照個人情緒推薦料理食物的方法,其中該步驟f之後更包括下列步驟: f1將該食譜情緒辨識演算法計算結果儲存至一情緒食譜語料庫,並持續更新該情緒食譜語料庫以增加分析時的精準度。The method for recommending cooking food according to individual emotions as described in the first patent application scope, wherein the step f further includes the following steps: f1 stores the calculation result of the recipe emotion recognition algorithm into an emotional recipe corpus, and continuously updates the A corpus of emotional recipes to increase the accuracy of analysis. 如申請專利範圍第1項所述的依照個人情緒推薦料理食物的方法,其中該步驟g之後更包括下列步驟: g1 該使用者透過該應用程式反饋該食譜的一情緒分數。As described in item 1 of the scope of patent application, the method for recommending food according to personal emotions, wherein step g further includes the following steps: g1 The user feedbacks an emotional score of the recipe through the application. 一種依照個人情緒推薦料理食物的系統,包括: 一伺服器,包括一斷詞模組以及一運算模組; 一智慧型裝置,包括一應用程式,該應用程式與該伺服器電訊連接; 一社交網路媒體,具有複數個使用者的複數個動態資訊; 其中,一使用者可利用該應用程式登入該社交網路媒體,並授權該應用程式以該伺服器抓取該使用者於該社交網路媒體上的動態資訊,該伺服器利用該斷詞模組將該動態資訊進行一斷詞分析形成一字詞表,該伺服器利用該運算模組利用一文本情緒辨識演算法分析該字詞表,取得該動態資訊的一情緒類別,該伺服器利用該運算模組利用一食譜情緒辨識演算法尋找與該情緒類別匹配的一食譜,以及該伺服器將該食譜傳送至該應用程式。A system for recommending food according to personal emotions includes: a server including a word segmentation module and a computing module; a smart device including an application program, the application program being connected to the server by telecommunications; a social network Network media with multiple dynamic information for multiple users; where a user can use the application to log in to the social network media and authorize the application to use the server to crawl the user on the social network Dynamic information on the media, the server uses the word segmentation module to perform a word segmentation analysis on the dynamic information to form a word list, and the server uses the computing module to analyze the word using a text emotion recognition algorithm Table to obtain an emotion category of the dynamic information, the server uses the computing module to use a recipe emotion recognition algorithm to find a recipe matching the emotion category, and the server sends the recipe to the application. 如申請專利範圍第7項所述的依照個人情緒推薦料理食物的系統,其中該應用程式更包括一食譜產生模組,該食譜產生模組用以產生一個人化食譜;該食譜產生模組包括一錄影單元以及一文本編輯單元,使用者可透過該錄影單元錄製或該文本編輯單元製作一個人化食譜,該個人化食譜還包括一自定義情緒,該應用程式將該個人化食譜傳送至該伺服器儲存。As described in item 7 of the scope of the patent application, a system for recommending food according to personal emotions, wherein the application program further includes a recipe generation module for generating a personalized recipe; the recipe generation module includes a A video recording unit and a text editing unit. Users can record through the video recording unit or use the text editing unit to make a personalized recipe. The personalized recipe also includes a custom mood. The application sends the personalized recipe to the server. Save. 如申請專利範圍第8項所述的依照個人情緒推薦料理食物的系統,其中該伺服器將該個人化食譜儲存至一個人化食譜資料庫,該運算模組解析該個人化食譜並透過該食譜情緒辨識演算法運算過後,將運算結果儲存至一情緒食譜語料庫。The system for recommending food according to personal emotions as described in item 8 of the scope of patent application, wherein the server stores the personalized recipe into a personalized recipe database, and the computing module parses the personalized recipe and uses the recipe mood After the recognition algorithm has performed the operation, the operation result is stored in an emotional recipe corpus. 如申請專利範圍第7項所述的依照個人情緒推薦料理食物的系統,其中該伺服器透過網際網路不定期的抓取任意食譜的文本資訊,該伺服器利用該斷詞模組將該任意食譜的文本資訊進行斷詞分析形成一第二字詞表,該伺服器利用該文本情緒辨識演算法分析該第二字詞表,取得該動態資訊的一第二情緒類別,以及該伺服器將該文本情緒辨識演算法分析結果儲存至一文本情緒語料庫,並持續更新該文本情緒語料庫以增加分析時的精準度。As described in item 7 of the scope of the patent application, a system for recommending food according to personal emotions, wherein the server occasionally captures text information of any recipe through the Internet, and the server uses the word segmentation module to The text information of the recipe is segmented to form a second vocabulary, and the server analyzes the second vocabulary using the text emotion recognition algorithm to obtain a second emotional category of the dynamic information, and the server will The analysis result of the text emotion recognition algorithm is stored in a text emotion corpus, and the text emotion corpus is continuously updated to increase the accuracy during analysis.
TW107108824A 2018-03-15 2018-03-15 Method and system for recommending cuisine food according to personal emotion for analyzing the current emotion of a user and recommending a cuisine food complementary to the emotion of the user TW201939424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107108824A TW201939424A (en) 2018-03-15 2018-03-15 Method and system for recommending cuisine food according to personal emotion for analyzing the current emotion of a user and recommending a cuisine food complementary to the emotion of the user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107108824A TW201939424A (en) 2018-03-15 2018-03-15 Method and system for recommending cuisine food according to personal emotion for analyzing the current emotion of a user and recommending a cuisine food complementary to the emotion of the user

Publications (1)

Publication Number Publication Date
TW201939424A true TW201939424A (en) 2019-10-01

Family

ID=69023285

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107108824A TW201939424A (en) 2018-03-15 2018-03-15 Method and system for recommending cuisine food according to personal emotion for analyzing the current emotion of a user and recommending a cuisine food complementary to the emotion of the user

Country Status (1)

Country Link
TW (1) TW201939424A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI772781B (en) * 2019-04-16 2022-08-01 日商電通股份有限公司 Pet food suggestion device and pet food suggestion method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI772781B (en) * 2019-04-16 2022-08-01 日商電通股份有限公司 Pet food suggestion device and pet food suggestion method

Similar Documents

Publication Publication Date Title
Cheng et al. MMALFM: Explainable recommendation by leveraging reviews and images
Hu et al. Exploiting social relations for sentiment analysis in microblogging
US10489830B2 (en) Aggregation of rating indicators
McCosker et al. Hashtagging depression on Instagram: Towards a more inclusive mental health research methodology
Shah et al. Leveraging multimodal information for event summarization and concept-level sentiment analysis
US9740987B2 (en) Generation of computer-based discovery avatars based on tokenization of prioritized source data
US9799035B2 (en) Customer feedback analyzer
Napier et al. Quantitative sentiment analysis of lyrics in popular music
West Raging against the machine: Network gatekeeping and collective action on social media platforms
US20160357872A1 (en) Event networks and event view construction and display
US20150193889A1 (en) Digital content publishing guidance based on trending emotions
Bohlouli et al. Knowledge discovery from social media using big data-provided sentiment analysis (SoMABiT)
JP2012168925A (en) Product search device and program
US11030264B2 (en) Systems and methods for matching a query
US20210365511A1 (en) Generation and delivery of content curated for a client
US8997008B2 (en) System and method for searching through a graphic user interface
CN113557521A (en) System and method for extracting temporal information from animated media content items using machine learning
US11928433B2 (en) Systems and methods for term prevalence-volume based relevance
Duong et al. Customer gender prediction based on E-commerce data
Su et al. MMF: attribute interpretable collaborative filtering
JP5048852B2 (en) Search device, search method, search program, and computer-readable recording medium storing the program
US20160070732A1 (en) Systems and methods for analyzing and deriving meaning from large scale data sets
TW201939424A (en) Method and system for recommending cuisine food according to personal emotion for analyzing the current emotion of a user and recommending a cuisine food complementary to the emotion of the user
US20220261863A1 (en) Method and system for transitory sentiment community- based digital asset valuation
Nundlall et al. A hybrid recommendation technique for big data systems