null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
6044273
腰果国考
Description
Algorithm of the python text processing
No tags specified
腰果
国考
python
procedure flow
applysquare
Mind Map by
FeiFei Liu
, updated more than 1 year ago
More
Less
Created by
FeiFei Liu
over 8 years ago
6
0
0
Resource summary
腰果国考
major
major_list = re.split()
if contains ['本科','硕士','研究生']
是否以 '硕士'结尾
'硕士'结尾 且 非re.search(r'本科|研究生')
ba: [major1, major2]
否则
ba: [major1, major2] ma: [major1, major2]
学历分前/后
if re.search(r'本科\w?(硕士|研究生)')
all: [major1, major2]
if not contains ['本科','硕士','研究生']
all: [major1, major2]
study experience
re.split(r'仅限|及以上|或|[\(\)()]')
大专:0 本科:1 硕士/研究生:2 博士:3
if contain '仅限'
取最高学历
否则, 提取学历List
同时把高于list的学历也同时提取
degree
self._degree.get(text, -1), 无要求或未匹配上则显示为-1
political status
re.split(r'或', text), 返回一个list
groot_work
工作年份: 无限制
return (-1, 'no', [])
工作年份: 1,2,3,4,>5
类别无限制
return (n, 'no', [])
类别有限制
return (n, 'yes', ['sanzhi', 'west']) etc
fresh_graduate
contains '应届' and not contain '非应届'
return xxx年应届生 or 应届生
hometown
contain '生源'
return 1
re.search(r'(?:仅?限|面向|要求|\b)(\w+?)户籍|现\w*?户籍\w*?为')
return 1
english
re.findall(r'(?<=英语)?(专?业?)(?:英语)?(四|六|八)级'
四级:4 六级:6 专四:14 专八:18
certificate
accouting practice qualification
if re.search(r'会计从业\w*?证')
return 1
CPA
if contains '注册会计'
return 1
NCRE
if re.search(r'计算机\w+?级'
return 1
minority
if re.search(r'(限|定向|\b)\w+?族')
return 1
Show full summary
Hide full summary
Want to create your own
Mind Maps
for
free
with GoConqr?
Learn more
.
Similar
Python Quiz
karljmurphy
Think Python
tsilvo2001
Basic Python - Print Formatting
Rebecca Noel
What is Python?
Daniel Ingram
Python
54671
Know your Python!
educ8ict
Basic Python - Strings
Rebecca Noel
Study on IoT systems design
Tomasz Cieplak
OpenSource Programming
Faheem Ahmed
Python
Kirstie Wu
Basic Python - Lists
Rebecca Noel
Browse Library