The purpose of this work is to create an interactive chatbot that can help specialists to get information about food and health-related questions. This project uses main techniques of information processing as grammar tagging. The program gets information from a digital encyclopedia, named medlineplus.gov. This is one of the most complete encyclopedias on the web. Firstly we had to import necessary libraries as nltk and numpy that are useful for information processing, re to use regular expression, string for string type, bs4 to parse html lines and want to know the right extension and urllib.request to use websites and get information from these ones. We also have imported pos_tag from nltk to do grammar parsing and stop-words from nltk.corpus to find meaningless words. © 2021, The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG.

A Smart Interface for Provisioning of Food and Health Advices / Amato, A.; Cozzolino, G.; Ferraro, A.. - 158 LNNS:(2020), pp. 241-250. [10.1007/978-3-030-61105-7_24]

A Smart Interface for Provisioning of Food and Health Advices

Cozzolino, G.
;
Ferraro, A.
2020

Abstract

The purpose of this work is to create an interactive chatbot that can help specialists to get information about food and health-related questions. This project uses main techniques of information processing as grammar tagging. The program gets information from a digital encyclopedia, named medlineplus.gov. This is one of the most complete encyclopedias on the web. Firstly we had to import necessary libraries as nltk and numpy that are useful for information processing, re to use regular expression, string for string type, bs4 to parse html lines and want to know the right extension and urllib.request to use websites and get information from these ones. We also have imported pos_tag from nltk to do grammar parsing and stop-words from nltk.corpus to find meaningless words. © 2021, The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG.
2020
A Smart Interface for Provisioning of Food and Health Advices / Amato, A.; Cozzolino, G.; Ferraro, A.. - 158 LNNS:(2020), pp. 241-250. [10.1007/978-3-030-61105-7_24]
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11588/822845
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? ND
social impact