From bc3af5e5a7432d4d276ffe9b8806c323aa9ef1df Mon Sep 17 00:00:00 2001 From: Dirk Roorda Date: Mon, 8 May 2023 13:40:46 +0200 Subject: [PATCH] before pull --- tutorial/test.ipynb | 55 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 49 insertions(+), 6 deletions(-) diff --git a/tutorial/test.ipynb b/tutorial/test.ipynb index 5ff09b2..9c50490 100644 --- a/tutorial/test.ipynb +++ b/tutorial/test.ipynb @@ -23,7 +23,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 3, "id": "8d2e243b-95cc-4969-af5c-d1c2517a2534", "metadata": {}, "outputs": [ @@ -67,7 +67,7 @@ "data": { "text/html": [ "\n", - " Text-Fabric: Text-Fabric API 11.2.1, ETCBC/nestle1904/app v3, Search Reference
\n", + " Text-Fabric: Text-Fabric API 11.2.2, ETCBC/nestle1904/app v3, Search Reference
\n", " Data: ETCBC - nestle1904 0.1, Character table, Feature docs
\n", "
Node types\n", "\n", @@ -1172,7 +1172,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 4, "id": "f7770990-9cd3-41c8-8fae-374930fa8e8f", "metadata": {}, "outputs": [ @@ -1180,7 +1180,7 @@ "name": "stdout", "output_type": "stream", "text": [ - " 0.15s 137779 results\n" + " 0.14s 137779 results\n" ] } ], @@ -1192,7 +1192,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 5, "id": "a34061ea-4d3a-433b-9b6f-b9de9b5d6a22", "metadata": {}, "outputs": [ @@ -1251,9 +1251,52 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 6, "id": "217eabe3-04bd-468d-b7c3-39b0b72ca2c8", "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + " 0.00s 1 result\n" + ] + } + ], + "source": [ + "results = A.search(\"\"\"\n", + "error\n", + "\"\"\")" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "676961b9-2d8b-4465-9b34-9709143b95db", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
gnt 05-acts
error
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "A.pretty(results[0][0])" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b864d865-f2e0-46bd-a7e1-f8d25f6091be", + "metadata": {}, "outputs": [], "source": [] }