|
|
发表于 2019-11-13 10:39:06
|
显示全部楼层
- import string
- str2=' ' + '.' + string.ascii_lowercase + '\n'
- str1='''Deeper research shows that health statement and other personal information may have nonlinear connections with claim risk. The traditional underwriting process may neglect some important information. The relationship between the health statement and claim risk may be very complex and impossible to be described by a function.
- In this paper we proposed a novel algorithm that firstly mines the insured data by association rule [4], [5].'''
- str1 = str1.lower()
- for i in str2:
- if str1.find(i) != -1:
- str1 = str1.replace(i, '')
- print('str1=',str1)
复制代码 |
|