中醫藥基準方劑
http://www.ccmp.gov.tw/information/formula.asp?tp=1&selno=0&relno=549
Program
- LWP 下載網頁練習
- Get_ccmp_HomePage_1.pl(方劑項目)
- Get_ccmp_HomePage_2.pl(方劑內容)
- 下載方劑項目
- Get_ccmp_MedicinePages_1.pl
- Get_ccmp_MedicinePages_2.pl("PageNo"=>"1")
- Get_ccmp_MedicinePages_3.pl ($NumOfPage)
- Get_ccmp_MedicinePages_4.pl
(輸出方劑項目之頁面(共四頁)到目錄『MedicinePages』)
- Get_ccmp_MedicinePages_5.pl(針對不同的"tp"=>"$tp")
- Get_ccmp_MedicinePages_5._1pl($URL =~ s/tp=1/tp=$tp/;)
- 解析方劑之URL
- ParseMedicineURL_1.pl
- ParseMedicineURL_2.pl (($Line =~ /<a href="formula_detail\.asp\?no=(\d+)&selno=0&relno=549"
class="news">(.+)<\/a>/))
- ParseMedicineURL_3.pl
("$Package\t$OneURL\n")
- ParseMedicineURL_4.pl ( It seems the same as
the "ParseMedicineURL_3.pl"?)
- ParseMedicineURL_5.pl("$cnt\t$Package\t$OneURL\n";)
- 下載每一個方劑
- GetEachMedicinePage_2.pl
- GetEachMedicinePage_1.pl(getstore())
- 解析方劑成分
MedicineContentPages.rar
- ParseMedicineContent_1.pl
- ParseMedicineContent_2.pl(+"MedContentList.txt")
- ParseMedicineContent_3.pl(#Encoding::encode("big5",
decode("utf-8", $Component));)
- ParseMedicineContent_4.pl
- ParseMedicineContent_5.pl(+"MedContentList_ForAssociationRule.html")
- 關連法則(Data-Mining-AssociationRules-0.10)