Traceback (most recent call last):


 "subword-nmt/learn_bpe.py", line 254, in <module>

main(args.input, args.output, args.symbols, args.min_frequency, args.verbose, is_dict=args.dict_input)


 "subword-nmt/learn_bpe.py", line 199, in main

vocab = dict([(tuple(x[:-1])+(x[-1]+'</w>',) ,y) for (x,y) in vocab.items()])


 "subword-nmt/learn_bpe.py", line 199, in <listcomp>

vocab = dict([(tuple(x[:-1])+(x[-1]+'</w>',) ,y) for (x,y) in vocab.items()])
IndexError: string index out of range

Traceback (most recent call last):

 "/opt/sublime_text/sublime_plugin.py", line 240, in on_pre_save
callback.on_pre_save(v)

 "/home/andreas/.config/sublime-text-3/Packages/SublimeLinter/sublimelinter.py", line 420, in on_pre_save
if view.window().active_view() == view and self.is_settings_file(view):AttributeError: 'NoneType' object has no attribute 'active_view'