public class WordVectorSerializerTest
extends java.lang.Object
| Constructor and Description |
|---|
WordVectorSerializerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
before() |
void |
testB64_1() |
void |
testBiggerParavecLoader() |
void |
testFromTableAndVocab() |
void |
testFullModelSerialization() |
void |
testIndexPersistence() |
void |
testLoader() |
void |
testLoaderBinary() |
void |
testLoaderStream() |
void |
testLoaderText() |
void |
testLoaderTextSmall() |
void |
testMalformedLabels1() |
void |
testOutputStream() |
void |
testParaVecSerialization1() |
void |
testStaticLoaderArchive()
This method tests ZIP file loading as static model
|
void |
testStaticLoaderBinary()
This method tests binary file loading as static model
|
void |
testStaticLoaderGoogleModel()
This method here is only to test real google model few gigabytes worth
Keep it ignored, since it requirs full google model being present in system, which is 1.6gb compressed
|
void |
testStaticLoaderText()
This method tests CSV file loading as static model
|
void |
testUnifiedLoaderArchive1() |
void |
testUnifiedLoaderArchive2() |
void |
testUnifiedLoaderBinary()
This method tests binary file loading via unified loader
|
void |
testUnifiedLoaderText()
This method tests CSV file loading via unified loader
|
void |
testVocabPeristence() |
void |
testWriteWordVectors() |
void |
testWriteWordVectorsFromWord2Vec() |
public void before()
throws java.lang.Exception
java.lang.Exceptionpublic void testLoaderTextSmall()
throws java.lang.Exception
java.lang.Exceptionpublic void testLoaderText()
throws java.io.IOException
java.io.IOExceptionpublic void testLoaderStream()
throws java.io.IOException
java.io.IOExceptionpublic void testLoaderBinary()
throws java.io.IOException
java.io.IOExceptionpublic void testWriteWordVectors()
throws java.io.IOException
java.io.IOExceptionpublic void testWriteWordVectorsFromWord2Vec()
throws java.io.IOException
java.io.IOExceptionpublic void testFromTableAndVocab()
throws java.io.IOException
java.io.IOExceptionpublic void testIndexPersistence()
throws java.lang.Exception
java.lang.Exceptionpublic void testFullModelSerialization()
throws java.lang.Exception
java.lang.Exceptionpublic void testLoader()
throws java.lang.Exception
java.lang.Exceptionpublic void testOutputStream()
throws java.lang.Exception
java.lang.Exceptionpublic void testParaVecSerialization1()
throws java.lang.Exception
java.lang.Exceptionpublic void testStaticLoaderGoogleModel()
throws java.lang.Exception
java.lang.Exceptionpublic void testStaticLoaderBinary()
throws java.lang.Exception
java.lang.Exceptionpublic void testStaticLoaderText()
throws java.lang.Exception
java.lang.Exceptionpublic void testStaticLoaderArchive()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnifiedLoaderArchive1()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnifiedLoaderArchive2()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnifiedLoaderText()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnifiedLoaderBinary()
throws java.lang.Exception
java.lang.Exceptionpublic void testBiggerParavecLoader()
throws java.lang.Exception
java.lang.Exceptionpublic void testVocabPeristence()
throws java.lang.Exception
java.lang.Exceptionpublic void testMalformedLabels1()
throws java.lang.Exception
java.lang.Exceptionpublic void testB64_1()
throws java.lang.Exception
java.lang.Exception