{'fraction_non_alphanumeric': 0.01918081918081918, 'fraction_numerical': 0.0003996003996003996, 'mean_word_length': 4.417207792207792, '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}}
DIETEXPERT – ANDROID APPLICATION FOR PERSONAL DIET CONSULTANT

This application provides the user with a complex algorithm which can provide the user with a diet plan based on his/her characteristics like height, weight, BMI, gender etc. Everyone today dreams of healthy life cycle. In Today’s busy life healthy body is dream for everyone to have a proper balanced diet. A balanced diet is important because your organs and tissues need proper nutrition to work effectively. Without good nutrition, your body is more prone to disease, infection, fatigue, and poor performance. Children with a poor diet run the risk of growth and developmental problems and poor academic performance, and bad eating habits can persist for the rest of their lives. At the core of a balanced diet are foods that are low in unnecessary fats and sugars and high in vitamins, minerals, and other nutrients. The following food groups are essential parts of a balanced diet. Calories play a vital role in our growth and energy. A good diet can help you manipulate calorie intake based on your requirements. The proposed application will provide the user with a user-friendly User-Interface where they can create an account, manage their account and get the diet by the click of just one button. If the user is allergic to some kind of food, it also has the feature to contact an actual dietitian to consult. And there’s also a page where the user can just read some interesting facts on health and human body. This application will save a lot of user’s time by not actually visiting a dietitian and getting everything done on their phone.


INTRODUCTION
DietExpert is an android application is a provides a personalized diet to its users. It acts as a diet consultant similar to a real Dietitian. This system acts in a similar way as that of a dietitian. A person in order to know his/her diet plan needs to give some information to the dietitian such as its weight, height, gender etc. Similar way this system also provides the diet plan according to the information entered by the user. The system asks all data from the user and processes it to provide the diet plan to the user. The project has a login page where the user is required to register his/her account and then they can use the app. Thus, the user does not need to visit any dietitian which also saves time and the user can get the required diet plan in just a click. The system will give more accurate results as it accepts the data entered by the user and processes it depending on some metrics already known to the application on the basis of which a diet plan is generated and ask the user if the user accepts the diet plan. If not accepted the system may also give and alternative diet plan. If a user wants to stay fit and eat healthy, he can surely follow the program provided to him. The Application also has a card for Health Facts on the home screen, which will provide all the general knowledge and some amazing facts on our human body and body parts. This Application can be a vital part of a user if he wishes to maintain his health and body perfectly and follow the diet plan & the workout plan provided to the user.

II. RELATED WORK
In the Literature Survey part, we observed the main goal of our project which was to be made and started searching for published papers on it which will help us in building the application. We went across many IEEE & Bayes Papers and found many papers which was some or the other way connected to our project based on health. We found many interesting papers as well as simple ones, we gathered the data from them. In the existing health care system, the primary requirement and disadvantage is physical presence of patient and doctor for every consultation.
In the existing diet consultant system, you have to hire a dietitian in order to get advice. Also, there is a high chance of misinterpretation of data as well as occurrence of errors. Moreover, it is time consuming. With the increase in volume of patients in the health care institutes, traditional method of management has gone out of phase. As a result of this, an advanced Health Care Management System has been the demand of time. Some Systems were built directly for sole purpose of a single disease like Obesity, down syndrome etc. and some were general purpose applications, some projects website based and some were mobile application based. Our project was to be built on android so that people can get a good UI and also the app should be user-friendly. Some of the applications were paid-to-use and some were free, we wanted to build our project to be free to all. We started gathering information on the existing system and how it works and also a real dietitian works and calculates a diet based on a person's details like height, age, weight, gender etc. Even the internet helped us a lot for finding some basic formulas for calculating the diet and total calories. A person's diet totally depends upon what kind of activity he does in a day. If he/she has a hardworking job then they may lose more kcal as compared to other person who doesn't do much of hard work, so we have to calculate the Kcal based on the activity level of the person. The total calories to be consumed should be balanced proportion of macro nutrients like Proteins, Carbohydrates and Fats, with the ratio of 2:2:1. In the existing health care system, the primary requirement and disadvantage is physical presence of patient and doctor for every consultation. Also, there is a high chance of misinterpretation of data as 4 well as occurrence of errors. Moreover, it is cumbersome and time consuming. With the increase in volume of patients in the health care institutes, traditional method of management has gone out of phase. As a result of this, an advanced Health Care Management System has been the demand of time.

Design:
In this, we design the overview and implementation of the project was discussed. The modules discussed to be implemented are listed with some details. User Dashboard  Profile  Photo  Goals  Step Count In the Design Process, we first designed the flow of events in which the application would work, which can be seen in the flowchart below In the Design Process, we first designed the flow of events in which the application would work, which can be seen in the flowchart below. We have to design a user registration system to be able to gain user information to calculate their details, we designed the registration and login system using Google's Firebase -A cloud-based system to store our data and authentication. It has a very easy to use interface and the Doc helps in implementing it. In the Registration process the app will take the details of users like age, height, weight, gender etc. and store it in the firebase database. There will be a dashboard card, where after the user logs in can view his details and also edit/ update the data. The Diet Plan card will give the user his data based on the details provided by the user while registering. All the calculations to get results was through research & getting the right formulas. The Workout card was designed with the recycler view of the android's design system, it provides a list of items, we can change or update any items in the recycler view.

Implementation:
Implementation is done with the help of the reference papers used and the internet, the application is built using Google's very own Android Studio. The Android Studio Docs helped us to implement certain design features to out app and also add API's for the firebase database & authentication. A few tutorials helped us to create a stable application that can work properly. The Formulas used for calculating the BMI (Body mass Index) and to calculate the total calories to intake was found on internet on some research. the category selected the diet is provided by the application to the user. The Diet is based on the charts of diets calculated & created by expert Dietitians and Nutritionists all over the globe. The User still has to option to consult a physical dietitian if he / she has some issues with the diet provided or has some food allergies or irritations, for example some people are Lactose Intolerant, so the dietitian will suggest some replacement for the lactose-based products in the diet.

IV. CONCLUSION
With the proposed application on mobile phones, we will be able to bring the Dietitian App on the palm of every individual. The application can be deployed on the cloud by integrating different servers through the cloud in its future iterations. With respect to the feedback of the App users' further improvements can be incorporated within the system to make it more users friendly. In our approach for implementing this project is we have implemented a virtual dietitian using android. Our system comprises of main components such as of a user login and an admin login. The software system allows the user to create their profiles and upload all their details and their BMI is calculated by the system. The admin can check each user details and can remove faulty accounts. People who are in need of a serious health care but are busy with their schedules, can start using our application and start following the diet and workout programs. With the help of this application, user doesn't have to go to an actual dietitian he can have a dietitian in the palm of his hands.

V. FUTURE SCOPE
 This application can be further improved by feedback suggestions from the users.  This application can be improved with the help of an expert nutritionist who can help us creating different types of programs for different classification of users.  The project is easily extensible and can be improved by further incremental releases of the same.  We plan to focus on improving the overall performance of the system. Also, interaction between guider and dietitian through video calling and secure prescription will be focused upon.  Some more ways to achieve dietitian will be focused. VI.