Sandbox
Line 3: | Line 3: | ||
<!---{{Index/name|F|G|FL|}}----> | <!---{{Index/name|F|G|FL|}}----> | ||
− | {{#SearchLine:Common Name=| | + | {{#lua: |
+ | local common = {"methoxy", "hydroxy", "acid"}; | ||
+ | local key = stdin:match("%w+"); | ||
+ | local H = {}; | ||
+ | for id, name in stdin:gmatch("&&(%w+).Common Name=&&(%S+)") do | ||
+ | name = string.lower(name); | ||
+ | for term in string.gmatch(name,"(%a+)") do | ||
+ | if ((string.len(term) > 3) and | ||
+ | (string.sub(term,0,1) == key)) then | ||
+ | if (H[term] == nil) then | ||
+ | H[term] = id; | ||
+ | else | ||
+ | H[term] = H[term] .. ";" .. id; | ||
+ | end | ||
+ | end | ||
+ | end | ||
+ | end | ||
+ | table.sort(H); | ||
+ | for k,v in pairs(H) do | ||
+ | print(k.."&&"..v.."\n"); | ||
+ | end | ||
+ | | | ||
+ | {{{1|a}}} {{#SearchLine:Common Name=||FL%}} | ||
+ | }} |
Revision as of 19:23, 1 October 2008
this is sandbox page.
alnetin&&FL3FG9NS0003
artelastofuran&&FL3FALNF0001
abietin&&FL3FAACS0021
ambonin&&FLIA1AGS0010
arteanoflavone&&FL3FEGNS0008
artocommunol&&FL3FALNI0014;FL3FRNNP0002;FL3FRNNP0009
apio&&FL3FAACS0066
ambonone&&FLIB1LNF0004
anhydro&&FL3FAACS0056
amorpholone&&FLIFWYNF0002
astilbin&&FL4DACGS0011
aervanone&&FL2F1ACS0001
aciculatin&&FL3FCACS0028
alternanthin&&FL3FADCS0003
amoridin&&FL2FACNP0006
aromadendrin&&FL4DAACS0001;FL4DAAGS0001;FL4DAAGS0002;FL4DAAGS0003;FL4DAAGS0007;FL4DAAGS0008;FL4DAAGS0009;FL4DAAGS0010;FL4DAAGS0011;FL4DAANS0001;FL4DAANS0001;FL4DAANS0002;FL4DABNS0001;FL4DBANS0001;FL4DCAGS0002;FL4DCANS0001;FL4DCBGS0002;FL4DCBNS0001;FL4DDANS0001;FL4DDANS0002
agecorynin&&FL2FECNS0007;FL2FEGNS0001;FL2FGGNS0001;FL3FELNS0008;FL3FELNS0009;FL3FGLNS0002;FL3FGLNS0005
amorinin&&FL2FACNP0002
afromosin&&FLIA2ANS0001
artelastin&&FL3FRNNR0004
axillarin&&FL5FECGS0065;FL5FECGSS001;FL5FECNS0009
artomunoxanthentrione&&FL3FRNNP0003
acinoside&&FL2FABGS0006
almeidein&&FL3FCACS0007
acetylastragalin&&FL5FAAGL0061
arabinopyranosylapigenin&&FL3FAACS0011;FL3FAACS0045;FL3FAACS0046;FL3FAACS0068;FL3FAACS0069
asebotin&&FL1DCAGS0001
astragalin&&FL5FAAGL0001;FL5FAAGL0069
acetyl&&FL3FAACS0080
allopatuletin&&FL5FECNS0004
alpha&&FL1AAKGM0001;FL1CHXGS0001;FL1CHXNS0001;FL1DBANI0001;FL1DE9NS0001;FL1DHXCS0003;FL1DHXNI0002;FL1DHXNS0001;FL1DHXNS0003;FL1DHXNS0004;FL1DHXNS0005;FL1DHXNS0006;FL1DHXNS0008;FL1DHYNS0005;FL2F1LNI0001;FL2FA8NP0001;FL2FF9NS0005;FL3FAACS0003;FL3FAACS0004;FL3FAACS0004;FL3FAACS0007;FL3FAACS0011;FL3FAACS0031;FL3FAACS0045;FL3FAACS0067;FL3FAACS0068;FL3FAACS0069;FL3FACCS0004;FL3FACCS0021;FL3FACCS0049;FL3FACCS0052;FL3FACCS0053;FL3FADCS0021;FL3FCACS0001;FL3FCACS0002;FL4DA9NP0001;FL4DACGS0008;FL4DACGS0026;FL633CNS0001;FL6D1ANS0001;FL6D1ANS0002;FL6D1CNS0002;FL6D1CNS0003;FL6D1GNS0001;FL6D3ANS0002;FL6D3ANS0004;FL6D3ANS0005;FL6D3CNS0002;FL6D3CNS0004;FL6D3CNS0006;FL6DPTNS0001;FL6DPTNS0002;FL6DPTNS0004;FL6DPTNS0005;FL6DPTNS0006;FLIC1LNI0002;FLIC1LNI0002;FLIFALNP0001;FLIFWXNP0001;FLIFWYNP0001;FLIJ1ANR0001
anthyllisone&&FL1C1ANP0013
alpinone&&FL4DA9NS0004
acetylflavanone&&FL4DABNS0002
astraciceran&&FLIC1LNS0009
anguvetin&&FL1DA9NC0004
alfalone&&FLIA2ANS0006
arabinosylapigenin&&FL3FAACS0003
aequinetin&&FL3FA9GS0002
arvensan&&FLIC1LNS0008
anhydroglycinol&&FLIDWXNS0001
arabinopyranosyltricetin&&FL3FAGCS0006
apometzgerin&&FL3FAKNS0001
avicularoside&&FL5FACGS0001
ampelopsin&&FL4DAGGS0001;FL4DAGGS0002;FL4DAGGS0003;FL4DAGNS0001;FL4DAHGS0001
alnusin&&FL5FE9NS0002;FL5FE9NS0003
acetylmalonylawobanin&&FL7AAGGL0030
abrusin&&FL3FEACS0001;FL3FEACS0002
awobanin&&FL7AAGGL0021
anastatin&&FL2FAANF0011;FL2FAANF0012
acacetin&&FL3FABCS0001;FL3FABGS0001;FL3FABGS0002;FL3FABGS0003;FL3FABGS0004;FL3FABGS0005;FL3FABGS0006;FL3FABGS0007;FL3FABGS0008;FL3FABGS0009;FL3FABGS0010;FL3FABGS0011;FL3FABGS0012;FL3FABGS0013;FL3FABGS0014;FL3FABGS0015;FL3FABGS0016;FL3FABGS0017;FL3FABGS0019;FL3FABGS0020;FL3FABGS0021;FL3FABGS0022;FL3FABGS0023;FL3FABNS0001;FL3FCBNS0001
amorphigenin&&FLIF1LGF0001;FLIF1LGF0002;FLIF1LNF0006
angoletin&&FL1DA9NM0005
artocarpanone&&FL2FALNS0003
anhydrovariabilin&&FLIDWXNS0002
artocarpesin&&FL3FALNI0003
aurapin&&FL4DCBGS0001
amorphigenol&&FLIF1LGF0004;FLIF1LGF0005;FLIF1LNF0009
abruquinone&&FLICQUNS0006;FLICQUNS0007;FLICQUNS0008
ageconyflavone&&FL3FECNS0021;FL3FECNS0022;FL3FEGNS0014
arabinopyranosylapometzgerin&&FL3FAKCS0001
angeloyloxy&&FL1CE9NI0001;FL1CG9NI0001
anthyllin&&FL1C1ANI0032
aureol&&FLIEAANS0001
anhydroicaritin&&FL5FABGI0005;FL5FABGI0006;FL5FABGI0010;FL5FABGI0022
araneol&&FL5FG9NS0003
agestricin&&FL1CECNS0002;FL2FECNS0002;FL2FECNS0003;FL2FECNS0004
amoritin&&FL2FADNI0002
auriculoside&&FL6F1GGS0001
alnustin&&FL5FE9NS0008
axillaroside&&FL5FECGS0013
asplenetin&&FL3FAGNI0001
atalantoflavone&&FL3FAANP0001
apiforol&&FL64AANS0001
allyloxysalvigenin&&FL3FEANS0011
apetalolide&&FLNAA9NP0004
angustone&&FLIAALNI0006;FLIAALNP0015;FLIAALNP0017
ambofuranol&&FLII1ANI0001
apocynin&&FL63AGNN0004;FL63AGNN0005
alph&&FLIFWXNP0001;FLIFWXNP0001
acetoxyrotenone&&FLIFHXNS0004;FLIFWYNS0004;FLIFWYNS0005
auranetin&&FL5F4ANS0001
alatanin&&FL7AACGL0036;FL7AACGL0037;FL7AADGL0016
acetylisoorientin&&FL3FACCS0009;FL3FACCS0012
acetyldihydrostemonal&&FLIFHXNS0004
amoradinin&&FL2FCDNI0001
artelastocarpin&&FL3FRNNR0005
ambonane&&FLID1CNF0002
acerosin&&FL3FGCNS0006
ambanol&&FLICUNNS0001
acetylsagittatin&&FL5FAAGS0135
anhydropisatin&&FLIDWXNS0003
apigeninidin&&FL7DAAGO0002;FL7DAAGO0003;FL7DAAGO0004;FL7DAANS0001
aurmillone&&FLIAFANI0001
acetyloxy&&FLIA19NM0003;FLIA19NM0004
apuleisin&&FL5FELNS0003
angolensin&&FLIJ1ANS0001
amoricin&&FL2FADNP0001
auriculatin&&FLIAALNP0008;FLIAALNP0009
abyssinone&&FL1C1ANI0001;FL2F1ANI0004;FL2F1ANI0005;FL2F1ANP0001;FL2F1ANP0002;FL2FAANI0001;FL2FABNI0008
artonin&&FL3FALNP0014;FL3FCANI0001;FL3FQUNP0003;FL3FQUNR0001;FL3FRNNF0002;FL3FRNNF0003;FL3FRNNF0004;FL3FRNNF0005;FL3FRNNI0001;FL3FRNNP0006
allolicoisoflavone&&FLIAALNP0012
anisomelin&&FL3FECNS0023
abyssinin&&FL2FACNI0013;FL2FADNI0001;FL2FADNP0003
auriculasin&&FLIAACNP0004
alluaudiol&&FL5FDGNM0001
amaronol&&FL1BAGNS0001;FL1BAJNS0001
anadanthoside&&FL631CGS0001
apuleitrin&&FL5FEGNS0010
afzelin&&FL5FAAGS0005
alpinumisoflavone&&FLIAAANP0002;FLIABBNP0001
ambocin&&FLIAAAGS0010
ambofuracin&&FL1AUNGS0002
arabinopyranosyl&&FL3FAACS0003;FL3FAACS0004;FL3FAACS0067;FL3FAACS0068;FL3FAACS0069;FL3FACCS0021;FL3FAICS0004;FL3FCACS0001;FL3FCACS0002
azaleatin&&FL5FBCGA0001;FL5FBCGL0001;FL5FBCGL0002;FL5FBCGS0001;FL5FBCGS0002;FL5FBCNS0001
aurantinidin&&FL7AEANS0001
australone&&FL3FALNP0015
afzelechin&&FL63AAGS0005;FL63AAGS0007;FL63AAGS0008;FL63AAGS0009;FL63AANS0001;FL63BBNS0001;FL6DAANS0001;FL7AFAGL0003
amorphaquinone&&FLICQUNS0005
arabinopyranosyltricin&&FL3FAICS0002;FL3FAICS0003
artemetin&&FL5FECGS0037;FL5FECNS0036
astrasikokioside&&FL5FAAGS0100
apigeniflavan&&FL6FAAGS0001;FL6FAANS0001
apiferol&&FL64AANS0001
apigenin&&FL3FAACS0001;FL3FAACS0004;FL3FAACS0010;FL3FAACS0038;FL3FAACS0050;FL3FAADS0031;FL3FAAGN0001;FL3FAAGN0002;FL3FAAGN0003;FL3FAAGS0001;FL3FAAGS0004;FL3FAAGS0005;FL3FAAGS0006;FL3FAAGS0007;FL3FAAGS0008;FL3FAAGS0009;FL3FAAGS0010;FL3FAAGS0011;FL3FAAGS0012;FL3FAAGS0013;FL3FAAGS0014;FL3FAAGS0015;FL3FAAGS0016;FL3FAAGS0017;FL3FAAGS0018;FL3FAAGS0019;FL3FAAGS0020;FL3FAAGS0021;FL3FAAGS0022;FL3FAAGS0023;FL3FAAGS0024;FL3FAAGS0025;FL3FAAGS0026;FL3FAAGS0027;FL3FAAGS0028;FL3FAAGS0029;FL3FAAGS0030;FL3FAAGS0031;FL3FAAGS0032;FL3FAAGS0033;FL3FAAGS0034;FL3FAAGS0035;FL3FAAGS0036;FL3FAAGS0037;FL3FAAGS0038;FL3FAAGS0039;FL3FAAGS0040;FL3FAAGS0041;FL3FAAGS0042;FL3FAAGS0043;FL3FAAGS0044;FL3FAAGS0045;FL3FAAGS0046;FL3FAAGS0047;FL3FAAGS0048;FL3FAAGS0049;FL3FAAGS0050;FL3FAAGS0051;FL3FAAGS0052;FL3FAAGS0053;FL3FAAGS0054;FL3FAAGS0055;FL3FAAGS0056;FL3FAAGS0060;FL3FAAGS0062;FL3FAAGS0064;FL3FAAGS0065;FL3FAAGS0066;FL3FAAGS0067;FL3FAAGS0068;FL3FAAGS0069;FL3FAAGS0070;FL3FAAGS0071;FL3FAAGS0072;FL3FAAGS0073;FL3FAAGS0074;FL3FAANS0001;FL3FAANS0002;FL3FAANSS001;FL3FABNS0001;FL3FCAGS0001;FL3FCAGS0002;FL3FCAGS0003;FL3FCAGS0004;FL3FCAGS0005;FL3FDBNS0001
acetylteuscordin&&FLIFWXNP0001
arcapillin&&FL3FELNS0002
alhagitin&&FL2FBAGS0002
anemone&&FL7AACGL0129;FL7AACGL0130;FL7AACGL0131
arthromerin&&FL63AAGS0001;FL63AAGS0003
astroside&&FLIAABGS0001
araneosol&&FL5FGANS0006
anhydrotuberosin&&FLIDWXNP0001
angusticornin&&FL1C1ANI0021;FL1C1ANP0011
apuleirin&&FL5FEGNS0012
aliarin&&FL5FEANI0003;FL5FEANI0005
anhydrotephrostachin&&FL3FA9NI0004
artonol&&FL3FQUNP0002;FL3FRNNP0005;FL3FRNNP0007
artemexitin&&FL5FDHNS0001
angoluvarin&&FL1DA9NC0005
annulatin&&FL5FDGGS0001;FL5FDGGS0002;FL5FDGGS0003;FL5FDGGS0004;FL5FDGNS0001
acetylorientin&&FL3FACCS0010
abeta&&FL4DPTNS0002
arjunone&&FL2FALNS0002
artelasticin&&FL3FALNI0016
adunctin&&FL1DA9NR0007;FL1DA9NR0008;FL1DA9NR0009;FL1DA9NR0010;FL1DA9NR0011
acetyldaidzin&&FLIA1AGS0003
aurentiacin&&FL1CA9NM0001;FL1CA9NM0004
apuleidin&&FL5FALNS0006
amurensin&&FL5FAAGI0015
aureusin&&FL1AACGS0002
afrormosin&&FLIA2AGS0004;FLIA2AGS0005;FLIA2AGS0006;FLIA2ANS0001
acuminatoside&&FL5FABGI0015
andrographidin&&FL2FF9GS0003
artabotryside&&FL5FAAGS0071;FL5FACGS0065
altisin&&FL3FF8NS0012
abrectorin&&FL3F2CNS0001
artomunoxanthone&&FL3FRNNP0004
alopecurone&&FL2F1LNI0004
agrandol&&FL2FE9NI0001
alpinetin&&FL2FA9NS0002
angophorol&&FL2FCANM0001
avicularine&&FL5FACGS0001
amoradicin&&FL2FCCNI0001
alangiflavoside&&FL5FAAGA0027
apulein&&FL5FELNS0011
aalpha&&FL4DPTNS0002;FLID1CNP0001;FLID1CNP0001;FLIFHXNF0003;FLIFHXNF0003;FLIFHZNF0001;FLIFHZNF0001
asebogenin&&FL1DCANS0001
ammothamnidin&&FL1C1LNI0003
agehoustin&&FL3FELNS0004;FL3FELNS0006;FL3FGLNS0003;FL3FGLNS0004;FL3FGLNS0006;FL3FGLNS0007;FL3FGLNS0008
amorilin&&FL2FAANI0009
antiarone&&FL1AACNI0001;FL1AACNI0002;FL1CADNI0001;FL1CAENI0001;FL1CAENI0002;FL1CAENR0001;FL1CAFNR0001
alysifolinone&&FL2FA9NS0009
arabinopyranoside&&FL3FAACS0004
acetylcallunin&&FL4DFAGS0002
artelastochromene&&FL3FRNNP0008
alnustinol&&FL4DE9NS0001
allyloxy&&FL3FEANS0011
arabinopyranosylgenkwanin&&FL3FCACS0011
alphitonin&&FL1BACNS0001
anacheiloside&&FL4DAEGS0001
agamanone&&FL2FEGNS0002
arabinosylluteolin&&FL3FACCS0004;FL3FACCS0049
amorisin&&FL2FACNI0005
aspalathin&&FL1DACCS0001
apiocarpin&&FLIDAANF0001
artoindonesianin&&FL1C1ANP0018;FL3FALNI0021;FL3FALNI0022;FL3FRNND0003;FL3FRNNF0001;FL3FRNNR0001;FL3FRNNR0002;FL3FRNNR0003
apiin&&FL3FAAGS0002
acetyltrifolirhizin&&FLID1CGS0004
amorin&&FL2FACNP0005
artocarpetin&&FL3FALNI0019;FL3FALNS0003
abyssinoflavanone&&FL2FACNF0002;FL2FACNP0013;FL2FACNP0014
aureusidin&&FL1AACGS0003;FL1AACGS0004;FL1AACGS0005;FL1AACNS0001
albanin&&FL3FALNI0002;FL3FALNI0005
androechin&&FL1CA8GS0001
artobiloxanthone&&FL3FALNR0009
avicularin&&FL5FACGS0001
alhagidin&&FL2FAEGS0007
apiofuranosylapigenin&&FL3FAACS0066
ayanin&&FL5FDENS0002
artobilichromene&&FL3FALNP0011
asiaticalin&&FL5FAAGS0004
arabinopyranosylluteolin&&FL3FACCS0042
adonivernith&&FL3FACCS0014