public class ConvertMatlabModel
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
copyWordVector(java.util.Map<java.lang.String,org.ejml.simple.SimpleMatrix> wordVectors,
java.lang.String source,
java.lang.String target)
Will not overwrite an existing word vector if it is already there
|
static org.ejml.simple.SimpleMatrix |
loadMatrix(java.lang.String binaryName,
java.lang.String textName) |
static void |
main(java.lang.String[] args) |
static void |
replaceWordVector(java.util.Map<java.lang.String,org.ejml.simple.SimpleMatrix> wordVectors,
java.lang.String source,
java.lang.String target)
Will overwrite an existing word vector
|
public static void copyWordVector(java.util.Map<java.lang.String,org.ejml.simple.SimpleMatrix> wordVectors, java.lang.String source, java.lang.String target)
public static void replaceWordVector(java.util.Map<java.lang.String,org.ejml.simple.SimpleMatrix> wordVectors, java.lang.String source, java.lang.String target)
public static org.ejml.simple.SimpleMatrix loadMatrix(java.lang.String binaryName, java.lang.String textName) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException