Skip to content

Commit 8b48247

Browse files
committed
removing punctuations-2
1 parent 72b96f9 commit 8b48247

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

removing punctuations from text.ipynb

+10-10
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
{
3737
"cell_type": "code",
38-
"execution_count": 71,
38+
"execution_count": 3,
3939
"metadata": {},
4040
"outputs": [
4141
{
@@ -60,7 +60,7 @@
6060
},
6161
{
6262
"cell_type": "code",
63-
"execution_count": 70,
63+
"execution_count": 4,
6464
"metadata": {},
6565
"outputs": [],
6666
"source": [
@@ -84,26 +84,26 @@
8484
},
8585
{
8686
"cell_type": "code",
87-
"execution_count": 67,
87+
"execution_count": 5,
8888
"metadata": {},
8989
"outputs": [
9090
{
9191
"name": "stdout",
9292
"output_type": "stream",
9393
"text": [
9494
"---Text with punctuations:\n",
95-
" Hello world! Remove punctuations marks from this text; will you?\n",
95+
" Hello world! Remove punctuation marks from this text; will you?\n",
9696
"By the way, Good luck.\n",
9797
"---------\n",
9898
"---Text without punctuations:\n",
99-
" Hello world Remove punctuations marks from this text will you\n",
99+
" Hello world Remove punctuation marks from this text will you\n",
100100
"By the way Good luck\n"
101101
]
102102
}
103103
],
104104
"source": [
105105
"#removing punctuations from a text with function remove_punctuations\n",
106-
"text='Hello world! Remove punctuations marks from this text;'\n",
106+
"text='Hello world! Remove punctuation marks from this text;'\n",
107107
"text+=' will you?\\nBy the way, Good luck.'\n",
108108
"print('---Text with punctuations:\\n',text)\n",
109109
"print('---------')\n",
@@ -112,26 +112,26 @@
112112
},
113113
{
114114
"cell_type": "code",
115-
"execution_count": 68,
115+
"execution_count": 6,
116116
"metadata": {},
117117
"outputs": [
118118
{
119119
"name": "stdout",
120120
"output_type": "stream",
121121
"text": [
122122
"---Text with punctuations:\n",
123-
" Hello world! Remove punctuations marks from this text; will you?\n",
123+
" Hello world! Remove punctuation marks from this text; will you?\n",
124124
"By the way, Good luck.\n",
125125
"---------\n",
126126
"---Text without punctuations:\n",
127-
" Hello world Remove punctuations marks from this text will you\n",
127+
" Hello world Remove punctuation marks from this text will you\n",
128128
"By the way Good luck\n"
129129
]
130130
}
131131
],
132132
"source": [
133133
"#removing punctuations from a text with function only_alphanumeric\n",
134-
"text='Hello world! Remove punctuations marks from this text;'\n",
134+
"text='Hello world! Remove punctuation marks from this text;'\n",
135135
"text+=' will you?\\nBy the way, Good luck.'\n",
136136
"print('---Text with punctuations:\\n',text)\n",
137137
"print('---------')\n",

0 commit comments

Comments
 (0)