mirror of
https://github.com/WMK965/965-Python-Learning-Repo.git
synced 2025-04-27 07:53:21 +00:00
扩展Wordcloud_GUI项目功能
This commit is contained in:
parent
90ba1e4442
commit
3e12e5f67e
@ -1,3 +1,4 @@
|
||||
import wordcloud
|
||||
from PyQt5 import QtGui, uic
|
||||
from PyQt5.QtWidgets import *
|
||||
import tkinter as tk
|
||||
@ -76,6 +77,22 @@ class mainthread:
|
||||
cursor.insertText(f"[Sys]:File codec detected: UTF-8\n")
|
||||
self.mainWindow.LogBrowser.setTextCursor(cursor)
|
||||
self.mainWindow.LogBrowser.ensureCursorVisible()
|
||||
elif "Johab" in result:
|
||||
boot1 = 1
|
||||
WcModule.codec = "johab"
|
||||
cursor.movePosition(QtGui.QTextCursor.End)
|
||||
cursor.insertText(f"[Sys]:File codec detected: Johab\n")
|
||||
WcModule.stopwords = {'of', 'to', 'the', 'on', 'and', 'in'}
|
||||
self.mainWindow.LogBrowser.setTextCursor(cursor)
|
||||
self.mainWindow.LogBrowser.ensureCursorVisible()
|
||||
elif "ascii" in result:
|
||||
boot1 = 1
|
||||
WcModule.codec = "ascii"
|
||||
cursor.movePosition(QtGui.QTextCursor.End)
|
||||
cursor.insertText(f"[Sys]:File codec detected: ASCII\n")
|
||||
WcModule.stopwords = {'of', 'to', 'the', 'on', 'and', 'in'}
|
||||
self.mainWindow.LogBrowser.setTextCursor(cursor)
|
||||
self.mainWindow.LogBrowser.ensureCursorVisible()
|
||||
else:
|
||||
boot1 = 0
|
||||
cursor.movePosition(QtGui.QTextCursor.End)
|
||||
|
35
resources/444.txt
Normal file
35
resources/444.txt
Normal file
@ -0,0 +1,35 @@
|
||||
Doubts raised over Fukushima survey
|
||||
By YANG HAN in Hong Kong | CHINA DAILY | Updated: 2023-05-26 07:21
|
||||
An aerial view shows the storage tanks for treated water at the tsunami-crippled Fukushima Daiichi nuclear power plant in Okuma town, Fukushima prefecture, Japan, Feb 13, 2021, in this photo taken by Kyodo. [Photo/Agencies]
|
||||
|
||||
Low expectations surround the visit of South Korean experts to the crippled Fukushima nuclear power plant, even after the lead scientist admitted it is likely the team could "make progress".
|
||||
|
||||
Doubts over the inspection trip center on the ability to gather satisfactory results, according to experts, while South Korean critics expressed wariness over the visit being used by the Japanese to shift negative sentiment, especially over fish caught in the area surrounding the plant.
|
||||
|
||||
The South Korean inspection team's visit to Fukushima will find it hard to generate good results, just like the previous visit conducted by Taiwan experts last year, Yang Ki-ho, professor of Japanese studies at Sungkonghoe University in Seoul, told China Daily.
|
||||
|
||||
"Unfortunately, the discharge of contaminated water may not be able to be stopped," said Yang, who told local media earlier in May that Tokyo may use the visit to justify the release of the contaminated water, saying that it did its best to alleviate the concerns of the adjacent nation.
|
||||
|
||||
On Wednesday, a team of 21 South Korean experts completed their two-day on-site inspection of the Fukushima nuclear power plant for the dilution and discharge of radioactive wastewater, according to South Korea's Yonhap News Agency.
|
||||
|
||||
Led by South Korea's Nuclear Safety and Security Commission Chairperson Yoo Guk-hee, the team's sixday visit was part of an agreement reached between South Korean President Yoon Suk-yeol and Japanese Prime Minister Fumio Kishida during their summit in Seoul on May 7.
|
||||
|
||||
On May 23, South Korean experts examined the Advanced Liquid Processing System, or ALPS, purification process at the plant and facilities related to the K4 tanks designed to store and conduct measurements of radioactive substances.
|
||||
|
||||
Noting that the team examined all the facilities they wanted to see, Yoo told reporters they will likely be able to "make progress" in terms of assessing the safety of the water.
|
||||
|
||||
Criticism aired
|
||||
|
||||
The team was not able to independently collect water samples but was analyzing those collected earlier by the International Atomic Energy Agency, or IAEA. The IAEA is expected to issue a final report on Japan's water release plan in late June.
|
||||
|
||||
In 2011, a massive earthquake and subsequent tsunami destroyed the Fukushima Daiichi nuclear power plant's cooling systems. The plant currently stores over 1.3 million tons of water treated using ALPS. Japan plans to begin releasing that water as early as this summer, with the process set to last decades.
|
||||
|
||||
Critics in South Korea said the visit might be used to shift negative sentiment on the possible contamination of seafood products from Fukushima.
|
||||
|
||||
Though South Korea said it will not consider lifting its import ban on seafood from Fukushima even if the water discharge plan is evaluated as safe, Presidential Chief of Staff Kim Dae-ki said on May 24 that South Korea's fisheries products exhibited no problems even directly after the Fukushima accident when substances more radioactive than the contaminated water went out into the sea.
|
||||
|
||||
By using this logic, the government has lost the justification to stop the wastewater release plan, said Park Seong-jun, spokesperson for the main opposition Democratic Party, or DP.
|
||||
|
||||
The DP proposed on May 24 that the National Assembly adopt a resolution opposing Japan's plan to discharge radioactive water from the Fukushima plant.
|
||||
|
||||
South Koreans are very concerned about the visit because the information on what they actually did is not released to the outside, said Lee Seok-woo, a professor at the Inha University Law School. More time should be given to evaluate the safety of nuclear wastewater, Lee said.
|
29
resources/555.txt
Normal file
29
resources/555.txt
Normal file
@ -0,0 +1,29 @@
|
||||
China opposes WHO body's Ukraine motion
|
||||
China Daily Global | Updated: 2023-05-26 09:37
|
||||
[Photo/Xinhua]
|
||||
|
||||
It votes against Western-led resolution, says health issues should not be politicized
|
||||
|
||||
China voted against a resolution with reference to Russian "aggression" against Ukraine, as the country has always opposed politicization of health issues, said a Chinese delegate on Wednesday at a meeting of the 76th World Health Assembly in Geneva, Switzerland.
|
||||
|
||||
The WHA is the decision-making body of the World Health Organization.
|
||||
|
||||
The resolution, which was proposed by 43 countries, mostly Western nations, claims that the Russia-Ukraine conflict has caused a "continued health emergency" in and "wider regional and humanitarian impacts" on Ukraine as civilians have died, refugees are fleeing, and risks of radiological, biological and chemical incidents have appeared.
|
||||
|
||||
The motion passed with 80 votes in favor, nine against and 52 abstentions, with 36 WHO member states absent.
|
||||
|
||||
"Health issues are technical issues in the professional field, and the Ukraine crisis concerns international peace and security. The WHO is not an appropriate venue to discuss this issue," the delegate from China told the committee of the assembly.
|
||||
|
||||
"China has always opposed the politicization of health issues. We hope that the WHO will continue to focus on its main responsibilities and avoid introducing controversial issues and political expressions that will affect the process of the WHA," he added.
|
||||
|
||||
The delegate also mentioned a paper released in February that stated China's position on the Russia-Ukraine conflict. The paper put forward 12 key solutions, including ceasing hostilities, resuming peace talks, resolving the humanitarian crisis, protecting civilians and prisoners of war, and keeping nuclear power plants safe.
|
||||
|
||||
"This is another manifestation of China's commitment to promoting peace and negotiations, fully demonstrating China's firm stand on the side of peace," he said.
|
||||
|
||||
Belarus also opposed the motion, and the country's delegate expressed concern that the Western-led initiative would cause further escalation of the conflict.
|
||||
|
||||
"The Western countries are increasing the supply of weapons to the country, weapons which create such a huge problem for the health of the population. Are they really hoping to solve the health crisis in Ukraine? I think that the answer is quite clear," the delegate said.
|
||||
|
||||
The representative of Brazil, which is one of the 52 countries that abstained from voting, said that singling out the Ukraine situation without referring to other similar and serious crises is not appropriate, and the WHO is not a suitable place for discussing such a conflict.
|
||||
|
||||
"We would like to recall the limits of the mandate of the WHO in accordance with its Constitution. Topics such as peace and security, international humanitarian law, human rights and international law have their own spaces for debate," he said.
|
Loading…
Reference in New Issue
Block a user