from electron import Electron from nucleon import Nucleon class Atom: @staticmethod def placeholder(): return (Electron.placeholder(), Nucleon.placeholder(), {}) @staticmethod def advanced_placeholder(): return ( Electron("两只黄鹤鸣翠柳", {}), Nucleon( "两只黄鹤鸣翠柳", { "note": [], "translation": "臣子李密陈言:我因命运不好,小时候遭遇到了不幸", "keyword_note": { "险衅": "凶险祸患(这里指命运不好)", "夙": "早时,这里指年幼的时候", "闵": "通'悯',指可忧患的事", "凶": "不幸,指丧父" } } ), { "keydata": { "note": "笔记", "keyword_note": "关键词翻译", "translation": "语句翻译" }, "testdata": { "additional_inf": ["translation", "note", "keyword_note"], "fill_blank_test": ["translation"], "draw_card_test": ["keyword_note"] }, "is_new_activation": 0 } )