diff --git a/images/plots/barplot-average.png b/images/plots/barplot-average.png index 67b21541..fd5d9452 100644 Binary files a/images/plots/barplot-average.png and b/images/plots/barplot-average.png differ diff --git a/images/plots/barplot-sentences.png b/images/plots/barplot-sentences.png index bad5d163..1f3eb68a 100644 Binary files a/images/plots/barplot-sentences.png and b/images/plots/barplot-sentences.png differ diff --git a/images/plots/barplot-single-words.png b/images/plots/barplot-single-words.png index b4f9a63c..bfeb7d90 100644 Binary files a/images/plots/barplot-single-words.png and b/images/plots/barplot-single-words.png differ diff --git a/images/plots/barplot-word-pairs.png b/images/plots/barplot-word-pairs.png index 10363cbc..bb343d2b 100644 Binary files a/images/plots/barplot-word-pairs.png and b/images/plots/barplot-word-pairs.png differ diff --git a/images/plots/boxplot-average.png b/images/plots/boxplot-average.png index 3db7e21b..ba50cee7 100644 Binary files a/images/plots/boxplot-average.png and b/images/plots/boxplot-average.png differ diff --git a/images/plots/boxplot-sentences.png b/images/plots/boxplot-sentences.png index 9a5d1f6b..4adbd675 100644 Binary files a/images/plots/boxplot-sentences.png and b/images/plots/boxplot-sentences.png differ diff --git a/images/plots/boxplot-single-words.png b/images/plots/boxplot-single-words.png index d5fb242c..2af33b02 100644 Binary files a/images/plots/boxplot-single-words.png and b/images/plots/boxplot-single-words.png differ diff --git a/images/plots/boxplot-word-pairs.png b/images/plots/boxplot-word-pairs.png index 0d253457..395d6b80 100644 Binary files a/images/plots/boxplot-word-pairs.png and b/images/plots/boxplot-word-pairs.png differ diff --git a/src/python-scripts/draw_accuracy_plots.py b/src/python-scripts/draw_accuracy_plots.py index a3544232..a5ed1821 100644 --- a/src/python-scripts/draw_accuracy_plots.py +++ b/src/python-scripts/draw_accuracy_plots.py @@ -12,13 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -from math import floor - import matplotlib import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns +from math import floor from matplotlib.patches import Patch matplotlib.use('TkAgg') @@ -39,7 +38,7 @@ class AccuracyPlotDrawer(object): __plot_title_suffix = 'Detection Performance' __column_prefixes = ('single-words', 'word-pairs', 'sentences', 'average') __column_suffixes = ('optimaize', 'opennlp', 'tika', 'lingua') - __legend_labels = ('Optimaize 0.6', 'OpenNLP 1.9.3', 'Tika 1.24.1', 'Lingua 1.0.2') + __legend_labels = ('Optimaize 0.6', 'OpenNLP 1.9.3', 'Tika 1.24.1', 'Lingua 1.0.3') __hatches = ('/', '+', '.', 'O') __palette = ('#b259ff', '#ff6347', '#ffc400', '#41c46b') __ticks = np.arange(0, 101, 10)