• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RasaHQ / rasa / 4405
83%
main: 86%

Build:
Build:
LAST BUILD BRANCH: 2.8.34
DEFAULT BRANCH: main
Ran 17 May 2019 11:26AM UTC
Jobs 9
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4405

push

travis-ci-com

imLew
keyword intent classifier now takes keywords from training data

This commit replaces the previous simpler keyword_intent_classier which
simply treated all words found in training data as keywords. With the
new implementation keywords can be added to an intent by adding them to
examples with the syntax `[intent[keyword]]`, where `keyword` is the
keyword that should cause any utterance containing it to be classified
as the intent specified in `intent`.
If `intent` is empty the keyword will be assigned to the intent under
which the keyword is marked.
Keyword matching is done by checking whether the keyword string is
contained in a message string, case is ignored.
Things to note about the current implementation:
With the current implementation keywords can contain whitespaces, if
this is the case only the exact string (module case) will result in the
message being classified based on the keyword. E.g. if the keyword is
"some keyword" then neither "some" nor "keyword" will trigger the
keyword_intent_classier.
Classification in general proceeds by having the classifier set the
`intent` property of the `Message` object. This means that a classifier
will overwrite any Classification that has already been done. Therefore
the keyword_intent_classier will only have an effect if it is listed
after the main classifier in the config.yml.
Jobs
ID Job ID Ran Files Coverage
2 4405.2 17 May 2019 11:31AM UTC 0
66.56
Travis Job 4405.2
3 4405.3 17 May 2019 11:34AM UTC 0
66.6
Travis Job 4405.3
4 4405.4 17 May 2019 11:31AM UTC 0
66.6
Travis Job 4405.4
5 4405.5 17 May 2019 11:28AM UTC 0
36.89
Travis Job 4405.5
6 4405.6 17 May 2019 11:27AM UTC 0
36.89
Travis Job 4405.6
7 4405.7 17 May 2019 11:26AM UTC 0
36.89
Travis Job 4405.7
8 4405.8 17 May 2019 11:28AM UTC 0
32.68
Travis Job 4405.8
9 4405.9 17 May 2019 11:29AM UTC 0
32.68
Travis Job 4405.9
10 4405.10 17 May 2019 11:30AM UTC 0
32.68
Travis Job 4405.10
Source Files on build 4405
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #4405
  • 91ce0c24 on github
  • Prev Build on keyword_classifier (#4325)
  • Next Build on keyword_classifier (#4443)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc