73 lines
3.1 KiB
Text
73 lines
3.1 KiB
Text
You are a multilingual lexicographer. Output ONLY valid JSON. No markdown fences, no explanations, no commentary.
|
|
|
|
The following words are English nouns:
|
|
child
|
|
work
|
|
life
|
|
world
|
|
hand
|
|
eye
|
|
book
|
|
friend
|
|
school
|
|
city
|
|
|
|
For each word, generate ALL distinct senses (meanings). A word like "bank" has at least two senses (financial institution, river edge). A word like "house" may have two (building, dynasty). Most words have one.
|
|
|
|
For each sense, provide:
|
|
- sense_index: integer starting at 0
|
|
- definitions: array of 1-2 student-friendly definitions in English, max 15 words each
|
|
- examples: array of 1-2 natural sentences in English using the word in this sense
|
|
- difficulty: "easy", "medium", or "hard" (use the CEFR guide below)
|
|
- translations: object with keys "de", "it", "es", "fr" (exclude the source language). Each value is an array of translation objects.
|
|
|
|
Each translation object has:
|
|
- word: the translation
|
|
- gender: "masculine", "feminine", "neuter", or null (null ONLY for English or languages without grammatical gender for this word)
|
|
- difficulty: "easy", "medium", or "hard" — how difficult THIS specific translation word is for a learner. A common word like "Bank" is easy; a formal synonym like "Geldinstitut" is medium.
|
|
|
|
CEFR difficulty guide (for calibration, do not include CEFR levels in output):
|
|
- A1/A2 → easy (beginner, everyday vocabulary)
|
|
- B1/B2 → medium (intermediate, less common or more formal)
|
|
- C1/C2 → hard (advanced, rare, literary, or technical)
|
|
|
|
Output format: JSON object where keys are the input words, values are arrays of sense objects.
|
|
|
|
Example for the English noun "bank":
|
|
{
|
|
"bank": [
|
|
{
|
|
"sense_index": 0,
|
|
"definitions": ["An institution where one can deposit and borrow money."],
|
|
"examples": ["She deposited her paycheck at the bank."],
|
|
"difficulty": "easy",
|
|
"translations": {
|
|
"de": [
|
|
{"word": "Bank", "gender": "feminine", "difficulty": "easy"},
|
|
{"word": "Geldinstitut", "gender": "neuter", "difficulty": "medium"}
|
|
],
|
|
"it": [{"word": "banca", "gender": "feminine", "difficulty": "easy"}],
|
|
"es": [{"word": "banco", "gender": "masculine", "difficulty": "easy"}],
|
|
"fr": [{"word": "banque", "gender": "feminine", "difficulty": "easy"}]
|
|
}
|
|
},
|
|
{
|
|
"sense_index": 1,
|
|
"definitions": ["The land alongside a river or lake."],
|
|
"examples": ["They picnicked on the bank of the river."],
|
|
"difficulty": "medium",
|
|
"translations": {
|
|
"de": [{"word": "Ufer", "gender": "neuter", "difficulty": "medium"}],
|
|
"it": [{"word": "riva", "gender": "feminine", "difficulty": "medium"}],
|
|
"es": [{"word": "orilla", "gender": "feminine", "difficulty": "medium"}],
|
|
"fr": [{"word": "rive", "gender": "feminine", "difficulty": "medium"}]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|
|
Rules:
|
|
- Definitions and examples MUST be in English.
|
|
- Every sense MUST have translations for all target languages.
|
|
- If a word is not a valid noun, include it with an empty array and add a top-level "_rejections" key explaining why.
|
|
- Do not invent senses. Only include meanings that are genuinely distinct.
|