Maybe you can add an option when lauching the script.
unicode_error= '....'
You can define this variable when loading the model thanks gensim. To avoid editing the script, maybe you can offer the possibility to the user to add this option.
Line of code :
model = models.Word2Vec.load_word2vec_format(inputfile, binary=$binary, unicode_errors=$error)
(with true variables)
Hi !
Maybe you can add an option when lauching the script. unicode_error= '....'
You can define this variable when loading the model thanks gensim. To avoid editing the script, maybe you can offer the possibility to the user to add this option.
Line of code :
without it, i've some errors with my model.
Thanks a lot for you work. Bye ;)