From 6c7ba5e2e1698b63d9b10155862d7ac380cc5108 Mon Sep 17 00:00:00 2001 From: rausch-supola Date: Fri, 15 Nov 2024 11:25:13 +0100 Subject: [PATCH] minor fix --- .../080_01_ELAN2TEI/add_revisionDesc.ipynb | 109 ++++++++++++++---- 1 file changed, 85 insertions(+), 24 deletions(-) diff --git a/080_scripts_generic/080_01_ELAN2TEI/add_revisionDesc.ipynb b/080_scripts_generic/080_01_ELAN2TEI/add_revisionDesc.ipynb index ed886252..2419d3ff 100644 --- a/080_scripts_generic/080_01_ELAN2TEI/add_revisionDesc.ipynb +++ b/080_scripts_generic/080_01_ELAN2TEI/add_revisionDesc.ipynb @@ -3,7 +3,7 @@ { "cell_type": "code", "execution_count": 22, - "id": "b4683575", + "id": "cdad0ea5", "metadata": {}, "outputs": [], "source": [ @@ -13,7 +13,7 @@ { "cell_type": "code", "execution_count": 23, - "id": "7f30b774", + "id": "fb27398a", "metadata": {}, "outputs": [], "source": [ @@ -23,30 +23,91 @@ }, { "cell_type": "code", - "execution_count": 30, - "id": "7dd1747f", + "execution_count": 31, + "id": "ee8d163f", "metadata": {}, "outputs": [ { - "ename": "SyntaxError", - "evalue": "prefix 'tei' not found in prefix map ()", - "output_type": "error", - "traceback": [ - "Traceback \u001b[1;36m(most recent call last)\u001b[0m:\n", - "\u001b[1;36m File \u001b[1;32msrc/lxml/_elementpath.py:85\u001b[1;36m in \u001b[1;35mlxml._elementpath.xpath_tokenizer\u001b[1;36m\n", - "\u001b[1;31mKeyError\u001b[0m\n", - "\nDuring handling of the above exception, another exception occurred:\n", - "Traceback \u001b[1;36m(most recent call last)\u001b[0m:\n", - "\u001b[0m File \u001b[0;32m~\\AppData\\Local\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py:3526\u001b[0m in \u001b[0;35mrun_code\u001b[0m\n exec(code_obj, self.user_global_ns, self.user_ns)\u001b[0m\n", - "\u001b[0m Cell \u001b[0;32mIn[30], line 10\u001b[0m\n teiHeader = tree.find('.//tei:teiHeader')\u001b[0m\n", - "\u001b[0m File \u001b[0;32msrc/lxml/etree.pyx:2238\u001b[0m in \u001b[0;35mlxml.etree._ElementTree.find\u001b[0m\n", - "\u001b[0m File \u001b[0;32msrc/lxml/etree.pyx:1550\u001b[0m in \u001b[0;35mlxml.etree._Element.find\u001b[0m\n", - "\u001b[0m File \u001b[0;32msrc/lxml/_elementpath.py:323\u001b[0m in \u001b[0;35mlxml._elementpath.find\u001b[0m\n", - "\u001b[0m File \u001b[0;32msrc/lxml/_elementpath.py:312\u001b[0m in \u001b[0;35mlxml._elementpath.iterfind\u001b[0m\n", - "\u001b[0m File \u001b[0;32msrc/lxml/_elementpath.py:295\u001b[0m in \u001b[0;35mlxml._elementpath._build_path_iterator\u001b[0m\n", - "\u001b[0m File \u001b[0;32msrc/lxml/_elementpath.py:120\u001b[0m in \u001b[0;35mlxml._elementpath.prepare_descendant\u001b[0m\n", - "\u001b[1;36m File \u001b[1;32msrc/lxml/_elementpath.py:88\u001b[1;36m in \u001b[1;35mxpath_tokenizer\u001b[1;36m\n", - "\u001b[1;36m File \u001b[1;32m\u001b[1;36m\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m prefix 'tei' not found in prefix map\n" + "name": "stdout", + "output_type": "stream", + "text": [ + "write to file Urfa-011_Cemetry-Harran-2010.xml\n", + "write to file Urfa-012_Lentils-Harran-2010.xml\n", + "write to file Urfa-014_Village_of_Qoran-Harran-2010.xml\n", + "write to file Urfa-024a_Vegetabels_and_Seasonal_Work-Harran-2010.xml\n", + "write to file Urfa-024b_Vegetabels_and_Seasonal_Work-Harran-2010.xml\n", + "write to file Urfa-024_Vegetabels_and_Seasonal_Work-Harran-2010.xml\n", + "write to file Urfa-027_Cultivation-Harran-2010.xml\n", + "write to file Urfa-029_Smoking-Harran-2010.xml\n", + "write to file Urfa-033_Sheikh_Nifil-Harran-2010.xml\n", + "write to file Urfa-034_Liquorice-Harran-2010.xml\n", + "write to file Urfa-042_Hospitality-Harran-2010.xml\n", + "write to file Urfa-043_Truffle-Harran-2010.xml\n", + "write to file Urfa-044_Sacks-Harran-2010.xml\n", + "write to file Urfa-045_Gamra_Dariba-Harran-2010.xml\n", + "write to file Urfa-046_Game_Xwetime-Harran-2010.xml\n", + "write to file Urfa-047_Game_Qubbeya-Harran-2010.xml\n", + "write to file Urfa-048_Game_Cab-Harran-2010.xml\n", + "write to file Urfa-057_Story_of_Magician-Harran-2010.xml\n", + "write to file Urfa-061_Life_of_al-Harrani-Harran-2010.xml\n", + "write to file Urfa-068_Tribes_Armenians_Jews-Harran-2010.xml\n", + "write to file Urfa-069a_Armenians-Harran-2010.xml\n", + "write to file Urfa-069b_Arabicised_Kurds-Harran-2010.pfsx.xml\n", + "write to file Urfa-070_Hen_House-Harran-2010.xml\n", + "write to file Urfa-072_Villages-Harran-2010.xml\n", + "write to file Urfa-073_Talls_Flood-Harran-2010.xml\n", + "write to file Urfa-074_Talls_Burial_for_Children-Harran-2010.xml\n", + "write to file Urfa-075_Corn_and_Language-Harran-2010.xml\n", + "write to file Urfa-076_Bedouins-Harran-2010.xml\n", + "write to file Urfa-077a_The_Jinn-Harran-2010.xml\n", + "write to file Urfa-077b_The_Jinn-Harran-2010.xml\n", + "write to file Urfa-077c_The_Jinn-Harran-2010.xml\n", + "write to file Urfa-077d_The_Jinn-Harran-2010.xml\n", + "write to file Urfa-077e_The_Jinn-Harran-2010.xml\n", + "write to file Urfa-080_Gazelles_and-Jews-Harran-2010.xml\n", + "write to file Urfa-081_Food_in_Former_Times-Harran-2010.xml\n", + "write to file Urfa-085_The_Snake_in_the_Cistern-Harran-2010.xml\n", + "write to file Urfa-087_Smide-Harran-2010.xml\n", + "write to file Urfa-092_Sultan_Murad-Harran-2010.xml\n", + "write to file Urfa-094_Three_Advices-Harran-2010.xml\n", + "write to file Urfa-097_Three_Daughters-Harran-2010.xml\n", + "write to file Urfa-098_Young_Woman-Harran-2010.xml\n", + "write to file Urfa-105_Life_in_Former_Times-Harran-2010.xml\n", + "write to file Urfa-106_Visa_in_Ankara-Harran-2010.xml\n", + "write to file Urfa-107_Cotton_Business-Harran-2010.xml\n", + "write to file Urfa-110_Salim_az-Zir-Harran-2010.xml\n", + "write to file Urfa-112_Tall_Nasir-Harran-2010.xml\n", + "write to file Urfa-115_Camel-Harran-2010.xml\n", + "write to file Urfa-119_Engagement-Harran-2010.xml\n", + "write to file Urfa-120_Cross_Marriage-Harran-2010.xml\n", + "write to file Urfa-122_Nimrod-Harran-2010.xml\n", + "write to file Urfa-123_Stealing_Boy_P1-Harran-2010.xml\n", + "write to file Urfa-124_Stealing_Boy_P2-Harran-2010.xml\n", + "write to file Urfa-125_Coffee-Harran-2010.xml\n", + "write to file Urfa-133_Sheikh_Musa-Harran-2013.xml\n", + "write to file Urfa-135_Burglars_From_Syria-Harran-2013.xml\n", + "write to file Urfa-136_Cigkofte-Harran-2013.xml\n", + "write to file Urfa-139_Lahmacun-Harran-2013.xml\n", + "write to file Urfa-140_Biyat-Harran-2013.xml\n", + "write to file Urfa-142_Chilli_Pepper-Harran-2013.xml\n", + "write to file Urfa-144_Malfuf-Harran-2013.xml\n", + "write to file Urfa-150_Iclikofte-Harran-2014.xml\n", + "write to file Urfa-151_Ashura-Harran-2014.xml\n", + "write to file Urfa-152_Dream-Harran-2014.xml\n", + "write to file Urfa-153_Sheikh_Hasan-Harran-2014.xml\n", + "write to file Urfa-155_Childhood-Harran-2014.xml\n", + "write to file Urfa-158_Moses_and_Dog-Harran-2014.xml\n", + "write to file Urfa-160_Seyhmus-Harran-2014.xml\n", + "write to file Urfa-162_Umm_al-Qet-Harran-2014.xml\n", + "write to file Urfa-163_Quilts-Harran-2014.xml\n", + "write to file Urfa-164_Baking_Bread-Harran-2014.xml\n", + "write to file Urfa-167_Sheikh_'Nad-Harran-2014.xml\n", + "write to file Urfa-173_Woman_with_No_Lover_Short-Harran-2014.xml\n", + "write to file Urfa-175_Bastig-Harran-2014.xml\n", + "write to file Urfa-176_Condolences-Harran-2014.xml\n", + "write to file Urfa-183_Policeman_and_Carp-Harran-2014.xml\n", + "write to file Urfa-184_Evil_Eye-Harran-2014.xml\n", + "write to file Urfa-187_Two_Women_and_Fridge-Harran-2015.xml\n" ] } ], @@ -74,7 +135,7 @@ { "cell_type": "code", "execution_count": null, - "id": "26ea9a29", + "id": "31a200b5", "metadata": {}, "outputs": [], "source": []