Template:Kampo/Reference
From Metabolomics.JP
< Template:Kampo(Difference between revisions)
Line 1: | Line 1: | ||
{{#def:list|{{#SearchLine:^&&{{PAGENAME}}|KampoReference}}}} | {{#def:list|{{#SearchLine:^&&{{PAGENAME}}|KampoReference}}}} | ||
+ | =={{Bilingual|関連キーワード|Related keywords}}== | ||
+ | {{#lua: | ||
+ | local bucket = {} | ||
+ | local t = {} | ||
+ | for word in stdin:gmatch("([%S]+)") do | ||
+ | if (string.len(word) > 6 and string.find(word,"研究") == nil and string.find(word,"処方") == nil and string.find(word,"有効") == nil and string.find(word,"漢方") == nil) then | ||
+ | if (bucket[word] ~= nil) then | ||
+ | bucket[word] = bucket[word] + 1 | ||
+ | else | ||
+ | bucket[word] = 1 | ||
+ | end | ||
+ | end | ||
+ | end | ||
+ | for key,value in pairs(bucket) do | ||
+ | if (value < 3) then bucket[key] = nil end | ||
+ | ---if (string.find(key,"研究")) then bucket[key] = nil end | ||
+ | end | ||
+ | for key,value in pairs(bucket) do | ||
+ | print(key) | ||
+ | end | ||
+ | | | ||
+ | {{#replace: | ||
+ | {{#repeat:Kampo/Reference/GetTitle|1| | ||
+ | {{#var:list}} | ||
+ | }}|[ぁ-ん,()『』\n]+| }} | ||
+ | }} | ||
+ | |||
=={{Bilingual|文献情報|References}}== | =={{Bilingual|文献情報|References}}== | ||
'''Total {{#count:{{#var:list}}}} articles found.''' | '''Total {{#count:{{#var:list}}}} articles found.''' | ||
{{#Repeat:Kampo/Reference/Item|1|{{#var:list}}}} | {{#Repeat:Kampo/Reference/Item|1|{{#var:list}}}} |
Revision as of 00:08, 27 August 2010
Related keywords
References
Total 0 articles found.