From 0f8291df71cf6b389406d129e3d56cbf9bab3f07 Mon Sep 17 00:00:00 2001 From: lissyx <1645737+lissyx@users.noreply.github.com> Date: Fri, 6 Mar 2020 10:15:18 +0100 Subject: [PATCH] Proper arguments ordering --- util/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/text.py b/util/text.py index 253d2291..910796f7 100644 --- a/util/text.py +++ b/util/text.py @@ -35,7 +35,7 @@ class Alphabet(object): raise KeyError( 'ERROR: Your transcripts contain characters (e.g. \'{}\') which do not occur in \'{}\'! Use ' \ 'util/check_characters.py to see what characters are in your [train,dev,test].csv transcripts, and ' \ - 'then add all these to \'{}\'.'.format(self._config_file, string, self._config_file) + 'then add all these to \'{}\'.'.format(string, self._config_file, self._config_file) ).with_traceback(e.__traceback__) def has_char(self, char):