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.Exception
public void testLoaderTextSmall() throws java.lang.Exception
java.lang.Exception
public void testLoaderText() throws java.io.IOException
java.io.IOException
public void testLoaderStream() throws java.io.IOException
java.io.IOException
public void testLoaderBinary() throws java.io.IOException
java.io.IOException
public void testWriteWordVectors() throws java.io.IOException
java.io.IOException
public void testWriteWordVectorsFromWord2Vec() throws java.io.IOException
java.io.IOException
public void testFromTableAndVocab() throws java.io.IOException
java.io.IOException
public void testIndexPersistence() throws java.lang.Exception
java.lang.Exception
public void testFullModelSerialization() throws java.lang.Exception
java.lang.Exception
public void testLoader() throws java.lang.Exception
java.lang.Exception
public void testOutputStream() throws java.lang.Exception
java.lang.Exception
public void testParaVecSerialization1() throws java.lang.Exception
java.lang.Exception
public void testStaticLoaderGoogleModel() throws java.lang.Exception
java.lang.Exception
public void testStaticLoaderBinary() throws java.lang.Exception
java.lang.Exception
public void testStaticLoaderText() throws java.lang.Exception
java.lang.Exception
public void testStaticLoaderArchive() throws java.lang.Exception
java.lang.Exception
public void testUnifiedLoaderArchive1() throws java.lang.Exception
java.lang.Exception
public void testUnifiedLoaderArchive2() throws java.lang.Exception
java.lang.Exception
public void testUnifiedLoaderText() throws java.lang.Exception
java.lang.Exception
public void testUnifiedLoaderBinary() throws java.lang.Exception
java.lang.Exception
public void testBiggerParavecLoader() throws java.lang.Exception
java.lang.Exception
public void testVocabPeristence() throws java.lang.Exception
java.lang.Exception
public void testMalformedLabels1() throws java.lang.Exception
java.lang.Exception
public void testB64_1() throws java.lang.Exception
java.lang.Exception