为KWIC DF节省docvars吗?
有没有办法将docvars保存到KWIC输出数据框架?我想保存docvars,例如日期和文档标题。我已经阅读了 https://github.com/quanteda/quanteda/quanteda/quanteda/649 ,但不明白最后是否发生了变化。
我想稍后使用围绕关键字的单词使用组变量运行其他文本分析,例如STM和TF_IDF。
Is there a way to save docvars to kwic output dataframe? I would like to save docvars such as dates and title of documents. I've read this https://github.com/quanteda/quanteda/issues/649 but can't understand if there was a change in the end.
I would like to later use the words surrounding my keyword to run other text analyses such as stm and tf_idf using group variables.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经手动完成了此操作,请参见下面的示例:
I have done this manually, see example below: