明天去南京

明天去南京,参加 支付宝 2008 校园招聘会南京大学站。自己算临时被抓壮丁的,主要是运维相关面试( SA / DBA ),如果有人对 Web 前端技术有兴趣,也可以谈一下。

早晨出发,中午到。下午要去参观一下途牛网,拜见一下几位大牛 (推荐一下隽辰同学这个敦煌相册,祖国大好河山就是美呀!) 。

2002 年的时候去过南京一次,当时也是出差,只记得南京的酱鸭了,不过现在不能吃这些东西了。

EOF

附:关于招聘的 FAQ

Google+
import random # 地名代表词列表 places = ['北京', '上海', '广州', '深圳', '成都', '杭州', '武汉', '南京', '重庆', '西安'] # 时间代表词列表 times = ['今天', '明天', '后天', '周一', '周二', '周三', '周四', '周五', '周六', '周日'] # 生成50条自然语句 sentences = [] for i in range(50): r = random.randint(0, 5) if r == 0: sentences.append(f"请给我买一张从{random.choice(places)}到{random.choice(places)}的火车票。") elif r == 1: sentences.append(f"我想去{random.choice(places)},请帮我定一张火车票。") elif r == 2: sentences.append(f"我要乘坐明天的G1234次列车去{random.choice(places)}。") elif r == 3: sentences.append(f"请问明天从{random.choice(places)}到{random.choice(places)}的火车票还有吗?") else: sentences.append(f"请给我买一张{random.choice(times)}从{random.choice(places)},{random.choice(times)}到{random.choice(places)}的火车票。") # 定义标记函数 def tag_word(word): if word.startswith('北京') or word.startswith('上海') or word.startswith('广州') or word.startswith('深圳') or word.startswith('成都') or word.startswith('杭州') or word.startswith('武汉') or word.startswith('南京') or word.startswith('重庆') or word.startswith('西安'): if len(word) == 2: return 'B-Placeofdeparture', 'O' else: return 'B-Placeofdeparture', 'I-Placeofdeparture' elif word in ['今天', '明天', '后天', '周一', '周二', '周三', '周四', '周五', '周六', '周日']: if len(word) == 2: return 'B-Departuretime', 'O' else: return 'B-Departuretime', 'I-Departuretime' elif word.startswith('G') and word[1:].isdigit(): return 'O', 'O' else: if len(word) == 2: return 'B-Destination', 'O' else: return 'B-Destination', 'I-Destination' # 对每一个字进行标记 with open('ziran1234.txt', 'w') as f: for sentence in sentences: for word in sentence: tag1, tag2 = tag_word(word) f.write(f"{word}\t{tag1}\t{tag2}\n") f.write('\n')
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值