Skip to content
forked from KHN190/sif-java

Implementation of ICLR 2017 "sentence embedding by Smooth Inverse Frequency weighting scheme" in Java.

Notifications You must be signed in to change notification settings

TalnUPF/sif-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Implementation of SIF sentence embedding in Java.

  • Use pre-computed tfidf weights & word2vec to compute weighted sentence embedding.
  • Use PCA to compute principle components for all pairs of sentences and remove it.

For usage see test cases.

Data

Please download word2vec to data. I used glove.6B.50d.txt from Glove.

About

Implementation of ICLR 2017 "sentence embedding by Smooth Inverse Frequency weighting scheme" in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%