public class BuiltInKeywordListener implements NlpListener
Built-in listener to start BotDefinition.keywordStory.
public static BuiltInKeywordListener INSTANCE
Built-in listener to start BotDefinition.keywordStory.
@NotNull public java.lang.String getDeleteKeyword()
@NotNull public java.lang.String getEnableKeyword()
@NotNull public java.lang.String getDisableKeyword()
@NotNull public java.lang.String getTestContextKeyword()
@NotNull public java.lang.String getEndTestContextKeyword()
@NotNull public java.util.Set<java.lang.String> getKeywords()
The keyword to listen.
@Nullable public kotlin.text.Regex getKeywordRegexp()
The keyword regexp is applicable.
public void setKeywordRegexp(@Nullable
kotlin.text.Regex p)
The keyword regexp is applicable.
@Nullable public Intent handleKeyword(@NotNull java.lang.String sentence)
Used to handle "secret" keywords.