diff --git a/.idea/dictionaries/wuwenbin.xml b/.idea/dictionaries/wuwenbin.xml
new file mode 100644
index 0000000..b62c455
--- /dev/null
+++ b/.idea/dictionaries/wuwenbin.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..e714a9f
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..6b25599
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/w_DeepLearningStartUp.iml b/.idea/w_DeepLearningStartUp.iml
new file mode 100644
index 0000000..6711606
--- /dev/null
+++ b/.idea/w_DeepLearningStartUp.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..71b12a2
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,223 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Buildout
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $USER_HOME$/.subversion
+
+
+
+
+ 1506781073250
+
+
+ 1506781073250
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frequency_count_0W.py b/frequency_count_0W.py
new file mode 100644
index 0000000..afc707e
--- /dev/null
+++ b/frequency_count_0W.py
@@ -0,0 +1,38 @@
+from zhon.hanzi import punctuation
+import nltk
+import operator
+
+#获取文本内容
+with open("happiness_seg.txt",encoding='utf-8') as f:
+ text = f.read()
+
+#去除标点、空格
+words = text.split()
+
+word_list =[]
+
+for word in words:
+ if word not in punctuation:
+ word_list.append(word)
+
+#组成二元分词列表
+
+bigram = list(nltk.bigrams(word_list))
+
+#计算二元分词出现的频率
+
+bigram_frequency ={}
+
+for bigram_words in bigram:
+ if bigram_words not in bigram_frequency:
+ bigram_frequency[bigram_words] = 1
+ else:
+ bigram_frequency[bigram_words] += 1
+
+#输入出现次数最多的前十个
+bigram_frequency_sorted = sorted(
+ bigram_frequency.items(), key=operator.itemgetter(1),reverse=True)
+
+print("出现频率最高的前 10 个「二元词组」是")
+for i in range(10):
+ print(bigram_frequency_sorted[i])