From 265376ad4124fac8d3939af548fceb26c9ecaad3 Mon Sep 17 00:00:00 2001 From: Jakub Maruniak Date: Sun, 24 May 2020 17:51:22 +0000 Subject: [PATCH] =?UTF-8?q?Nahr=C3=A1t=20soubory=20do=20=E2=80=9Epages/stu?= =?UTF-8?q?dents/2016/jakub=5Fmaruniak/dp2021/annotation/ner=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jakub_maruniak/dp2021/annotation/ner/01_text_to_sent.sh | 1 + .../jakub_maruniak/dp2021/annotation/ner/02_ner_correct.sh | 3 +++ .../2016/jakub_maruniak/dp2021/annotation/ner/03_ner_export.sh | 1 + 3 files changed, 5 insertions(+) create mode 100644 pages/students/2016/jakub_maruniak/dp2021/annotation/ner/01_text_to_sent.sh create mode 100644 pages/students/2016/jakub_maruniak/dp2021/annotation/ner/02_ner_correct.sh create mode 100644 pages/students/2016/jakub_maruniak/dp2021/annotation/ner/03_ner_export.sh diff --git a/pages/students/2016/jakub_maruniak/dp2021/annotation/ner/01_text_to_sent.sh b/pages/students/2016/jakub_maruniak/dp2021/annotation/ner/01_text_to_sent.sh new file mode 100644 index 00000000..532385b9 --- /dev/null +++ b/pages/students/2016/jakub_maruniak/dp2021/annotation/ner/01_text_to_sent.sh @@ -0,0 +1 @@ +python text_to_sent.py \ No newline at end of file diff --git a/pages/students/2016/jakub_maruniak/dp2021/annotation/ner/02_ner_correct.sh b/pages/students/2016/jakub_maruniak/dp2021/annotation/ner/02_ner_correct.sh new file mode 100644 index 00000000..7758b202 --- /dev/null +++ b/pages/students/2016/jakub_maruniak/dp2021/annotation/ner/02_ner_correct.sh @@ -0,0 +1,3 @@ + +prodigy ner.correct wikiart sk_sk1 ./textfile.csv --label OSOBA,MIESTO,ORGANIZACIA,PRODUKT + diff --git a/pages/students/2016/jakub_maruniak/dp2021/annotation/ner/03_ner_export.sh b/pages/students/2016/jakub_maruniak/dp2021/annotation/ner/03_ner_export.sh new file mode 100644 index 00000000..3d60d2c3 --- /dev/null +++ b/pages/students/2016/jakub_maruniak/dp2021/annotation/ner/03_ner_export.sh @@ -0,0 +1 @@ +prodigy db-out wikiart > ./annotations.jsonl \ No newline at end of file