From ca0d1ee0ecf4678dc480cbfd73780e25eb42edea Mon Sep 17 00:00:00 2001 From: Lili Gasser <gasserli@ethz.ch> Date: Tue, 15 Jan 2019 09:45:50 +0000 Subject: [PATCH] make notebook to read NER train data work on jupyterlab --- notebooks/NER_read-training-data.ipynb | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/notebooks/NER_read-training-data.ipynb b/notebooks/NER_read-training-data.ipynb index a84ff667..d91160b2 100644 --- a/notebooks/NER_read-training-data.ipynb +++ b/notebooks/NER_read-training-data.ipynb @@ -66,6 +66,17 @@ "path_data = '../data/train_NER/'" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#### git lfs pull and untar the tar.gz archive \n", + "\n", + "type the following two commands in a terminal:\n", + "- git lfs pull -I data/train_NER/20190109_train_NER.tar.gz\n", + "- tar -xzvf data/train_NER/20190109_train_NER.tar.gz -C data/train_NER" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -75,7 +86,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 15, "metadata": {}, "outputs": [ { @@ -618,7 +629,7 @@ " '1995_20026399.txt']" ] }, - "execution_count": 3, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } @@ -638,7 +649,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 16, "metadata": { "scrolled": true }, @@ -7836,7 +7847,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 17, "metadata": { "scrolled": true }, @@ -18714,9 +18725,9 @@ ], "metadata": { "kernelspec": { - "display_name": "nlp-democrasci", + "display_name": "Python 3", "language": "python", - "name": "nlp-democrasci" + "name": "python3" }, "language_info": { "codemirror_mode": { -- GitLab