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

RasaHQ / rasa / 4405 / 3
83%
main: 86%

Build:
Build:
LAST BUILD BRANCH: 2.8.34
DEFAULT BRANCH: main
Ran 17 May 2019 11:34AM UTC
Files 156
Run time 12s
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

17 May 2019 11:03AM UTC coverage: 66.604% (+29.7%) from 36.904%
4405.3

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.

9232 of 13861 relevant lines covered (66.6%)

0.67 hits per line

Source Files on job 4405.3
  • Tree
  • List 0
  • Changed 22
  • Source Changed 20
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 386
  • Travis Job 4405.3
  • 91ce0c24 on github
  • Prev Job for on keyword_classifier (#4325.5)
  • Next Job for on keyword_classifier (#4443.5)
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