Class l.p.pyNiall:

Part of lib.pyniall_sqlite View Source View In Hierarchy

No class docstring
Method __init__ Undocumented
Method learn Undocumented
Method reply Undocumented
Method cleanup Undocumented
Method _addRelation Undocumented
Method _addEndRelation Undocumented
Method _rankWord rank a word by length and probability
Method _getWordRank Undocumented
Method _createRandomSentence Undocumented
Method _createReply Undocumented
def __init__(self, dbname): (source)
Undocumented
def _addRelation(self, word1, word2): (source)
Undocumented
def _addEndRelation(self, word): (source)
Undocumented
def _rankWord(self, word): (source)
rank a word by length and probability
def _getWordRank(self, word): (source)
Undocumented
def _createRandomSentence(self, index, sentence, forward=True): (source)
Undocumented
def _createReply(self, msg): (source)
Undocumented
def learn(self, msg): (source)
Undocumented
def reply(self, msg): (source)
Undocumented
def cleanup(self): (source)
Undocumented
API Documentation for OtfBot - the friendly Bot, generated by pydoctor at 2010-01-04 01:40:56.