src/yang/weiwei/mtm/MTM.java
/**
	 * Write document distribution over topics to file
	 * @param lang Language ID
	 * @param docTopicDistFileName Distribution file name
	 * @throws IOException IOException
	 */
Write document distribution over topics to file
@param lang Language ID
@param docTopicDistFileName Distribution file name
@throws IOException IOException
Write document distribution over topics to file @param lang Language ID @param docTopicDistFileName Distribution file name @throws IOException IOException
public void writeDocTopicDist(int lang, String docTopicDistFileName) throws IOException
	{
		BufferedWriter bw=new BufferedWriter(new FileWriter(docTopicDistFileName));
		IOUtil.writeMatrix(bw, theta[lang]);
		bw.close();
	}
public void writeDocTopicDist ( int lang , String docTopicDistFileName ) throws IOException { BufferedWriter bw = new BufferedWriter ( new FileWriter ( docTopicDistFileName ) ) ; IOUtil . writeMatrix ( bw , theta [ lang ] ) ; bw . close ( ) ; }
Write document distribution over topics to file
 @param lang Language ID
 @param docTopicDistFileName Distribution file name
 @throws IOException IOException
Write document distribution over topics to file @param lang Language ID @param docTopicDistFileName Distribution file name @throws IOException IOException