啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊相关的知识,希望对你有一定的参考价值。

 

 

 

 

 

 

 

 

 

 

news=‘‘‘"President tells officials at conference to focus on safety, where the public has noted improvement

President Xi Jinping has called for more systematic and innovative social governance, stressing the need to improve the capability to predict and prevent security risks.

Xi, general secretary of the Communist Party of China Central Committee, was speaking on Tuesday at a Beijing conference to award individuals and units that have made outstanding contributions to the public security governance sector in the past five years.

Since late 2012, people working in political and legal affairs have innovated social governance methods and dealt with large numbers of outstanding problems, making the general public feel safer, he said.

The sense of security of the Chinese public has increased from 88 percent in 2012 to 92 percent in 2016, according to data released on Tuesday by the Central Committee for Comprehensive Management of Public Security, a central level authority in charge of social governance in China.

However, Xi wants more effort to be taken to build a safer China. The authorities involved should be aware of the difficulties and challenges, carefully analyze the current situation of Chinese society, adopt technological innovation methods and improve the capacity to forecast and prevent risks, he said.

Xi also stressed that social governance officers should have a better sense of the rule of law.

More than 500 members from central and local political and law departments, as well as outstanding individuals and units, are participating in the two-day meeting, which concludes on Wednesday.

"I‘m excited and inspired after listening to the president‘s remarks, which made a comprehensive summary of social governance in the past five years and outlined the new requirements and tasks in the future," said Huang Ming, vice-minister of public security.

Huang said the most valuable lesson he has learned is to go with the "innovative ideas and strategies to tackle the issues involving social security and win the support of the people".

He Wenhao, a senior official in charge of political and legal affairs in the Tibet autonomous region who attended the conference, said the president‘s speech has built up his confidence in safeguarding Tibet.

He said the biggest challenge he now faces is fighting "the separatist forces to ensure the continuous safety and stability in Tibet"."‘‘‘

news=news.lower()
for i in ,.?":
    news=news.replace(i," ")
words=news.split(" ")
word = set(words)
delwords={"the","and","of","to","in","a","on"}
word=word-delwords
dic={}
for i in word:
    dic[i]= words.count(i)
    
words=list(dic.items())
words.sort(key=lambda x:x[1],reverse=True)
print(words)
for i in range(11):
    word,count=words[i]
    print("{} {}".format(word,count))

技术分享

 

 

 

 

file=open("test.txt","w")
file.write(‘‘‘President tells officials at conference to focus on safety, where the public has noted improvement

President Xi Jinping has called for more systematic and innovative social governance, stressing the need to improve the capability to predict and prevent security risks.

Xi, general secretary of the Communist Party of China Central Committee, was speaking on Tuesday at a Beijing conference to award individuals and units that have made outstanding contributions to the public security governance sector in the past five years.

Since late 2012, people working in political and legal affairs have innovated social governance methods and dealt with large numbers of outstanding problems, making the general public feel safer, he said.

The sense of security of the Chinese public has increased from 88 percent in 2012 to 92 percent in 2016, according to data released on Tuesday by the Central Committee for Comprehensive Management of Public Security, a central level authority in charge of social governance in China.

However, Xi wants more effort to be taken to build a safer China. The authorities involved should be aware of the difficulties and challenges, carefully analyze the current situation of Chinese society, adopt technological innovation methods and improve the capacity to forecast and prevent risks, he said.

Xi also stressed that social governance officers should have a better sense of the rule of law.

More than 500 members from central and local political and law departments, as well as outstanding individuals and units, are participating in the two-day meeting, which concludes on Wednesday.

"I‘m excited and inspired after listening to the president‘s remarks, which made a comprehensive summary of social governance in the past five years and outlined the new requirements and tasks in the future," said Huang Ming, vice-minister of public security.

Huang said the most valuable lesson he has learned is to go with the "innovative ideas and strategies to tackle the issues involving social security and win the support of the people".

He Wenhao, a senior official in charge of political and legal affairs in the Tibet autonomous region who attended the conference, said the president‘s speech has built up his confidence in safeguarding Tibet.

He said the biggest challenge he now faces is fighting "the separatist forces to ensure the continuous safety and stability in Tibet".‘‘‘)
file.close()
file=open("test.txt","r")
news=file.read()
news=news.lower()
for i in ,.?":
    news=news.replace(i," ")
words=news.split(" ")
word = set(words)
delwords={"","the","and","of","to","in","a","on"}
word=word-delwords
dic={}
for i in word:
    dic[i]= words.count(i)
    words=list(dic.items())
    words.sort(key=lambda x:x[1],reverse=True)
    print(words) for i in range(11): word,count=words[i]
    print("{} {}".format(word,count))

 

pip install jieba

Users\\duym\\AppData\\Local\\Programs\\Python\\Python36>pip install wordcloud-1.3.2-cp36-cp36m-win_amd64.whl

import jieba
file=open("a.txt","r",encoding="GBK")
file=file.read()
words=list(jieba.cut(file))
delword={"\\n","\\u3000","(",")",""," ","",""}
keys=set(words)-delword
dic={}
for i in keys:
    dic[i]=words.count(i)
items=list(dic.items())
items.sort(key=lambda x:x[1],reverse=True)
print(words)
for i in range(11):
    word,count=items[i]
    print("{} {}".format(word,count))
file.close()

 技术分享

以上是关于啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊的主要内容,如果未能解决你的问题,请参考以下文章

。。。

啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊

再见青春。

啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊

啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 头要爆炸了

如何连接两个csv文件?