findFreqTerms(tm)
findFreqTerms()所属R语言包:tm
Find Frequent Terms
频繁条款
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Find frequent terms in a term-document matrix.
查找一个术语文档矩阵中的常用术语。
用法----------Usage----------
findFreqTerms(x, lowfreq = 0, highfreq = Inf)
参数----------Arguments----------
参数:x
A term-document matrix.
一个术语文档矩阵。
参数:lowfreq
An integer for the lower frequency bound.
一个整数较低的频率范围。
参数:highfreq
An integer for the upper frequency bound.
一个整数的上限频率的约束。
Details
详细信息----------Details----------
This method works for all numeric weightings but is probably most meaningful for the standard term frequency (tf) weighting
此方法适用于所有数字的权重,但可能是最有意义的标准术语频率(tf)加权
值----------Value----------
A character vector of terms in x which occur more or equal often than lowfreq times and less or equal often than highfreq times.
字符向量的计算,x这往往发生大于或等于比lowfreq时间和小于或等于往往比highfreq倍。
实例----------Examples----------
data("crude")
tdm <- TermDocumentMatrix(crude)
findFreqTerms(tdm, 2, 3)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|