Files
mixly3/boards/default/python_mixpy/examples/人工智能mix/08文本纠错-2.mix
2024-07-19 10:16:00 +08:00

1 line
5.9 KiB
XML

<xml version=\"1.0.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"AI_client\" id=\"p9~cJ?WQAw*f6bA-AyeQ\" x=\"-1920\" y=\"187\"><field name=\"CTYPE\">AipNlp</field><value name=\"SUB\"><shadow type=\"variables_get\" id=\"WFN.518Lz@|;BOyd~8iv\"><field name=\"VAR\">client</field></shadow></value><value name=\"APP_ID\"><shadow type=\"text\" id=\"cYNelfZY7e+%Zi9sN*D(\"><field name=\"TEXT\">Enter Your APP_ID</field></shadow></value><value name=\"API_KEY\"><shadow type=\"text\" id=\"S`h#*;#Oa.p9#hJYm+IL\"><field name=\"TEXT\">Enter Your API_KEY</field></shadow></value><value name=\"SECRET_KEY\"><shadow type=\"text\" id=\",K1c$x84/Y#(.y%FhM$u\"><field name=\"TEXT\">Enter Your SECRET_KEY</field></shadow></value><next><block type=\"variables_set\" id=\"rbo+(b=Ip6;po/zB:+?J\"><field name=\"VAR\">result</field><value name=\"VALUE\"><block type=\"AI_Nlp\" id=\"+!B~r]9O{{B;M^Q{7Kr;\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"W[b,1|Vd7sdMPcyEp.z(\"><field name=\"VAR\">client</field></shadow></value><value name=\"FUNC\"><shadow type=\"AI_Nlp_Func\" id=\"]vjJg8wW9GzU-URu$)Xw\"><field name=\"TYPE\">ecnet</field></shadow></value><value name=\"STR\"><shadow type=\"text\" id=\"Fa`|_/VT_ES-[nO}S|TG\"><field name=\"TEXT\">\u4FC3\u8FDB\u521B\u5BA2\u6559\u80B2\u4E0E\u672C\u5730\u65B0\u5F62\u4EA7\u4E1A\u7684\u6574\u5408\uFF0C\u4FC3\u8FDB\u5F53\u5730\u7ECF\u6D4E\u7684\u53D1\u5C55\u3002</field></shadow></value><value name=\"ATTR\"><block type=\"dicts_create_with_noreturn\" id=\"L8(*sUKe.8y9f;~v=5/%\"><mutation items=\"0\"></mutation></block></value></block></value><next><block type=\"variables_set\" id=\"NRj)sGQCAuIU9?aN86-u\"><field name=\"VAR\">content</field><value name=\"VALUE\"><block type=\"dicts_get\" id=\"}E[*pm0.KLl|0/hiUuiu\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"|*D0jbn^52D+S3dZpej.\"><field name=\"VAR\">result</field></shadow></value><value name=\"KEY\"><shadow type=\"text\" id=\"^V:*:Zm9AoA487fxZm4Z\"><field name=\"TEXT\">text</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"~jb-QaQLE+AIcu+uzOpp\"><field name=\"VAR\">item</field><value name=\"VALUE\"><block type=\"dicts_get\" id=\"cfl#QOZ$JNKy(?SuBuO8\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"smzOz0r)cf0gS)gx#?JV\"><field name=\"VAR\">result</field></shadow></value><value name=\"KEY\"><shadow type=\"text\" id=\"HCCPFK^%$T/]lkSVtp0~\"><field name=\"TEXT\">item</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"JI(U*+?@Df2(h?L)Lhha\"><field name=\"VAR\">wrong</field><value name=\"VALUE\"><block type=\"dicts_get\" id=\"{!^}`raHu?c@8;6)h~Tp\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"Owo$^?#fl}7H(@SZtU8@\"><field name=\"VAR\">mydict</field></shadow><block type=\"lists_get_index\" id=\"KxvxAGW|ey/o9EEr=z=[\"><value name=\"LIST\"><shadow type=\"variables_get\" id=\"plyumbW6cJSnWbtsw980\"><field name=\"VAR\">mylist</field></shadow><block type=\"dicts_get\" id=\"?-8f,|]Tq7Guf,K8g{@a\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"||`:YH{Ns=}V#8[`nOCu\"><field name=\"VAR\">item</field></shadow></value><value name=\"KEY\"><shadow type=\"text\" id=\"TNf6gf2C*/`WJfB+2/kn\"><field name=\"TEXT\">vec_fragment</field></shadow></value></block></value><value name=\"AT\"><shadow type=\"math_number\" id=\"GKb*Jb9:N3:GwTzpYG1p\"><field name=\"NUM\">0</field></shadow></value></block></value><value name=\"KEY\"><shadow type=\"text\" id=\"8Ht;v[}5L|)gVlXMRC70\"><field name=\"TEXT\">ori_frag</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"gz*w/X[ck+d`+n::~53M\"><field name=\"VAR\">right</field><value name=\"VALUE\"><block type=\"dicts_get\" id=\"t=2.J2Tug/hwq#*LXK/^\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"Owo$^?#fl}7H(@SZtU8@\"><field name=\"VAR\">mydict</field></shadow><block type=\"lists_get_index\" id=\"Pjelr^z.62].x=Hyl*H8\"><value name=\"LIST\"><shadow type=\"variables_get\" id=\"plyumbW6cJSnWbtsw980\"><field name=\"VAR\">mylist</field></shadow><block type=\"dicts_get\" id=\"vpiNSS`TpvwD4btPj%4a\"><value name=\"DICT\"><shadow type=\"variables_get\" id=\"B{CRnq8V#0}L`-3E]G$7\"><field name=\"VAR\">item</field></shadow></value><value name=\"KEY\"><shadow type=\"text\" id=\"yz04U.fb@~vkwH|ZC=r6\"><field name=\"TEXT\">vec_fragment</field></shadow></value></block></value><value name=\"AT\"><shadow type=\"math_number\" id=\"O-/@)Ht|/GR!Ku{$c}x2\"><field name=\"NUM\">0</field></shadow></value></block></value><value name=\"KEY\"><shadow type=\"text\" id=\")4{G,~y{?uSm4dG`lG2H\"><field name=\"TEXT\">correct_frag</field></shadow></value></block></value><next><block type=\"inout_print\" id=\"T!;f_X^s0|]tWdmdu?^6\"><value name=\"VAR\"><shadow type=\"text\" id=\"CGi/P$/ZG{[TD*@v83B~\"><field name=\"TEXT\">Hello</field></shadow><block type=\"text_replace\" id=\"LU}8}mw?6HpmA3^upS5%\"><value name=\"VAR\"><shadow type=\"text\" id=\"SX1rM,f`q#n?*OAIFvn*\"><field name=\"TEXT\">Hello,mixly</field></shadow><block type=\"variables_get\" id=\"O1f1-t,qOyW^y%Q?~LIv\"><field name=\"VAR\">content</field></block></value><value name=\"STR1\"><shadow type=\"text\" id=\"d:)L.J#m$m?=vTg*rvcL\"><field name=\"TEXT\">mixly</field></shadow><block type=\"variables_get\" id=\"(Wy@fNWG{#Lt4yUlKNT8\"><field name=\"VAR\">wrong</field></block></value><value name=\"STR2\"><shadow type=\"text\" id=\"oaxIfo:KJSPv}]uelKcH\"><field name=\"TEXT\">mixpy</field></shadow><block type=\"text_format_noreturn\" id=\"ThR%lP_2lwX_fZr#ln`v\"><mutation items=\"2\"></mutation><value name=\"VAR\"><shadow type=\"text\" id=\"liuq_a:0i3={h{~eF^p(\"><field name=\"TEXT\">{}\u3010{}\u3011</field></shadow></value><value name=\"ADD0\"><block type=\"variables_get\" id=\"W)Nz[c{wuZ%Dr-#d,tDu\"><field name=\"VAR\">wrong</field></block></value><value name=\"ADD1\"><block type=\"variables_get\" id=\"IPCGH|;wwzpIAw?3p.I]\"><field name=\"VAR\">right</field></block></value></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>