Skip to content

Encoding issue #17

@mquillot

Description

@mquillot

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 :

model = models.Word2Vec.load_word2vec_format(inputfile, binary=$binary, unicode_errors=$error) 
(with true variables) 

without it, i've some errors with my model.

Thanks a lot for you work.
Bye ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions