如何从字符串或数据库中获取词干。 [英] How Can I Fetch Stemming Word From A String Or Database.
本文介绍了如何从字符串或数据库中获取词干。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我想从我的数据库中获取词干。
例如:
如果我搜索药,结果应该只是药用或医学而不是药用植物 。
解决方案
试试这种类型的数据库查询。希望它可以帮到你。
选择 * 来自 Table_Name 其中 your_Column 喜欢 ' %medicine' 跨度>
hello,
i want to fetch stemming words from my database.
for example:
if i search "medicine" the result should be only "medicinal" or "medical" but not "medicinal plants".
解决方案
Try out with this type of data base query.Hope it will help you.
select * from Table_Name where your_Column like '%medicine'
这篇关于如何从字符串或数据库中获取词干。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文