In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to use Python to extract 3000 English news high-frequency vocabulary. I think it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.
The following is the process of extracting 3000 high-frequency vocabulary. if you need the final vocabulary, pull it directly to the end of the article.
1. Crawl the web page URL of ChinaDaily
two。 Request crawled URL and parse web page words
3. Perform word frequency processing on word text files
The result is:
Total number of words 3537063 words 38201 total number of words excluding suspended words: 2603450 number of words excluding inactive words: 38079
Some words and word frequencies are:
('online', 8788) (' business', 8772) ('society', 8669) (' people', 8646) ('content', 8498) (' story', 8463) ('multimedia', 8287) (' cdic', 8280) ('travel', 7959) (' com', 7691) ('cover', 7679) (' cn', 7515) ('hot', 7219) (' first', shanghai', 8669) ('photos', 6739) (' page', 8280) ('years', 7959) (' paper' 6289) ('festival', 6188) (' offer', 6064) ('sports', 6025) (' africa', 6008) ('forum', 5983)
Finally, you get a txt text file containing 3000 high-frequency words, which you can import into the word book of each major word software.
The above is how to use Python to extract 3000 English news high-frequency vocabulary. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.