Spaces:
Runtime error
Runtime error
Commit
·
a7fd18a
1
Parent(s):
61a2d8c
memory draf lib, grapher draft lib
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def entropy_magic(texto_ejemplo):
|
|
| 26 |
|
| 27 |
text_processor = TextProcessor(texto_ejemplo)
|
| 28 |
spliter_optimo = text_processor.magic_split()
|
| 29 |
-
return (text_processor.
|
| 30 |
|
| 31 |
|
| 32 |
|
|
|
|
| 26 |
|
| 27 |
text_processor = TextProcessor(texto_ejemplo)
|
| 28 |
spliter_optimo = text_processor.magic_split()
|
| 29 |
+
return (text_processor.tokenize(spliter_optimo),text_processor.entropy())
|
| 30 |
|
| 31 |
|
| 32 |
|