{'fraction_non_alphanumeric': 0.02177140029688273, 'fraction_numerical': 0.0019792182088075212, 'mean_word_length': 5.39873417721519, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Web-Based Diet Information System with Case-Based Reasoning Capabilities

Encouraging socio‐economic development in developing countries has resulted in many changes in the lifestyle of communities. Changes in dietary patterns are one of the main outcomes from the rapid socio‐economics advancement, for example excessive intake of fat, high‐protein diet (animal protein), salt and preservatives. Chronic diseases such as diabetes, coronary artery disease, hypertension and cancer are mostly related to diet. With the community becoming more nutrition and health conscious, one of the challenges faced is to make sure that the information and knowledge on diet and healthy lifestyle gets across to the community. This paper presents a model of web‐based diet system (WebDIET) that attempts to make diet information and menu plans that are customised to local preference more accessible via the use of Internet. The system is to be used by dieticians who serve as administrators and the public who are the end users. The dietary standard adapted in developing the system is Recommended Dietary Allowances (RDA) for Malaysia. The Malaysian Dietary Guidelines was also referred as it emphasises on Malaysian diet. The system consists of six modules namely Authentication Module, Menu Plan Module, Diabetic Menu Plan Module, Food Selection Module, Disease Info Module and Feedback Module. Diabetic menu plan module models the reasoning process employed by dieticians in suggesting menu plans. The planning task is solved using an artificial intelligence technique through the case‐based reasoning (CBR) approach. CBR, generally describes, the process of solving the current problem based on the proposed solution of similar problems in the past. Nearest Neighbour Algorithm was used to compute the similarities in weighted average. Tools used for the development of the system are Microsoft Visual Interdev, Microsoft FrontPage 2000, while HTML, VBScript and JavaScript are the scripting languages used to develop the system.