From 692e990fba4582860220119c431f008781144950 Mon Sep 17 00:00:00 2001 From: Kai Labusch Date: Thu, 31 Oct 2019 16:01:05 +0100 Subject: [PATCH] improve html layout; add reasonable default for --image-url option --- ner.edith.html | 8 ++++---- tools/cli.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ner.edith.html b/ner.edith.html index 2559e9d..fd4e81d 100644 --- a/ner.edith.html +++ b/ner.edith.html @@ -49,7 +49,7 @@
-
+

ner.edith: named entity recognition editor in html

@@ -57,7 +57,7 @@
-
+
@@ -77,9 +77,9 @@
-
+
-
+
diff --git a/tools/cli.py b/tools/cli.py index 95893d8..6cadd59 100644 --- a/tools/cli.py +++ b/tools/cli.py @@ -103,7 +103,7 @@ def extract_doc_links(tsv_file): @click.command() @click.argument('page-xml-file', type=click.Path(exists=True), required=True, nargs=1) @click.argument('tsv-out-file', type=click.Path(), required=True, nargs=1) -@click.option('--image-url', type=str, default='') +@click.option('--image-url', type=str, default='http://empty') def page2tsv(page_xml_file, tsv_out_file, image_url): tree = ET.parse(page_xml_file)