Skip to content

Want to know how to load word embeding vectors from fastText as a matrix in R with rownames as the words #1

@TangWenYing

Description

@TangWenYing

Hello! I am a student from China. Recently, I am trying to do some research about Japan. I want to use the CMDist, but there is a problem that the matrix of word embeding vectors i used has a different structure from yours, so CMDist did not work. The next step, I will try to use the word embeding vectors of Japanese from fastText, but I don't know how to deal with it so that it could be loaded as a matrix in R with rownames as the words.
Could you teach me how to do it? Thanks a lot if you can help me!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions