Understanding the Cooking Process with English Recipe Text

Yi Fan, Anthony Hunter


Abstract
Translating procedural text, like recipes, into a graphical representation can be important for visualizing the text, and can offer a machine-readable formalism for use in software. There are proposals for translating recipes into a flow graph representation, where each node represents an ingredient, action, location, or equipment, and each arc between the nodes denotes the steps of the recipe. However, these proposals have had performance problems with both named entity recognition and relationship extraction. To address these problems, we propose a novel framework comprising two modules to construct a flow graph from the input recipe. The first module identifies the named entities in the input recipe text using BERT, Bi-LSTM and CRF, and the second module uses BERT to predict the relationships between the entities. We evaluate our framework on the English recipe flow graph corpus. Our framework can predict the edge label and achieve the overall F1 score of 92.2, while the baseline F1 score is 43.3 without the edge label predicted.
Anthology ID:
2023.findings-acl.261
Volume:
Findings of the Association for Computational Linguistics: ACL 2023
Month:
July
Year:
2023
Address:
Toronto, Canada
Editors:
Anna Rogers, Jordan Boyd-Graber, Naoaki Okazaki
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
4244–4264
Language:
URL:
https://aclanthology.org/2023.findings-acl.261
DOI:
10.18653/v1/2023.findings-acl.261
Bibkey:
Cite (ACL):
Yi Fan and Anthony Hunter. 2023. Understanding the Cooking Process with English Recipe Text. In Findings of the Association for Computational Linguistics: ACL 2023, pages 4244–4264, Toronto, Canada. Association for Computational Linguistics.
Cite (Informal):
Understanding the Cooking Process with English Recipe Text (Fan & Hunter, Findings 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.findings-acl.261.pdf