Read document-term matrices stored in special file formats.
特殊文件格式存储在文件术语矩阵。
用法----------Usage----------
read_dtm_Blei_et_al(file, vocab = NULL)
参数----------Arguments----------
参数:file
a character string with the name of the file to read.
与要读取的文件的名称的字符串。
参数:vocab
a character string with the name of a vocabulary file (giving the terms, one per line), or NULL.
一个字符串,一个词汇表文件(提供的条款,每行一个)的名称,或NULL。
Details
详细信息----------Details----------
read_dtm_Blei_et_al reads the (List of Lists type sparse matrix) format employed by the Latent Dirichlet Allocation and Correlated Topic Model C codes by Blei et al (http://www.cs.princeton.edu/~blei).
read_dtm_Blei_et_al读取目录列表类型的稀疏矩阵格式的的潜在狄利克雷分配及相关的主题模型的C代码Blei等(http://www.cs.princeton.edu/~blei)。