module mokadi.mokadi_message

Inheritance diagram of botadi.mokadi.mokadi_message

Short summary

module botadi.mokadi.mokadi_message

Defines a message for mokadi.

source on GitHub

Classes

class

truncated documentation

MokadiMessage

Defines a message for mokadi.

Properties

property

truncated documentation

confidence

property

message

property

Methods

method

truncated documentation

__init__

Constructor

__repr__

message to string

__str__

message to string

_repr_html_

for notebooks

interpret

Interpret the message with the grammar.

Documentation

@file @brief Defines a message for mokadi.

class botadi.mokadi.mokadi_message.MokadiMessage(message: str, confidence: float)

Bases: object

Defines a message for mokadi.

Constructor

@param message message (string) @param confidence

__init__(message: str, confidence: float)

Constructor

@param message message (string) @param confidence

__repr__()

message to string

__str__()

message to string

_repr_html_()

for notebooks

property confidence

property

interpret(exc=True, MokadiGrammarParser=None, MokadiGrammarLexer=None, MokadiGrammarListener=None)

Interpret the message with the grammar.

@param exc raises an exception if error @param MokadiGrammarParser parser for a specific language (cannot be None despite the default value) @param MokadiGrammarLexer lexer for a specific language (cannot be None despite the default value) @param MokadiGrammarListener listener for a specific language (cannot be None despite the default value) @return interpretation

property message

property