public class Word2VecTests
extends java.lang.Object
Constructor and Description |
---|
Word2VecTests() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
void |
testCosineSim()
Adding test for cosine similarity, to track changes in Transforms.cosineSim()
|
void |
testGoogleModelLoaded() |
void |
testLoadingWordVectors() |
void |
testRunWord2Vec() |
void |
testSimilarity() |
void |
testUIMAIterator() |
void |
testUnknown1() |
void |
testW2VnegativeOnRestore() |
void |
testWord2VecAdaGrad() |
void |
testWord2VecCBOW() |
void |
testWord2VecGoogleModelUptraining() |
void |
testWordsNearest() |
public void before() throws java.lang.Exception
java.lang.Exception
public void testGoogleModelLoaded() throws java.lang.Exception
java.lang.Exception
public void testSimilarity() throws java.lang.Exception
java.lang.Exception
public void testWordsNearest() throws java.lang.Exception
java.lang.Exception
public void testUIMAIterator() throws java.lang.Exception
java.lang.Exception
public void testWord2VecAdaGrad() throws java.lang.Exception
java.lang.Exception
public void testWord2VecCBOW() throws java.lang.Exception
java.lang.Exception
public void testRunWord2Vec() throws java.lang.Exception
java.lang.Exception
public void testCosineSim()
public void testLoadingWordVectors() throws java.lang.Exception
java.lang.Exception
public void testWord2VecGoogleModelUptraining() throws java.lang.Exception
java.lang.Exception
public void testW2VnegativeOnRestore() throws java.lang.Exception
java.lang.Exception
public void testUnknown1() throws java.lang.Exception
java.lang.Exception