Skip to content

Empty word with high count when using pretrained vectors #5

@ghost

Description

Moving a word in getInputMatrixFromFile() and then adding it to the dictionary leads to an empty word with count of vocabulary size.

std::string word;
in >> word;
words.push_back(std::move(word));
dict_->add(word);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions