Git Product home page Git Product logo

Comments (8)

pengyou200902 avatar pengyou200902 commented on September 21, 2024

这应该是自己在rasa的训练文件里面指定的吧,rasa官网有教程

from rasa_nlu_chi.

pengyou200902 avatar pengyou200902 commented on September 21, 2024

今天自己试了下,lookup table没起作用,还在找原因中,不知 @sdu-2044 有没有找到办法

from rasa_nlu_chi.

rxy1212 avatar rxy1212 commented on September 21, 2024

确实我在 docker 里面运行 rasa lookup table 也不起作用

from rasa_nlu_chi.

yijinsheng avatar yijinsheng commented on September 21, 2024

@rxy1212 @pengyou200902抱歉,刚看到 ,仔细阅读源码,regex_featurizer.py里面有这么一行代码
regex_string = "(?i)(\b" + "\b|\b".join(elements_sanitized) + "\b)",意思是说把lookup里面的所有词组成一个正则。但是rasa官方在正则里面加了\b,这是一个字符边界符号。我们知道英文中单词之间是用空格分开的,那么中文呢,显然没有。两位去掉之后再试试。

from rasa_nlu_chi.

yangjianxin1 avatar yangjianxin1 commented on September 21, 2024

今天试了一下加入lookup table,好像确实没有作用,请问有什么解决方法吗

from rasa_nlu_chi.

yangjianxin1 avatar yangjianxin1 commented on September 21, 2024

@sdu-2044 你好,请问一下你说的那个方法可行吗

from rasa_nlu_chi.

yijinsheng avatar yijinsheng commented on September 21, 2024

@yangjianxin1 我试过,可以

from rasa_nlu_chi.

yangjianxin1 avatar yangjianxin1 commented on September 21, 2024

@sdu-2044 我对特定领域的实体构造了字典树,识别效率挺好的,感觉可以不用lookup table

from rasa_nlu_chi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.