Match wine text to ELIDs
elid_match_wineMatch free-form wine text to ranked ELID base-wine identities, returning elid, lwin, and display details. Ideal for turning label or list lines into structured wine data.
Instructions
Match free wine text (e.g. 'Kanonkop Paul Sauer 2021', a label or a wine-list line) to ranked ELID base-wine identities. Returns elid, lwin, display_name, producer_name, wine and scores (for ranking only, not probabilities). An empty list means no accepted match. Vintages in the text are not part of the result: pass the vintage to elid_get_wine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | Yes | Wine text to match, up to 500 characters. | |
| top_n | No | Number of candidates, 1–20 (default 5). | |
| producer_id | No | Optional ELID producer code, e.g. ZA-KNKP. | |
| country_code | No | Optional two-letter country code to restrict matching, e.g. ZA. |