Boolean Text Search in R

十年热恋 提交于 2020-01-06 06:39:32

问题


How do I do full boolean text search in R? I am using str_match which works only with OR or | operator, or I use Reduce function with &. Is there a way to do AND, OR and XOR seamlessly for text search in R?


回答1:


consider using the rlucene package which connects to the lucene search library which provides full-text search including a BooleanQuery which siport AND OR and NOT.



来源:https://stackoverflow.com/questions/32124185/boolean-text-search-in-r

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!