Patent attributes
Embodiments process a recipe from structured data to extract recipe text and select an image representative of the recipe. Recipes in structured data are retrieved and sequenced into segments to facilitate further processing. A recipe parser generates features corresponding to the segments. These generated features are inputs to a recipe model to classify the segments into components. This recipe model is trained according to classified training recipes. The trained model may then determine classifications for segments of the recipe. The classified recipe text is used to select the representative image for the recipe. To select this image, candidate images for a recipe are retrieved and filtered to remove unacceptable images. Features corresponding to these candidate images are generated and used as inputs to an image model to select the representative image. This image model is trained using representative training images of training recipes.