$text1= array("营销宣传","销售","促销导购","传单派发","地推拉访","营业员","客服话务","旅游餐饮","服务员","传菜员","厨师","面点师","物流配送","快递员","送餐员","装卸搬运","代办跑腿","搬家货运","家政服务","保姆");
$text2 = "我需要一个人来打扫卫生";
大体是这个样子,需求就是对比$text1数组中的短语与$text2这个句子的相似度,现在是用短文本相似度来循环查询,但是这样的处理速度20个短语大约得15秒左右,时间太长了,有没有更好的方式来处理这个需求,求大神指教,感谢
请登录后评论
TOP
切换版块
怎么没有人回复下呢
来人呢,再没有方案老板就要杀人了。。。