Skip to content

Commit 6f72658

Browse files
committed
Update 1YAKE.ipynb
1 parent 111829e commit 6f72658

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs-site/public/1YAKE.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
},
337337
{
338338
"cell_type": "code",
339-
"execution_count": 3,
339+
"execution_count": null,
340340
"metadata": {},
341341
"outputs": [
342342
{
@@ -351,7 +351,7 @@
351351
}
352352
],
353353
"source": [
354-
"from yake.highlight import TextHighlighter\n",
354+
"from yake.core.highlight import TextHighlighter\n",
355355
"\n",
356356
"th = TextHighlighter(max_ngram_size = 3)\n",
357357
"th.highlight(text, keywords)"
@@ -366,7 +366,7 @@
366366
},
367367
{
368368
"cell_type": "code",
369-
"execution_count": 4,
369+
"execution_count": null,
370370
"metadata": {},
371371
"outputs": [
372372
{
@@ -381,7 +381,7 @@
381381
}
382382
],
383383
"source": [
384-
"from yake.highlight import TextHighlighter\n",
384+
"from yake.core.highlight import TextHighlighter\n",
385385
"th = TextHighlighter(max_ngram_size = 3, highlight_pre = \"<span class='my_class'>\", highlight_post= \"</span>\")\n",
386386
"th.highlight(text, keywords)"
387387
]
@@ -395,7 +395,7 @@
395395
},
396396
{
397397
"cell_type": "code",
398-
"execution_count": 4,
398+
"execution_count": null,
399399
"metadata": {},
400400
"outputs": [
401401
{

0 commit comments

Comments
 (0)