我在Rstudio中运行语料库,它运行第一行和第二行编码,但在第三行生成错误。
s<- Corpus(DirSource("C:/Users/mazhar/Documents/Sindhicorpus", pattern = "*.txt")
Word <- wordcloud(words = names(term.freq),
freq = term.freq, min.freq = 1, random.order = F, colors = brewer.pal(8, "Dark2"))
错误是
Error: unexpected ',' in "freq = term.freq,"