类 WordEmbedding
java.lang.Object
org.wlld.matrixTools.MatrixOperation
org.wlld.naturalLanguage.word.WordEmbedding
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getEmbedding(String word, long eventId, boolean once) intgetWord(int id) intvoidinit(SentenceModel sentenceModel, int wordVectorDimension) voidinsertModel(WordTwoVectorModel wordTwoVectorModel, int wordVectorDimension) voidsetConfig(SentenceConfig config) voidsetStudyTimes(int studyTimes) start()从类继承的方法 org.wlld.matrixTools.MatrixOperation
add, adjointMatrix, algebraicCofactor, convolution, errorNub, getEDist, getEDistByMatrix, getInverseMatrix, getKernelNub, getLinearRegression, getNorm, getNormCos, getPoolVector, getSdByMatrix, im2col, innerProduct, inverseNumber, ListToMatrix, listToRowVector, listToRowVector, mathAdd, mathDiv, mathMul, mathMulBySelf, mathSub, matrixMulPd, matrixPointDiv, matrixToList, matrixToVector, mulMatrix, push, pushVector, reverseIm2col, rowVectorToList, sub, transPosition
-
构造器详细资料
-
WordEmbedding
public WordEmbedding()
-
-
方法详细资料
-
setStudyTimes
public void setStudyTimes(int studyTimes) -
setConfig
-
getWordVectorDimension
public int getWordVectorDimension() -
init
- 抛出:
Exception
-
getWordList
-
getWord
-
insertModel
public void insertModel(WordTwoVectorModel wordTwoVectorModel, int wordVectorDimension) throws Exception - 抛出:
Exception
-
getEmbedding
- 抛出:
Exception
-
start
- 抛出:
Exception
-
getID
-