Skip to content

Commit 04850a2

Browse files
committed
fix typo
1 parent a6ecf3a commit 04850a2

File tree

2 files changed

+39
-9
lines changed

2 files changed

+39
-9
lines changed

Demo.ipynb

+38-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 3,
5+
"execution_count": 1,
66
"metadata": {},
77
"outputs": [],
88
"source": [
@@ -12,7 +12,7 @@
1212
},
1313
{
1414
"cell_type": "code",
15-
"execution_count": 4,
15+
"execution_count": 2,
1616
"metadata": {},
1717
"outputs": [
1818
{
@@ -29,7 +29,7 @@
2929
},
3030
{
3131
"cell_type": "code",
32-
"execution_count": 5,
32+
"execution_count": 3,
3333
"metadata": {},
3434
"outputs": [
3535
{
@@ -49,7 +49,7 @@
4949
]
5050
},
5151
"metadata": {},
52-
"execution_count": 5
52+
"execution_count": 3
5353
}
5454
],
5555
"source": [
@@ -58,15 +58,45 @@
5858
},
5959
{
6060
"cell_type": "code",
61-
"execution_count": 6,
61+
"execution_count": 4,
6262
"metadata": {},
6363
"outputs": [
64+
{
65+
"output_type": "display_data",
66+
"data": {
67+
"text/plain": "HBox(children=(FloatProgress(value=0.0, max=47124.0), HTML(value='')))",
68+
"application/vnd.jupyter.widget-view+json": {
69+
"version_major": 2,
70+
"version_minor": 0,
71+
"model_id": "a5478389bdef45a9b540ab5820f00d02"
72+
}
73+
},
74+
"metadata": {}
75+
},
6476
{
6577
"output_type": "stream",
66-
"name": "stderr",
78+
"name": "stdout",
79+
"text": [
80+
"\n"
81+
]
82+
},
83+
{
84+
"output_type": "display_data",
85+
"data": {
86+
"text/plain": "HBox(children=(FloatProgress(value=0.0, max=8316.0), HTML(value='')))",
87+
"application/vnd.jupyter.widget-view+json": {
88+
"version_major": 2,
89+
"version_minor": 0,
90+
"model_id": "c614aa1937ff47549baf3090e416fb5c"
91+
}
92+
},
93+
"metadata": {}
94+
},
95+
{
96+
"output_type": "stream",
97+
"name": "stdout",
6798
"text": [
68-
"Loading cached processed dataset at /home/zaid/.cache/huggingface/datasets/metrec/plain_text/1.0.0/0aa53fa2a3ad2b8c6301f689d374ca15ee2b410077a2bb35a85766425cd5b435/cache-8b2aa90713d28589.arrow\n",
69-
"Loading cached processed dataset at /home/zaid/.cache/huggingface/datasets/metrec/plain_text/1.0.0/0aa53fa2a3ad2b8c6301f689d374ca15ee2b410077a2bb35a85766425cd5b435/cache-2d37aca31a07b63b.arrow\n"
99+
"\n"
70100
]
71101
}
72102
],

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ from datasets import load_dataset
4343

4444
dataset = load_dataset('metrec')
4545

46-
cleander = tn.Tnqeeh(remove_diacritics = True)
46+
cleander = tn.Tnkeeh(remove_diacritics = True)
4747
cleaned_dataset = cleander.clean_hf_dataset(dataset, 'text')
4848

4949
```

0 commit comments

Comments
 (0)