下载 Java 版 Pubmed 摘要
有没有人有一个程序的实现,可以下载带有标题、作者、日期和内容的已发布摘要,以便在给定 MESH 术语的情况下将纯文本文件分开?
Does anyone have an implementation of a program that downloads pubmed abstracts with title, author, date, and content to separate plaintext files given a MESH term?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
http://www.ncbi.nlm .nih.gov/entrez/eutils/soap/v2.0/DOC/esoap_java_help.html 有一个示例。它对我来说就像一种魅力。
我将代码作为 Maven 项目发布在 github 上
http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/DOC/esoap_java_help.html has an example. It worked for me like a charm.
I posted the code as a maven project on github
PubMed 主页上有一个内置功能,用于下载不同类型的文件(例如 XML、CSV 和纯文本文件)。只需进行搜索,然后选择“发送到”,您就会看到大量选项。
There is a built-in function for downloading different type of files (for example XML, CSV, and plain text files) right on the PubMed homepage. Just make a search and then select "Send to" where you'll be given a plethora of options.
作为 esoap 的替代方案,您还可以使用 RESTful API。
假设您想要获取带有
MESH 关键字:galactosylceramides
的所有文章,那么您的查询将如下所示:http://www.ebi.ac .uk/europepmc/webservices/rest/search/resulttype=core&query=KW:galactosylceramides
当然,你必须解析xml结果,但我不认为这是一个大问题。
As an alternative to esoap you can also use RESTful API.
Assuming that you want to get all articles with
MESH keyword: galactosylceramides
then your query would look like:http://www.ebi.ac.uk/europepmc/webservices/rest/search/resulttype=core&query=KW:galactosylceramides
Of course, you have to parse xml result, but I don't think it's a big problem.
这里有一个例子,但不是 Java 的。 http://www.ncbi.nlm.nih.gov/books/NBK25500/
There is an example here, but not in Java. http://www.ncbi.nlm.nih.gov/books/NBK25500/