分类 about english 下的文章

She gave me her version of what had happened
I'll let you have this back next week. "That's all right, there's no (great) hurry/
One person has died after the pilot of a light aircraft was forced to make a crash/
The letter was sent on Monday from Manchester and arrived in London the very same/
If you need a reference, please call my superior on the following number: 0181/
enough is enough

一天1000个 过一个单词3-5秒的时间 坚持俩月 以6000多单词为例 一星期一轮 俩月8轮 基本能记住4000多 但就是枯燥 反正我坚持下来以后有收获

children of mixed race.
the principal knows everyone by name
he government does not recognize the need for more funding.
invest in the stock market
house prices will remain static for a long period
A million pounds seemed a suitably round number.
in a dark dinner suit.
The powder is mixed with cold water to form a paste.

import re
import time
file1 = open(r'..\data\朗文双解清洗'+str(time.time())+'.csv', 'a',encoding='utf-8')
with open(r'..\data\朗文双解.csv',encoding='utf-8') as file:
    conten = file.readlines()
    for lin in conten:
        word=re.findall(r'^.*\t', lin)
        en = re.findall(r'<font class=L_SYL>(.*?)</span>', lin)
        str_first1 = re.sub('<font color=black>',"|",str(en))
        str_first2 = re.sub('<span class=L_POS>',"|",str(str_first1))
        str_first3 = re.sub('</font>',"|",str(str_first2))
        str_first4 = re.sub('<.*?>',"",str(str_first3))
        # print(str_first2)
        gg = str(word)+'\t'+str_first4 +'\n'
        file1.write(gg)
        print(word,str_first4)