コード例 #1
0
 def remove(self, statement_text):
     """
     Removes the statement that matches the input text.
     Removes any responses from statements where the response text matches
     the input text.
     """
     raise AdapterNotImplementedError()
コード例 #2
0
 def filter(self, **kwargs):
     """
     Returns a list of objects from the database.
     The kwargs parameter can contain any number
     of attributes. Only objects which contain
     all listed attributes and in which all values
     match for all listed attributes will be returned.
     """
     raise AdapterNotImplementedError()
コード例 #3
0
 def update(self, statement):
     """
     Modifies an entry in the database.
     Creates an entry if one does not exist.
     """
     raise AdapterNotImplementedError()
コード例 #4
0
 def find(self, statement_text):
     """
     Returns a object from the database if it exists
     """
     raise AdapterNotImplementedError()
コード例 #5
0
 def count(self):
     """
     Return the number of entries in the database.
     """
     raise AdapterNotImplementedError()
コード例 #6
0
 def process_response(self, input_value):
     """
     Takes an input value.
     Returns an output value.
     """
     raise AdapterNotImplementedError()
コード例 #7
0
ファイル: plugin.py プロジェクト: joab40/ChatterBot
 def should_answer(self, text):
     raise AdapterNotImplementedError()
コード例 #8
0
 def insert(self, key):
     """
     Creates a new entry in the database.
     """
     raise AdapterNotImplementedError()
コード例 #9
0
 def get(self, input_statement, statement_list=None):
     """
     This method should be overridden with one to select a match
     based on the input statement.
     """
     raise AdapterNotImplementedError()
コード例 #10
0
ファイル: logic.py プロジェクト: hostintruder/ChatterBot
 def get(self, text, list_of_statements, current_conversation=None):
     raise AdapterNotImplementedError()
コード例 #11
0
 def process(self, statement):
     """
     Method that takes an input statement and returns
     a statement as output.
     """
     raise AdapterNotImplementedError()
コード例 #12
0
ファイル: io.py プロジェクト: mikev37/DeepSpheres
 def process_input(self):
     """
     Returns data retrieved from the input source.
     """
     raise AdapterNotImplementedError()
コード例 #13
0
ファイル: logic.py プロジェクト: karajrish/ChatterBot
 def get_response(self):
     raise AdapterNotImplementedError()
コード例 #14
0
 def get_random(self):
     """
     Returns a random statement from the database
     """
     raise AdapterNotImplementedError()
コード例 #15
0
ファイル: plugin.py プロジェクト: joab40/ChatterBot
 def process(self, text):
     raise AdapterNotImplementedError()
コード例 #16
0
 def drop(self):
     """
     Drop the database attached to a given adapter.
     """
     raise AdapterNotImplementedError()
コード例 #17
0
 def get(self, text, statement_list, current_conversation):
     raise AdapterNotImplementedError()