Skip to content

The program of word2vec/Word Embedding for java, includes POS-CBOW and POS-Skip-gram.

License

Notifications You must be signed in to change notification settings

phylieac/Word2vec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word2vec

The program of word2vec for java, includes POS-CBOW and POS-Skip-gram

  • POS-CBOW The continue bag of word language model with part-of-speech.

    image

  • POS-Skipgram   The POS-Skipgram language model with part-of-speech  image

Usage

        Configuration conf=new Configuration();
        conf.setCBOW(0);
        conf.setThreads(2);
        conf.setMiniCount(0);
        Word2vec vectest=new Word2vec("text8","./cbow.bin",conf);
        vectest.train();

License

Apache Lisence 2.0

About

The program of word2vec/Word Embedding for java, includes POS-CBOW and POS-Skip-gram.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages