Skip to content

Commit 8a15b91

Browse files
committed
fix some tests
1 parent f63f605 commit 8a15b91

File tree

5 files changed

+86
-69
lines changed

5 files changed

+86
-69
lines changed

docs/source/examples/tutorial.ipynb

+20
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,26 @@
173173
"print(\"Before:\", string_example)"
174174
]
175175
},
176+
{
177+
"cell_type": "code",
178+
"execution_count": 21,
179+
"metadata": {},
180+
"outputs": [
181+
{
182+
"data": {
183+
"text/plain": [
184+
"'¡Hola! ¿Cómo estás? 😀 #buenasvibes'"
185+
]
186+
},
187+
"execution_count": 21,
188+
"metadata": {},
189+
"output_type": "execute_result"
190+
}
191+
],
192+
"source": [
193+
"tp.remove_repetitions(string = \"¡Hola! ¿Cómo estás? 😀 #buenasvibes\")"
194+
]
195+
},
176196
{
177197
"cell_type": "code",
178198
"execution_count": 7,

tests/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
from tidyX.TextPreprocessor import TextPreprocessor

tests/text_normalization_tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
from tidyX import TextNormalization
2+
from tidyX.text_normalization import TextNormalization
33
import spacy
44

55
class TestTextNormalization(unittest.TestCase):

0 commit comments

Comments
 (0)