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.Exceptionpublic void testGoogleModelLoaded()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimilarity()
throws java.lang.Exception
java.lang.Exceptionpublic void testWordsNearest()
throws java.lang.Exception
java.lang.Exceptionpublic void testUIMAIterator()
throws java.lang.Exception
java.lang.Exceptionpublic void testWord2VecAdaGrad()
throws java.lang.Exception
java.lang.Exceptionpublic void testWord2VecCBOW()
throws java.lang.Exception
java.lang.Exceptionpublic void testRunWord2Vec()
throws java.lang.Exception
java.lang.Exceptionpublic void testCosineSim()
public void testLoadingWordVectors()
throws java.lang.Exception
java.lang.Exceptionpublic void testWord2VecGoogleModelUptraining()
throws java.lang.Exception
java.lang.Exceptionpublic void testW2VnegativeOnRestore()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnknown1()
throws java.lang.Exception
java.lang.Exception