Python:主题建模可以根据文本预测可能的标签?

问题描述

在我的CSV文件中,有一列描述了故障。

enter image description here

如何为每个错误预测合适的标签?例如,这是可能输出的示例-

enter image description here

我已经完成了数据预处理和词义化以获得词根。只是需要一个方向进行研究。谢谢。

编辑:

   Error                       Tag  
    damage non service tile     service title
    paint non service tile      service title
    damage non service tile     service title
    damage service tile         service title
    damage service tile         service title
    damage non service tile     service title
    threshold damage            threshold damage
    threshold damage            threshold damage
    threshold damage            threshold damage
    threshold damage            threshold damage
    threshold damage            threshold damage
    threshold damage            threshold damage
    block b02 hole fill         hole fill
    block b02 hole fill         hole fill
    block b12 hole fill         hole fill
    block b11 hole fill         hole fill
    block b10 hole fill         hole fill
    block b09 hole fill         hole fill
    block b08 hole fill         hole fill
    make good mastic            good mastic
    make good mastic            good mastic
    make good mastic            good mastic
    make good mastic            good mastic
    make good mastic            good mastic

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)