Interface KeywordService

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Intent detectKeywordIntent(String sentence) If returns not null, a keyword is detected, and the returned intent is used to find the story.
      Function1<BotBus, Unit> keywordHandler(String keyword) If this method returns not null for the specified keyword, then the returned handler is called.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait