Re: [Megahal-general] MegaHal brain file format: editing?
Status: Beta
Brought to you by:
davidw
From: Laurent F. <la...@ko...> - 2004-04-02 19:08:56
|
Hi, Le Thu, Apr 01, 2004 at 09:10:41PM -0600, Allen Huffman =E9crivait: > Hi folks. I discovered MegaHal a week or so ago and have had endless=20 > fun with it (via Jaimbot and AOL IM) watching it "learn" new words as=20 > friends talk to it. I'm stunned at how many people will spend 10-15=20 > minutes with it before realizing it's a program. Good :-) > Questions: >=20 > 1) > I am looking for specs on the Brain file format. I am wanting to edit=20 > and remove certain things. I've been thinking lately of a "forget things" functions. The brain gets stuffed with odd words (mispellings and such) and it would be nice to clean it then. The brain file format is not documented but from the source it is not hard to understand : you dump the two trees (forward and backward) and the dictionnary. You can look at "save_model" and "save_tree", each tree is saved depth first. > 2) > Is there a way (other than editing source code) to disable MegaHal's=20 > "learn" mode, so I can lock it from learning new words? And still be able to generate replies ? For the moment, no. IMO megahal needs more utility functions, feel free to send a patch ! Laurent. |