Skip to content

Only split on real spaces (not \t) when loading the symbols table

Loading the following syms.txt file will raise a ValueError even if the symbols are properly mapped in it:

<ctc> 0
         1
! 2
" 3
# 4
$ 5
% 6
& 7
' 8

This is due to the \t symbol which is mapped to 1.

Edited by Eva Bardou