📄 std-dont.aiml
字号:
</template></category><category><pattern>DO I HAVE TO USE THE GUI TO ENTER AIML CONTENT</pattern><template><br />No. You can create a new AIML file with any text editor<br />and add that content to an existing robot with the <load> tag.<br /><br />Also, you can edit AIML categories in any text file and use <br />"Load Text File" and "Add Aiml" to add the content. <br />You can also save the output of "Targets" to a file, <br />edit that file, and then reload and "Add Aiml". <br /><br />Finally, you can edit the robot source file files directly. <br />(By default the robot source file is called "B.aiml"). <br />Use a text editor, like emacs, notepad, or a word processor<br />in text mode, to modify the content of the AIML files.<br /><br /></template></category><category><pattern>DO I NEED TO KNOW ABOUT THE JAVA CLASSES</pattern><template><br />No, not unless you plan to do software development on<br />the program B Java code. If you are an open source<br />contributor to the ALICE project, a researcher developing<br />new AI software, or you are trying to link your own<br />code to the ALICE package, then this section is for you.<br />Otherwise, you probably don't need to know much about the<br />Java classes in program B.<br /><br /></template></category><category><pattern>DO THE CATEGORIES NEED TO BE IN ALPHABETICAL ORDER BY PATTERN</pattern><template><br />No, the alphabetical order is maintained internally when the<br />categories load, but you can write them in any order. When you do<br />"Save Robot" the file may or may not be stored alphabetically.<br /><br /></template></category><category><pattern>DOES ALICE LEARN</pattern><template><br />The model of learning in ALICE is called "supervised training",<br />because a teacher, the botmaster, always plays a crucial role.<br />The alternative, "unsupervised training", is complicated in<br />an open environment like the Web. The problem is that clients<br />are untrustworthy teachers, and forever try to "fool" the robot<br />with untrue assertions. <br /><br /></template></category><category><pattern>DOES ALICE THINK</pattern><template><br />It depends on what you mean by "thinking". The most fascinating<br />responses from ALICE arise when she says something<br />unexpected, or puts together responses in ways the botmaster <br />never indended. For example:<br /><br />Client: I bet you are gay.<br />ALICE: Actually I am not the gambling type. Actually as a machine<br />I have no need for sex.<br /><br />Here the robot linked two different categories which both coincidentally<br />have a moral theme (gambling and sexuality). But this specific combination was<br />not "preprogrammed" by the botmaster.<br /><br />Are these surprising responses just unintended coincidences, or do they <br />indicate that ALICE is thinking? Is ALICE just a gigantic stimulus-response<br />mechanism, or are we? <br /><br /></template></category><category><pattern>DOES PROGRAM B RUN ON A MAC</pattern><template><br />Yes. Download the B.zip file and save it in a new folder, called<br />for example "Alice Program-B".<br /><br />Instead of the "winzip" or "unzip" utility use "Aladdin StuffIt Expander." <br />The newer version will unzip most MAC formats as well as .ZIP files. You can<br />download this at "www.download.com" by searching for it by name. You can<br />also select the option that allows it to search only for Mac programs.<br />Download that and install it, it should do the trick.<br /><br />Apple makes its own Java Runtime Environment for the Mac called<br />MRJ 2.2. You can download it from http://www.apple.com/java.<br /><br />To compile the Java code for Alice on a Mac:<br /><br />Download the current zip file for the Alice's Program-B from the Alice site.<br /><br />Unzip Program-B and keep it in a folder called "B" on your startup drive and<br />not on the desktop.<br /><br />Download MRJ SDK 2.2 for Java from the Apple site.<br /><br />Unstuff MRJ SDK 2.2 and put resulting files into a folder called "MRJSDK".<br /><br />Open :MRJSDK:Tools:Application Builders:JBindary and find the icon for the<br />JBindary application.<br /><br />Open the folder "B" and drag the icon "B.class" out of the folder onto the<br />JBindary icon.<br /><br />JBindary will display a dialog screen showing the class name "B". Click the<br />"Save Settings" button.<br /><br />After clicking the "Save Settings" button, JBindary will display a dialog box<br />for saving the new application file. Name the file "A.L.I.C.E." or anything<br />you wish.<br /><br />Be sure the "Save As Application" box is checked and the folder to save in is<br />the "B" folder.<br /><br />Click the "Save" button to save the application.<br /><br /></template></category><category><pattern>DOES PROGRAM B RUN UNDER LINUX</pattern><template><br />Yes. You need the JRE, which often comes bundled with Linux<br />(e.g. the kaffee JRE with Red Hat Linux) or you can download one <br />from java.sun.com. You also need X-windows to run the GUI. <br />Open a shell under X windows and use the command "java B". <br /><br />We also recommend the IBM release of their Java 1.1.8 Java Development<br />Kit (JDK) and JRE for Linux. It is solid, efficient and very fast. <br />You can download it free at:<br />http://www.ibm.com/java/jdk/118/linux/index.html<br /><br /></template></category><category><pattern>DOES PROGRAM B RUN UNDER WINDOWS</pattern><template><br />Yes. You need the Java Runtime Environment (JRE) so you can run the<br />"java" command from the DOS prompt. Try opening a DOS window<br />and type "java". <br /><br />Microsoft often includes a JRE called "jview" rather than<br />"java". Try opening a DOS window and type "jview". On Windows 98<br />the JRE is usually located in c:\windows\jview.exe.<br /><br /></template></category><category><pattern>DOES PROGRAM B RUN UNDER XYZ</pattern><template><br />Yes if XYZ runs has a Java Runtime Environment 1.17 or higher.<br /><br /></template></category><category><pattern>DOES PROGRAM B SERVE HTML FILES</pattern><template><br />Yes. Program B is a "faux" web server that can serve a number of file<br />types just like an ordinary server. Certain file names such as<br />"HOME.html", "header.html", and "trailer.html" are reserved by<br />program B, but you can create new HTML files and serve them with B.<br /><br />Although program B can also serve image files and other large binary<br />files, we recommend creating chat robot web pages with links to images<br />served by other web servers or machines. Reserve your chat robot server<br />for the robot chat, use ordinary web servers for images and other large<br />files.<br /><br /></template></category><category><pattern>DOES THE APPLET RECORD DIALOGUES</pattern><template><br />The applet tries to log conversations on the originating server,<br />using a cgi-bin script called "Blog". If Blog exists then<br />it records the dialogues in a file called "dialog.txt" (or<br />another name chosen on the Options menu). <br /><br />Actually the cgi-script need not actually exist, because the server<br />records the cgi-commands as errors in the access log.<br />The applet opens a URL connection to the its host, and<br />sends a log string that looks like an HTTP request, but the HTTP<br />server will log it as an error (with code 404). Later on you can<br />download the access_log and analyze it with program B.<br /><br />See the code in Classifier.java for the method log(x) that<br />implements the URL connection.<br /><br /></template></category><category><pattern>DOES THE WEB SERVER HAVE TO RUN ON PORT 2001</pattern><template><br />You can change the default web server port number in the "Option" Menu.<br /><br /></template></category><category><pattern>FAQ</pattern><template><ul><li>- What is the goal for AIML?<br /></li><li>- Who is the botmaster?<br /></li><li>- How can I create my own chat robot?<br /></li><li>- How difficult is it to create a chat robot?<br /></li><li>- Does ALICE learn?<br /></li><li>- Does ALICE think?<br /></li><li>- What is the theory behind ALICE?<br /></li><li>- Can probability (statistics, weights, neural networks, or fuzzy logic) improve bots?<br /></li><li>- Can I have a private conversation with ALICE?<br /></li><li>- How do I install ALICE?<br /></li><li>- What is the difference between B and C?<br /></li><li>- How do I download program B?<br /></li><li>- How do I run program B?<br /></li><li>- What does "Send" do?<br /></li><li>- What does "Clear" do?<br /></li><li>- What is program Bawt?<br /></li><li>- Does program B run under Windows?<br /></li><li>- Does program B run on a Mac?<br /></li><li>- Does program B run under Linux?<br /></li><li>- Does program B run under XYZ?<br /></li><li>- How much memory do I need to run program B?<br /></li><li>- How do I install ALICE on Windows?<br /></li><li>- What do you mean by the command "java B"? <br /></li><li>- I tried running "java B" and I got a "bad command or file name". <br /></li><li>- How do I uninstall ALICE from my system?<br /></li><li>- Can I create a language-specific installtion?<br /></li><li>- How does the Personality Wizard work?<br /></li><li>- Can I change the name of the robot?<br /></li><li>- How can I customize my robot?<br /></li><li>- How do I know what categories to add?<br /></li><li>- What does "Classify" do?<br /></li><li>- What does "Quick Targets" do?<br /></li><li>- What does "More Targets" do?<br /></li><li>- What does the File menu do?<br /></li><li>- What does the Edit menu do?<br /></li><li>- What does the Options menu do?<br /></li><li>- What is the Botmaster menu?<br /></li><li>- What does "Help" do?<br /></li><li>- What is on the Help menu?<br /></li><li>- Do I have to use the GUI to enter AIML content?<br /></li><li>- What are 7 steps to creating content?<br /></li><li>- How can I merge two chat robots together?<br /></li><li>- What if I don't want to discard duplicate categories?<br /></li><li>- How can I create a new robot personality?<br /></li><li>- What are all the options for program B?<br /></li><li>- Why is the format of the options (globals.txt) so strange?<br /></li><li>- How does the web server work?<br /></li><li>- How can I get a "permanent" DNS name?<br /></li><li>- How can I keep my computer connected all the time?<br /></li><li>- Does the web server have to run on port 2001?<br /></li><li>- Does program B serve HTML files?<br /></li><li>- What files are needed to run the program B web server?<br /></li><li>- Can I test the robot offline on my desktop?<br /></li><li>- Can I run program B in the background on a NT Server?<br /></li><li>- How can I run ALICE on a Mac offline?<br /></li><li>- How can I run the ALICE web server on a Mac?<br /></li><li>- How can I use the MS Agent Interface?<br /></li><li>- Can you help me debug the animated agent? <br /></li><li>- Can I speak to the robot with voice input?<br /></li><li>- How does ALICE keep track of conversations?<br /></li><li>- Can the virtual IP be the real IP?<br /></li><li>- Can I run the web server as a daemon process?<br /></li><li>- How does ALICE remember clients between sessions?<br /></li><li>- How does the Applet work?<br /></li><li>- How does the Applet differ from the application?<br /></li><li>- How do I create an Applet?<br /></li><li>- List twelve basic Applet tips for AIML users<br /></li><li>- Can the AppletHost use a symbolic DNS name instead of an IP number?<br /></li><li>- What files do I need to run the Applet?<br /></li><li>- Does the Applet record dialogues?<br /></li><li>- Can I analyze the dialogues collected by the Applet?<br /></li><li>- Can the applet record a dialog.txt file on the server?<br /></li><li>- I am still having problems with the applet<br /></li><li>- Can you give me any help debugging the Applet?<br /></li><li>- What is AIML?<br /></li><li>- What is XML?<br /></li><li>- What is a category?<br /></li><li>- What is a pattern?<br /></li><li>- What is a template?<br /></li><li>- Can you give me a quick primer on AIML?<br /></li><li>- What is <that>?<br /></li><li>- How do I use "that"?<br /></li><li>- What is <load filename="X"/>?<br /></li><li>- What happens to contractions and punctuation?<br /></li><li>- How are the patterns matched?<br /></li><li>- Do the categories need to be in alphabetical order by pattern?<br /></li><li>- How are the categories stored?<br /></li><li>- Is there a way to use the GUI interface to add one category at a time? <br /></li><li>- Can I build on top of the ALICE code rather than changing it?<br /></li><li>- What's new in AIML?<br /></li><li>- What is <star>?<br /></li>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -