['class=["\'][^"\']*word[^"\']*["\'][^>]*data-word=["\']([^"\']+)["\'][^>]*data-gloss=["\']([^"\']+)["\'][^>]*>', 'matches = re.findall(pattern, html, re.IGNORECASE)\n    eng_to_quenya = {}\n    for quenya, gloss in matches:\n        gloss_lower = gloss.lower()\n        gloss_lower = gloss_lower.split(\';\')[0].strip()\n        # Also split by comma\n        gloss_lower = gloss_lower.split(\',\')[0].strip()\n        eng_to_quenya[gloss_lower] = quenya\n    print(f"Loaded {len(eng_to_quenya)} entries', 'return eng_to_quenya\n\nquenya_dict = load_eldamo_dict(\'/tmp/neo-quenya.html\')\nwith open(\'/tmp/quenya_dict.json\', \'w\', encoding=\'utf-8\') as f:\n    json.dump(quenya_dict, f, ensure_ascii=False, indent=2)\nprint("Saved dictionary to /tmp/quenya_dict.json', "Quick test\nprint('provider =', quenya_dict.get('provider', '??'))\nprint('search =', quenya_dict.get('search', '??'))\nprint('result =', quenya_dict.get('result', '??'))\nprint('authentication =', quenya_dict.get('authentication', '??'))"]