Template:Kampo/Reference

From Metabolomics.JP
< Template:Kampo(Difference between revisions)
Jump to: navigation, search
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
{{#def:list|{{#SearchLine:^&&{{PAGENAME}}|KampoReference}}}}
+
{{#def:list|{{#SearchLine:^&&{{{1|{{PAGENAME}}}}}|KampoReference}}}}
 
=={{Bilingual|関連キーワード|Related keywords}}==
 
=={{Bilingual|関連キーワード|Related keywords}}==
 
{{#lua:
 
{{#lua:
Line 5: Line 5:
 
   local t = {}
 
   local t = {}
 
   for word in stdin:gmatch("([%S]+)") do
 
   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 (string.len(word) > 6 and string.find(word,"漢方") == nil) then
 
       if (bucket[word] ~= nil) then
 
       if (bucket[word] ~= nil) then
 
         bucket[word] = bucket[word] + 1
 
         bucket[word] = bucket[word] + 1
Line 15: Line 15:
 
   for key,value in pairs(bucket) do
 
   for key,value in pairs(bucket) do
 
     if (value < 3) then bucket[key] = nil end
 
     if (value < 3) then bucket[key] = nil end
    ---if (string.find(key,"研究")) then bucket[key] = nil end
 
 
   end
 
   end
 
   for key,value in pairs(bucket) do
 
   for key,value in pairs(bucket) do
Line 24: Line 23:
 
   {{#repeat:Kampo/Reference/GetTitle|1|
 
   {{#repeat:Kampo/Reference/GetTitle|1|
 
     {{#var:list}}
 
     {{#var:list}}
   }}|[-ん,()『』\n]+|&#160;}}
+
   }}|[a-zA-Z0-9ぁ-ん,()『』【】\n%-']+|&#160;}}
 
}}
 
}}
  

Latest revision as of 15:24, 31 August 2010

[edit] Related keywords

[edit] References

Total 0 articles found.

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox