//
//LDA(Latent dirichlet Allocation command
//
//
//This command makes probability for whome latent classes are belonged by each document.
//And makes probability of each ward representaion in each document.
//
//Syntax
// lda [variables];
//(caution) This command requires input as frequency matrix of lexical-document as below;
//
//Options
/*
nclass This is number of latent class
emmax This is number of loop for EM(Expect and Maximization)
*/
//Example
//This example is lda for 10 class using output of mecab which makes morphological lexical and documents matrix.
//
mecab text\japanese\*.txt@; //morphological analysis for all text document under directory
lda doc1-doc12/
nclass = 10
;
get freq@ana;
//If you select grid icon, then you get probability of class;
get score@ana;
//If you select grid icon, then you get probability of each ward in each class;