From 9cf4d84a32f0f7106a3179813154e09d03f9d627 Mon Sep 17 00:00:00 2001 From: Maziyar Panahi Date: Fri, 24 Feb 2023 17:41:55 +0100 Subject: [PATCH] Format examples [skip test] --- .../english/SpacyToAnnotation_Tutorial.ipynb | 8 ++++---- .../graph_extraction_helper_display.ipynb | 20 +++++++++---------- .../graph_extraction_intro.ipynb | 20 +++++++++---------- .../graph_extraction_roots_paths.ipynb | 6 +++--- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/examples/python/annotation/text/english/SpacyToAnnotation_Tutorial.ipynb b/examples/python/annotation/text/english/SpacyToAnnotation_Tutorial.ipynb index 52fb29ff0c8847..0ce48e33452409 100644 --- a/examples/python/annotation/text/english/SpacyToAnnotation_Tutorial.ipynb +++ b/examples/python/annotation/text/english/SpacyToAnnotation_Tutorial.ipynb @@ -166,10 +166,10 @@ "name": "stdout", "output_type": "stream", "text": [ - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m281.4/281.4 MB\u001b[0m \u001b[31m4.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m199.0/199.0 KB\u001b[0m \u001b[31m14.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h Building wheel for pyspark (setup.py) ... \u001b[?25l\u001b[?25hdone\n", + "\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m281.4/281.4 MB\u001B[0m \u001B[31m4.8 MB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0m\n", + "\u001B[?25h Preparing metadata (setup.py) ... \u001B[?25l\u001B[?25hdone\n", + "\u001B[2K \u001B[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001B[0m \u001B[32m199.0/199.0 KB\u001B[0m \u001B[31m14.3 MB/s\u001B[0m eta \u001B[36m0:00:00\u001B[0m\n", + "\u001B[?25h Building wheel for pyspark (setup.py) ... \u001B[?25l\u001B[?25hdone\n", "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", "Processing ./spark_nlp-4.3.0-py2.py3-none-any.whl\n", "Installing collected packages: spark-nlp\n", diff --git a/examples/python/annotation/text/english/graph-extraction/graph_extraction_helper_display.ipynb b/examples/python/annotation/text/english/graph-extraction/graph_extraction_helper_display.ipynb index 47a3bc5cb62dff..dfbb61aa1eaa82 100644 --- a/examples/python/annotation/text/english/graph-extraction/graph_extraction_helper_display.ipynb +++ b/examples/python/annotation/text/english/graph-extraction/graph_extraction_helper_display.ipynb @@ -46,10 +46,10 @@ "\n", "Installing PySpark 3.2.3 and Spark NLP 4.2.6\n", "setup Colab for PySpark 3.2.3 and Spark NLP 4.2.6\n", - "\u001b[K |████████████████████████████████| 281.5 MB 57 kB/s \n", - "\u001b[K |████████████████████████████████| 453 kB 71.9 MB/s \n", - "\u001b[K |████████████████████████████████| 199 kB 68.6 MB/s \n", - "\u001b[?25h Building wheel for pyspark (setup.py) ... \u001b[?25l\u001b[?25hdone\n" + "\u001B[K |████████████████████████████████| 281.5 MB 57 kB/s \n", + "\u001B[K |████████████████████████████████| 453 kB 71.9 MB/s \n", + "\u001B[K |████████████████████████████████| 199 kB 68.6 MB/s \n", + "\u001B[?25h Building wheel for pyspark (setup.py) ... \u001B[?25l\u001B[?25hdone\n" ] } ], @@ -84,12 +84,12 @@ "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", "Collecting spark-nlp-display\n", " Downloading spark_nlp_display-4.2-py3-none-any.whl (95 kB)\n", - "\u001b[K |████████████████████████████████| 95 kB 3.6 MB/s \n", - "\u001b[?25hRequirement already satisfied: ipython in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (7.9.0)\n", + "\u001B[K |████████████████████████████████| 95 kB 3.6 MB/s \n", + "\u001B[?25hRequirement already satisfied: ipython in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (7.9.0)\n", "Collecting svgwrite==1.4\n", " Downloading svgwrite-1.4-py3-none-any.whl (66 kB)\n", - "\u001b[K |████████████████████████████████| 66 kB 5.2 MB/s \n", - "\u001b[?25hRequirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (1.21.6)\n", + "\u001B[K |████████████████████████████████| 66 kB 5.2 MB/s \n", + "\u001B[?25hRequirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (1.21.6)\n", "Requirement already satisfied: pandas in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (1.3.5)\n", "Requirement already satisfied: spark-nlp in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (4.2.6)\n", "Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (57.4.0)\n", @@ -99,8 +99,8 @@ "Requirement already satisfied: traitlets>=4.2 in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (5.7.1)\n", "Collecting jedi>=0.10\n", " Downloading jedi-0.18.2-py2.py3-none-any.whl (1.6 MB)\n", - "\u001b[K |████████████████████████████████| 1.6 MB 51.0 MB/s \n", - "\u001b[?25hRequirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (2.0.10)\n", + "\u001B[K |████████████████████████████████| 1.6 MB 51.0 MB/s \n", + "\u001B[?25hRequirement already satisfied: prompt-toolkit<2.1.0,>=2.0.0 in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (2.0.10)\n", "Requirement already satisfied: pickleshare in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (0.7.5)\n", "Requirement already satisfied: pygments in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (2.6.1)\n", "Requirement already satisfied: parso<0.9.0,>=0.8.0 in /usr/local/lib/python3.8/dist-packages (from jedi>=0.10->ipython->spark-nlp-display) (0.8.3)\n", diff --git a/examples/python/annotation/text/english/graph-extraction/graph_extraction_intro.ipynb b/examples/python/annotation/text/english/graph-extraction/graph_extraction_intro.ipynb index c4d850813979f1..ef6b0a9f0eaa5a 100644 --- a/examples/python/annotation/text/english/graph-extraction/graph_extraction_intro.ipynb +++ b/examples/python/annotation/text/english/graph-extraction/graph_extraction_intro.ipynb @@ -46,26 +46,26 @@ "\n", "Installing PySpark 3.2.3 and Spark NLP 4.2.6\n", "setup Colab for PySpark 3.2.3 and Spark NLP 4.2.6\n", - "\u001b[K |████████████████████████████████| 281.5 MB 51 kB/s \n", - "\u001b[K |████████████████████████████████| 453 kB 40.0 MB/s \n", - "\u001b[K |████████████████████████████████| 199 kB 61.3 MB/s \n", - "\u001b[?25h Building wheel for pyspark (setup.py) ... \u001b[?25l\u001b[?25hdone\n", + "\u001B[K |████████████████████████████████| 281.5 MB 51 kB/s \n", + "\u001B[K |████████████████████████████████| 453 kB 40.0 MB/s \n", + "\u001B[K |████████████████████████████████| 199 kB 61.3 MB/s \n", + "\u001B[?25h Building wheel for pyspark (setup.py) ... \u001B[?25l\u001B[?25hdone\n", "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", "Collecting spark-nlp-display\n", " Downloading spark_nlp_display-4.2-py3-none-any.whl (95 kB)\n", - "\u001b[K |████████████████████████████████| 95 kB 4.6 MB/s \n", - "\u001b[?25hRequirement already satisfied: spark-nlp in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (4.2.6)\n", + "\u001B[K |████████████████████████████████| 95 kB 4.6 MB/s \n", + "\u001B[?25hRequirement already satisfied: spark-nlp in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (4.2.6)\n", "Requirement already satisfied: ipython in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (7.9.0)\n", "Requirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (1.21.6)\n", "Collecting svgwrite==1.4\n", " Downloading svgwrite-1.4-py3-none-any.whl (66 kB)\n", - "\u001b[K |████████████████████████████████| 66 kB 5.8 MB/s \n", - "\u001b[?25hRequirement already satisfied: pandas in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (1.3.5)\n", + "\u001B[K |████████████████████████████████| 66 kB 5.8 MB/s \n", + "\u001B[?25hRequirement already satisfied: pandas in /usr/local/lib/python3.8/dist-packages (from spark-nlp-display) (1.3.5)\n", "Requirement already satisfied: pexpect in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (4.8.0)\n", "Collecting jedi>=0.10\n", " Downloading jedi-0.18.2-py2.py3-none-any.whl (1.6 MB)\n", - "\u001b[K |████████████████████████████████| 1.6 MB 61.4 MB/s \n", - "\u001b[?25hRequirement already satisfied: traitlets>=4.2 in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (5.7.1)\n", + "\u001B[K |████████████████████████████████| 1.6 MB 61.4 MB/s \n", + "\u001B[?25hRequirement already satisfied: traitlets>=4.2 in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (5.7.1)\n", "Requirement already satisfied: backcall in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (0.2.0)\n", "Requirement already satisfied: pickleshare in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (0.7.5)\n", "Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.8/dist-packages (from ipython->spark-nlp-display) (57.4.0)\n", diff --git a/examples/python/annotation/text/english/graph-extraction/graph_extraction_roots_paths.ipynb b/examples/python/annotation/text/english/graph-extraction/graph_extraction_roots_paths.ipynb index d353661f96afe3..9bee31c097e226 100644 --- a/examples/python/annotation/text/english/graph-extraction/graph_extraction_roots_paths.ipynb +++ b/examples/python/annotation/text/english/graph-extraction/graph_extraction_roots_paths.ipynb @@ -24,9 +24,9 @@ "name": "stdout", "output_type": "stream", "text": [ - "\u001b[K |████████████████████████████████| 281.3 MB 39 kB/s \n", - "\u001b[K |████████████████████████████████| 198 kB 59.2 MB/s \n", - "\u001b[?25h Building wheel for pyspark (setup.py) ... \u001b[?25l\u001b[?25hdone\n", + "\u001B[K |████████████████████████████████| 281.3 MB 39 kB/s \n", + "\u001B[K |████████████████████████████████| 198 kB 59.2 MB/s \n", + "\u001B[?25h Building wheel for pyspark (setup.py) ... \u001B[?25l\u001B[?25hdone\n", "Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n", "Processing ./spark_nlp-4.2.7-py2.py3-none-any.whl\n", "Installing collected packages: spark-nlp\n",