NLP in python for food

Issue

I need to make a script for NLP in python. Given a string, I need to identify the food and output the calories. I thought of using a csv dataset and creating a model with tensorflow to identify the food. it’s correct? do you think we can do another way?

Do you have examples or suggestions?

thank you

Solution

You will have to use NER model to identify food in the string, and then you use the identified food to check the repository which has food calories for respective food item and share the output.

Answered By – bindu madhavi

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published