|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
还是从word文档中提取一些字符,但是这些字符都是些,英语论文的引用格式,而且不能用re模块。
比如这两段是我通过python-docx读取下来的两端内容。
str1='were blamed for adolescent violence and suicide (Martin et al., 1993; Weinstein, 2000) 1. The shocking nature of these crimes are memorable, and as such are easily brought to mind when people think of heavy metal music. By discussing the availability heuristic—basing the likelihood of an event on the ease with which it comes to mind—educators can challenge students to consider what evidence they have used to assess the impact of music on behavior (Kahneman et al., 1982).'
str2='people from the supposedly harmful effects of listening to heavy metal music. The PMRC can be used as a way to introduce further logical fallacies, such as the emotional fallacy (e.g., Slovic and Peters, 2006) and the argument from authority (Smith, 2010). '
如何取到(Martin et al., 1993; Weinstein, 2000),(Kahneman et al., 1982)(e.g., Slovic and Peters, 2006)(Smith, 2010),这些字符串呢。。
麻烦大佬们帮我想想办法,我头都炸了。 |
|