开发环境:Mac OS 软件版本:Java JRE 1.8.0、Python 3.7、Terrier5.0
cd modules/xml 下,执行脚本:
python3 clinicaltrials_xml.py
cd modules/xml 下,执行脚本:
python3 process.py
cd modules/xml 下,执行脚本:
python3 clinicaltrials_age.py
python3 topics2018_XmlAndAge.py
处理后病例、topic的Age和topic主要字段文件存放在:
collection_pre/clinicaltrials_AgeInfo.csv
collection_pre/topics2018_Age.csv
collection_pre/topics2018.xml
bin/trec_setup.sh collection_pre1
bin/terrier batchindexing
bin/terrier indexstats