Skip to content

Commit

Permalink
corrected paths for "Arbeiten mit OdeNet".
Browse files Browse the repository at this point in the history
  • Loading branch information
hdaSprachtechnologie committed Sep 14, 2020
1 parent c6e64ce commit 1c13910
Show file tree
Hide file tree
Showing 6 changed files with 353 additions and 384 deletions.
279 changes: 69 additions & 210 deletions Arbeiten_mit_OdeNet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@
"from odenet import *"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Um Änderungen an OdeNet zu machen, erstellt man zunächst eine lokale Kopie, bei der die Einträge jeweils auf einer Zeile stehen."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"format_odenet_oneline()"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand All @@ -20,297 +36,140 @@
"name": "stdout",
"output_type": "stream",
"text": [
"zeigen v \n",
"SENSE: odenet-533-v ('i33216', [], 'Vorschlagen, etwas für jemanden zu tun.', [('hypernym', 'odenet-8644-v')], ['andienen', 'anbieten', 'bieten', 'zeigen'])\n",
"\n",
"SENSE: odenet-3065-v ('i32498', [], 'Jemanden etwas sehen lassen.', [('hypernym', 'odenet-9246-v')], ['zeigen', 'präsentieren', 'darstellen', 'vorzeigen', 'abbilden', 'vorführen', 'demonstrieren', 'vorstellen'])\n",
"\n",
"SENSE: odenet-4206-v ('i32440', [], 'Etwas öffentlich sagen.', [('hyponym', 'odenet-2339-v'), ('hyponym', 'odenet-11159-v'), ('hyponym', 'odenet-1192-v'), ('hyponym', 'odenet-22914-v'), ('hyponym', 'odenet-2770-v')], ['kundtun', 'zeigen', 'offenbaren', 'bekunden'])\n",
"\n",
"SENSE: odenet-5328-v ('i25048', [], 'Die Wahrheit von etwas deutlich machen.', [('hypernym', 'odenet-12792-v')], ['bestätigen', 'zeigen', 'aufzeigen', 'nachweisen', 'belegen', 'Nachweis erbringen', 'Beweis erbringen für', 'beweisen'])\n",
"\n",
"SENSE: odenet-9990-v ('i25049', [], 'Sich als etwas erweisen, offenbaren.', [], ['zeigen', 'niederschlagen', 'manifestieren'])\n",
"Lied n \n",
"SENSE: odenet-1540-n ('i73641', [], 'Musikalisches Werk.', [('hypernym', 'odenet-15512-n')], ['Stück', 'Komposition', 'Musikstück', 'Lied', 'Track', 'Titel'])\n",
"\n",
"SENSE: odenet-10538-v ('i30180', [], 'In einem Bild darstellen.', [], ['zeigen', 'repräsentieren', 'wiedergeben', 'bildlich darstellen', 'darstellen', 'abbilden', 'zur Darstellung bringen'])\n",
"SENSE: odenet-15493-n ('i73707', [], 'Musikalische Komposition mit Wörtern.', [('mero_part', 'odenet-7410-n'), ('hypernym', 'odenet-1540-n')], ['Lied', 'Song', 'Kantate'])\n",
"\n",
"HYPERNYMS: [('w2722_533-v', 'odenet-8644-v', ['übergeben', 'abgeben', 'durchgeben', 'weiterleiten', 'überweisen', 'weitergeben']), ('w2722_3065-v', 'odenet-9246-v', ['ausdrücken', 'sagen', 'formulieren', 'äußern', 'phrasieren', 'verbalisieren']), ('w2722_5328-v', 'odenet-12792-v', ['bestärken', 'bekräftigen', 'beleben'])]\n",
"HYPONYMS: [('w2722_4206-v', 'odenet-2339-v', ['freilegen', 'freigeben']), ('w2722_4206-v', 'odenet-11159-v', ['anzeigen', 'indizieren', 'als angezeigt erscheinen lassen']), ('w2722_4206-v', 'odenet-1192-v', ['widerspiegeln', 'zurückwerfen', 'repräsentieren', 'spiegeln', 'wiedergeben', 'reflektieren']), ('w2722_4206-v', 'odenet-22914-v', ['enthüllen', 'aufdecken', 'etwas ans Licht bringen', 'etwas zum Vorschein bringen', 'Geheimnis lüften', 'etwas ans Tageslicht bringen', 'Schleier lüften']), ('w2722_4206-v', 'odenet-2770-v', ['auflegen', 'ausgeben', 'ausstellen', 'herausgeben', 'in Umlauf setzen', 'verbreiten', 'in Verkehr bringen', 'in Umlauf bringen', 'emittieren'])]\n",
"MERONYMS: []\n",
"HYPERNYMS: [('w7633_1540-n', 'odenet-15512-n', ['Artefakt', 'Werk', 'Opus', 'Arbeitsergebnis', 'Handlungsprodukt']), ('w7633_15493-n', 'odenet-1540-n', ['Stück', 'Komposition', 'Musikstück', 'Lied', 'Track', 'Titel'])]\n",
"HYPONYMS: []\n",
"MERONYMS: [('w7633_15493-n', 'odenet-7410-n', ['Kehrreim', 'Refrain'])]\n",
"HOLONYMS: []\n",
"ANTONYMS: []\n",
"LEMMA: zeigen\n",
"POS: v\n",
"SENSE ID: w2722_10538-v\n"
"LEMMA: Lied\n",
"POS: n\n",
"SENSE ID: w7633_15493-n\n"
]
}
],
"source": [
"OdeNet.word_info(\"zeigen\")"
"OdeNet.word_info(\"Lied\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Um etwas im englischen PWN nachzuschlagen, muss man zunächst den lokalen Pfad in der Datei odenet_class.py anpassen."
]
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"['show']\n",
"i38123\n",
"the act of publicly exhibiting or entertaining\n",
"['display', 'show']\n",
"i72651\n",
"something intended to communicate a particular impression\n",
"['show']\n",
"i71255\n",
"a social event involving a public performance or entertainment\n",
"['appearance', 'show']\n",
"i39403\n",
"pretending that something is the case in order to make a good impression\n",
"['demonstrate', 'show', 'present', 'exhibit', 'demo']\n",
"i32498\n",
"give an exhibition of to an interested audience\n",
"['demonstrate', 'show', 'shew', 'establish', 'prove']\n",
"i25049\n",
"establish the validity of something, as by an example, explanation or experiment\n",
"['show', 'prove', 'bear witness', 'evidence', 'testify']\n",
"i26656\n",
"provide evidence for\n",
"['show']\n",
"i32440\n",
"make visible or noticeable\n",
"['render', 'show', 'depict', 'picture']\n",
"i30180\n",
"show in, or as in, a picture\n",
"['show', 'express', 'evince']\n",
"i26321\n",
"give expression to\n",
"['point', 'show', 'designate', 'indicate']\n",
"i26230\n",
"indicate a place, direction, person, or thing; either spatially or figuratively\n",
"['show up', 'show']\n",
"i32451\n",
"be or become visible or noticeable\n",
"['register', 'show', 'read', 'record']\n",
"i26225\n",
"indicate a certain reading; of gauges and instruments\n",
"['show']\n",
"i26227\n",
"give evidence of, as of records\n",
"['show', 'usher']\n",
"i31741\n",
"take (someone) to their seats, as in theaters or auditoriums\n",
"['show']\n",
"i27024\n",
"finish third or better in a horse or dog race\n"
]
}
],
"outputs": [],
"source": [
"OdeNet.check_ili_in_pwn(\"show\")"
"OdeNet.check_ili_in_pwn(\"composition\")"
]
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<Synset id=\"odenet-10538-v\" ili=\"i26395\" partOfSpeech=\"v\" dc:description=\"restate from one language into another language\"><Definition>In einem Bild darstellen.</Definition><SynsetRelation target='odenet-25555-a' relType='hypernym'/></Synset>\n",
"\n"
]
}
],
"outputs": [],
"source": [
"# Definitionen einfügen'odenet-35395-a','Etwas, das nicht getan werden kann',r\"C:\\Users\\melaniesiegel\\Documents\\05_Projekte\\WordNet\\OdeNet\\deWNaccess\\odenet_oneline.xml\")\n",
"add_definition_to_ss('odenet-10538-v','In einem Bild darstellen.',r\"C:\\Users\\melaniesiegel\\Documents\\05_Projekte\\WordNet\\OdeNet\\deWNaccess\\odenet_oneline.xml\")"
"add_definition_to_ss('odenet-15493-n','Musikalische Komposition mit Wörtern.',\"odenet_oneline.xml\")"
]
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<Synset id=\"odenet-10538-v\" ili=\"i26395\" partOfSpeech=\"v\" ><Definition>In einem Bild darstellen.</Definition><SynsetRelation target='odenet-25555-a' relType='hypernym'/></Synset>\n",
"\n"
]
}
],
"outputs": [],
"source": [
"# Englische Definitionen löschen\n",
"delete_english_definition('odenet-10538-v',r\"C:\\Users\\melaniesiegel\\Documents\\05_Projekte\\WordNet\\OdeNet\\deWNaccess\\odenet_oneline.xml\")"
"delete_english_definition('odenet-15493-n',\"odenet_oneline.xml\")"
]
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<Synset id=\"odenet-10538-v\" ili=\"i30180\" partOfSpeech=\"v\" ><Definition>In einem Bild darstellen.</Definition><SynsetRelation target='odenet-25555-a' relType='hypernym'/></Synset>\n",
"\n"
]
}
],
"outputs": [],
"source": [
"# Attribute (v.a. ili) im Synset verändern\n",
"\n",
"change_attribute_in_ss('odenet-10538-v','ili','i30180',r\"C:\\Users\\melaniesiegel\\Documents\\05_Projekte\\WordNet\\OdeNet\\deWNaccess\\odenet_oneline.xml\")\n"
"change_attribute_in_ss('odenet-1540-n','ili','i73641',\"odenet_oneline.xml\")\n"
]
},
{
"cell_type": "code",
"execution_count": 42,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<Synset id=\"odenet-15997-n\" ili=\"i70710\" partOfSpeech=\"n\" ><Definition>Kosten für die Bewirtung in einem Restaurant.</Definition><SynsetRelation target='odenet-3160-n' relType='mero_part'/><SynsetRelation target='odenet-6970-n' relType='holo_part'/><SynsetRelation target='odenet-11525-n' relType='hypernym'/></Synset>\n",
"\n"
]
}
],
"outputs": [],
"source": [
"# Relationen zum Synset hinzufügen\n",
"\n",
"add_rel_to_ss(\"odenet-15997-n\",\"<SynsetRelation target='odenet-11525-n' relType='hypernym'/>\",r\"C:\\Users\\melaniesiegel\\Documents\\05_Projekte\\WordNet\\OdeNet\\deWNaccess\\odenet_oneline.xml\")"
"add_rel_to_ss(\"odenet-15493-n\",\"<SynsetRelation target='odenet-1540-n' relType='hypernym'/>\",\"odenet_oneline.xml\")"
]
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<Synset id=\"odenet-10538-v\" ili=\"i30180\" partOfSpeech=\"v\" ><Definition>In einem Bild darstellen.</Definition><SynsetRelation target='odenet-25555-a' relType='hypernym'/><Example>Die Partei repräsentiert das Establishment.</Example></Synset>\n",
"\n"
]
}
],
"outputs": [],
"source": [
"# Beispiel einfügen\n",
"\n",
"add_example_to_ss('odenet-10538-v','Die Partei repräsentiert das Establishment.',r\"C:\\Users\\melaniesiegel\\Documents\\05_Projekte\\WordNet\\OdeNet\\deWNaccess\\odenet_oneline.xml\")"
"add_example_to_ss('odenet-15493-n','Sie singt ein Lied.',\"odenet_oneline.xml\")"
]
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<LexicalEntry id=\"w2722\" dc:type=\"Basiswortschatz\" confidenceScore=\"1.0\"><Lemma writtenForm=\"zeigen\" partOfSpeech=\"v\"/><Sense id=\"w2722_533-v\" synset=\"odenet-533-v\"/><Sense id=\"w2722_3065-v\" synset=\"odenet-3065-v\"/><Sense id=\"w2722_4206-v\" synset=\"odenet-4206-v\"><SenseRelation relType=\"antonym\" target=\"odenet-9050-v\"/></Sense><Sense id=\"w2722_5328-v\" synset=\"odenet-5328-v\"/><Sense id=\"w2722_9990-v\" synset=\"odenet-9990-v\"/><Sense id=\"w2722_10538-v\" synset=\"odenet-10538-v\"/></LexicalEntry>\n",
"\n"
]
}
],
"outputs": [],
"source": [
"# Attribute zum LexEntry hinzufügen, z.B. confidenceScore\n",
"change_attribute_in_lexentry(\"zeigen\",\"confidenceScore\",\"1.0\",r\"C:\\Users\\melaniesiegel\\Documents\\05_Projekte\\WordNet\\OdeNet\\deWNaccess\\odenet_oneline.xml\")"
"change_attribute_in_lexentry(\"Lied\",\"confidenceScore\",\"1.0\",\"odenet_oneline.xml\")"
]
},
{
"cell_type": "code",
"execution_count": 69,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<LexicalEntry id=\"w19611\" confidenceScore=\"1.0\"><Lemma writtenForm=\"Promotion\" partOfSpeech=\"n\"/><Sense id=\"w19611_4444-n\" synset=\"odenet-4444-n\" note=\"PHON:pʁoˈmoːʃn̩\"/><Sense id=\"w19611_10193-n\" synset=\"odenet-10193-n\" note=\"PHON:ˌpʁomoˈt͡si̯oːn\"/><Sense id=\"w19611_33428-n\" synset=\"odenet-33428-n\"/></LexicalEntry>\n",
"\n"
]
}
],
"outputs": [],
"source": [
"# Attribute zum Sense hinzufügen, z.B. note=\"PHON:buːt\"\n",
"add_attribute_to_sense(\"w19611_10193-n\",\"odenet-10193-n\",\"note\",\"PHON:ˌpʁomoˈt͡si̯oːn\",r\"C:\\Users\\melaniesiegel\\Documents\\05_Projekte\\WordNet\\OdeNet\\deWNaccess\\odenet_oneline.xml\")"
"add_attribute_to_sense(\"w4007_15099-n\",\"odenet-15099-n\",\"note\",\"PHON:teˈnoːɐ̯\",\"odenet_oneline.xml\")\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Ich habe diese Senses dafür: \n",
"SYNSET: odenet-533-v\n",
"('i33216', [], 'Vorschlagen, etwas für jemanden zu tun.', [('hypernym', 'odenet-8644-v')], ['andienen', 'anbieten', 'bieten', 'zeigen'])\n",
"SYNSET: odenet-3065-v\n",
"('i32498', [], 'Jemanden etwas sehen lassen.', [('hypernym', 'odenet-9246-v')], ['zeigen', 'präsentieren', 'darstellen', 'vorzeigen', 'abbilden', 'vorführen', 'demonstrieren', 'vorstellen'])\n",
"SYNSET: odenet-4206-v\n",
"('i32440', [], 'Etwas öffentlich sagen.', [('hyponym', 'odenet-2339-v'), ('hyponym', 'odenet-11159-v'), ('hyponym', 'odenet-1192-v'), ('hyponym', 'odenet-22914-v'), ('hyponym', 'odenet-2770-v')], ['kundtun', 'zeigen', 'offenbaren', 'bekunden'])\n",
"SYNSET: odenet-5328-v\n",
"('i25048', [], 'Die Wahrheit von etwas deutlich machen.', [('hypernym', 'odenet-12792-v')], ['bestätigen', 'zeigen', 'aufzeigen', 'nachweisen', 'belegen', 'Nachweis erbringen', 'Beweis erbringen für', 'beweisen'])\n",
"SYNSET: odenet-9990-v\n",
"('i25049', [], 'Sich als etwas erweisen, offenbaren.', [], ['zeigen', 'niederschlagen', 'manifestieren'])\n",
"SYNSET: odenet-10538-v\n",
"('i30180', [], 'In einem Bild darstellen.', [], ['zeigen', 'repräsentieren', 'wiedergeben', 'bildlich darstellen', 'darstellen', 'abbilden', 'zur Darstellung bringen'])\n"
]
},
{
"name": "stdin",
"output_type": "stream",
"text": [
"Welcher Sense? odenet-10538-v\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"[]\n",
"[]\n",
"[('zeigen', {})]\n"
]
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAV0AAADnCAYAAAC9roUQAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjIsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8li6FKAAAI10lEQVR4nO3dXWzd9X3H8c9JnDphTghJLPIA1GLZiFo1hCaVIoQWt2VqQsUGUjsXhNoLRIpoQ6FCoiXaZTRFQnRDAtGbiqpVeRBrg1SljHaDcrNoOEswooBllUCIeTA0FLuJXcf+94JytiwhPKx8Y+jrJVmyz/f8rN/fOnrr+O9z/m41TRMAasw62RsA+HMiugCFRBegkOgCFBJdgEIdJxouWbKk6enpKdoKwIfD7t27X2mapvt4sxNGt6enJ/39/e/PrgA+pFqt1rNvNXN6AaCQ6AIUEl2AQqILUEh0AQqJLkAh0QUoJLoAhUQXoJDoAhQSXYBCogtQSHQBCokuQCHRBSgkugCFRBegkOgCFBJdgEKiC1BIdAEKiS5AIdEFKCS6AIVEF6CQ6AIUEl2AQqILUEh0AQqJLkAh0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IUEl2AQqILUEh0AQqJLkAh0QUoJLoAhUQXoJDoAhQSXYBCogtQSHQBCokuQCHRBSgkugCFRBegkOgCFBJdgEKiC1BIdAEKiS5AIdEFKCS6AIVEF6CQ6AIUEl2AQqILUEh0AQqJLkAh0QUoJLoAhUQXoJDoAhQSXYBCogtQSHQBCokuQCHRBSgkugCFRBegkOgCFBJdgEKiC1BIdAEKiS5AIdEFKCS6AIVEF6CQ6AIUEl2AQqILUEh0AQqJLkAh0QUoJLoAhUQXoJDoAhQSXYBCogtQSHQBCokuQCHRBSgkugCFRBegkOgCFBJdgEKiC1BIdAEKiS5AIdEFKCS6AIVEF6CQ6AIUajVN89bDVmskybN12wH4UPho0zTdxxucMLoA/Gk5vQBQSHQBCokuQCHRBSgkugCF/gCBitsSQ8TB3QAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 432x288 with 1 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"# Hyponyme und Hyperonyme visualisieren\n",
"OdeNet.visualize(\"zeigen\")"
"OdeNet.visualize(\"Schirm\")"
]
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand Down
Loading

0 comments on commit 1c13910

Please sign in to comment.