Fork me on GitHub
摘要: 代码参考:https://github.com/liuhuanyong/QASystemOnMedicalKG 自己做了的一些注释和改动:https://github.com/taishan1994/medical_question_and_answer_knowledge_graph/ 环境依赖 阅读全文
posted @ 2021-04-06 21:43 西西嘛呦 阅读(2905) 评论(4) 推荐(0) 编辑
摘要: ##Python中提供了3个判断字符串的方法。 分别是: 字符串.isdecimal() 字符串.isdigit() 字符串.isnumeric() 这三个方法都可以判断字符串是否是由纯阿拉伯数字构成,即0-9组成的数字。 这三个方法的区别: 字符串.isdecimal() :只能判断0-9组成的数 阅读全文
posted @ 2021-04-06 15:37 西西嘛呦 阅读(686) 评论(0) 推荐(0) 编辑