⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dont.aiml

📁 ALICE 利用AIML (Artificial Intelligence Markup Language)来形成对你的查询和输入的响应。不像其它花费数千美元的商业聊天机器人软件
💻 AIML
📖 第 1 页 / 共 5 页
字号:
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 XYZ</pattern><template><br>Yes if XYZ runs has a Java Runtime Environment 1.17 or higher.<br><br></template></category><category><pattern>HOW MUCH MEMORY DO I NEED TO RUN PROGRAM B</pattern><template><br>The source code compresses to as little as half a megabyte, including<br>all the AIML files for nearly 16,000 categories.  You may have downloaded<br>a file of only around 500K.  Plan to use a minimum 10 MB of hard disk space<br>for the download directory.  The hard disk requirements include not<br>only the source code and Java class files, but also the dialogue files<br>and other temporary files created by the robot.<br><br>The RAM requirements vary depending on the size of your robot.<br>To run the fully loaded ALICE chat robot with 16,000 categories<br>you will need 64MB of memory.  To do this and anything else at<br>the same time on your system we recommend a minimum of 96MB.  <br>With less memory you can load a smaller robot.  See the question<br>below "What is &lt;load filename="X"/&gt;?"<br><br></template></category><category><pattern>HOW DO I INSTALL ALICE ON WINDOWS</pattern><template><br>Download program B at www.alicebot.org.<br><br>Install program B in a file folder named "B".<br><br>Download the java development kit - jdk1.2.2 - <br>   at java.sun.com/products/jdk1.2<br><br>This is a large file - 20MB. If you have a slow modem it will take<br>a long time. Download the full single file as windows 95 will not<br>concatenate the separate pieces.  Install the jdk1.2 in a folder <br>named "jdk1.2.2". Read the installation instructions.<br>Download the separate docs file - 17MB. Install in the jdk1.2 folder.<br><br>Program B is a java application and must be run in DOS.<br><br>Go to Start, click Programs, click MS-DOS Prompt.<br><br>At C:\&gt; prompt type in,<br>cd B<br><br>You will then get - C:\B&gt; - This is now pointing to your source directory.<br>(Please note that if you have installed program B to a different<br>drive than C substitute that drive letter - also you should have<br>installed the jdk1.2.2 in the same drive as program B).<br>At C:\B&gt; type jdk1.2.2\bin\java B and hit enter (the idea is, you first<br>point to your source file and then to the jdk folder which will<br>run your program and then to the executable file which in this case<br>is java B.<br><br>What it should look like is this -<br>C:\B&gt;jdk1.2.2\bin\java B <br><br>After hitting enter you should get the botmaster screen. You can<br>play around with it by yourself on your machine.<br><br>You can also use the applet in DOS. To do so type as follows:<br>C:\B&gt;jdk1.2.2\bin\appletviewer index.html<br>This will try to connect you to the main server at alicebot.org<br>so have your browser fired up. Keep in mind that you will be<br>talking to the alicebot at that site, however, and not to the<br>program on your machine.<br><br></template></category><category><pattern>WHAT DO YOU MEAN BY THE COMMAND JAVA B</pattern><template><br>This does not mean you mean click on an icon.  If you are using Windows,<br>you must use a DOS window to run a Java program.  Find the MS-DOS item<br>on your start menu or desktop and open up a DOS window.  In that window, use<br>the DOS commands CD (change directory) to move to the "B" directory.   <br>Then type "java B" to run the program.<br><br>If you are using windows, then you can create a desktop icon <br>as a "shortcut" to a batch file.  Create a batch file called<br>"launch.bat" in the program B directory.  The file contains only<br>one line with the text "java B".  There is an AIML icon file<br>included with program B called "aiml.ico".  You can use this<br>file to add an icon to your desktop.  <br><br></template></category><category><pattern>I TRIED RUNNING JAVA B AND I GOT A BAD COMMAND OR FILE NAME</pattern><template><br>You are using a Windows/DOS setup.  If "jview B" does not work either,<br>you may need to install Java on your computer.   Go to java.sun.com <br>and pick the one for your computer (Windows 95/98 or NT).<br><br>If it still says "bad command" then possibly there is a problem with<br>the CLASSPATH variable in AUTOEXEC.BAT.  Make sure it is set to<br>something like<br>SET CLASSPATH=.;%CLASSPATH%<br>(The single "." means the current working directory)<br>and make sure the PATH is set to include the java home directory:<br>SET PATH=c:\JDK1.2\bin;%PATH%<br><br></template></category><category><pattern>HOW DO I UNINSTALL ALICE FROM MY SYSTEM</pattern><template><br>If you installed ALICE on Windows with a commercial installer like<br>InstallShield Java Edition, then go to the start menu and<br>select "Control Panel".  Click on the control panel item called<br>"Add/Remove Programs".  Select ALICE from the list of installed<br>software and choose "Uninstall".<br><br>All the files of ALICE are stored in one directory on your computer<br>(or folder) usually called "B" but maybe something else depending<br>on the name you chose when you downloaded ALICE.  In any case, <br>ALICE will not change or damage any other files on your system.  <br>To remove ALICE from your computer, simply remove this folder.  <br>Delete it, or drag it to your trash bin and select "Empty trash"<br>(or "Empty Recycle Bin").<br><br>If you cannot find the folder where ALICE resides, use the Finder<br>to locate the file called "B.aiml" on your file system.  The "B.aiml"<br>file is in the same directory as all the ALICE files.  If this file does<br>not exist, then ALICE is probably not installed on your computer.<br><br>Because ALICE is a platform-independent Java application, it does<br>not rely on the Windows Registry or other Windows-specific features.<br>You can assume ALICE will leave your MS Windows Registry and <br>other Windows system files untouched.<br><br>Conceivably if ALICE has run for a long time on your computer, and<br>you deliberately used the "Save Options" menu item to change the <br>name or location of her files to something other than the default values, <br>then there is a slight chance that there could be a few ALICE <br>files scattered around your disk.  Please refer to the DISCLAIMER <br>at the beginning of DON'T READ ME.  <br><br></template></category><category><pattern>CAN I CREATE A LANGUAGE SPECIFIC INSTALLTION</pattern><template><br>Yes.  The file "language.txt" controls the language of the <br>buttons and menus in the ALICE GUI.  If the file is missing,<br>the program uses English names by default.  To see an<br>example of a language-specific installation, copy the<br>file "Germanlanguage.txt" to "language.txt" and start<br>program B.  <br><br><br></template></category><category><pattern>HOW DOES THE PERSONALITY WIZARD WORK</pattern><template><br>The simplest way to alter the content of the basic ALICE<br>robot personality is to run the Personality Wizard on<br>the "Options" menu (or in the Kid interface).  <br>This wizard asks the botmaster a series<br>of questions to set the values of a set of robot<br>personality tags including its name, gender, preferences<br>and replies to very common questions.<br><br>The Personality Wizard does not create any new AIML<br>categories.  The replies set the value of global tags<br>like &lt;location/&gt; and &lt;favorite_movie/&gt; that might be<br>used in many categories throughout the AIML knowledge<br>base.  The basic set of Wizard questions are collected<br>in the file Personality.aiml. <br><br>Hint: If you plan to use the Applet, avoid the double-quote (")<br>character in the Personality Wizard.<br><br></template></category><category><pattern>CAN I CHANGE THE NAME OF THE ROBOT</pattern><template><br>The AIML tag &lt;name/&gt; inserts the name of the Bot wherever it appears.<br>The default robot name is "ALICE" but you can change it in the<br>"Options menu".  Select "Show Options" and replace "ALICE" with the <br>name of your bot, and then do "Save Options".  Depending on your<br>state, you may need to restart program B. <br><br></template></category><category><pattern>HOW CAN I CUSTOMIZE MY ROBOT</pattern><template><br>AIML provides several tags useful to quickly clone<br>a chat robot from ALICE with a distinct "personality":<br><br>&lt;gender/&gt;        the robot's gender<br>&lt;location/&gt;      the robot's location<br>&lt;birthday/&gt;      the robot's birthday<br>&lt;botmaster/&gt;	 the botmaster's name<br><br>Together with the previously discussed &lt;name/&gt;, these<br>tags allow you to quickly create a clone from the ALICE<br>Brain with a separate identity from ALICE.<br><br>All the personality tag values can be modifed through<br>the Personality Wizard.  The tag values can also be<br>changed with the Options Menu in program B. Use "Show Options" <br>and "Save Options" to customize your chat robot.<br><br>To test the new features, we created a male robot named<br>Brute (because "all men are brutes") born on August 18, 1999.<br><br></template></category><category><pattern>HOW DO I KNOW WHAT CATEGORIES TO ADD</pattern><template><br>After you collect some dialogue, run "Classify" and "Quick Targets".<br>This will tell you the most frequently asked patterns that do not<br>already have specific responses.  The "Target" functions display new<br>categories with proposed patterns and template fields filled with<br>the name of another category.  Delete the template information and fill<br>in a new response.  You can also edit the pattern to simplify it or<br>generalize it with a "*" operator.<br><br></template></category><category><pattern>WHAT DOES CLASSIFY DO</pattern><template><br>The key to chat robot development is log file analysis.  The program<br>stores client dialogues in a file called "dialog.txt" (unless you<br>change this default name).  The "Classify" button activates a routine<br>that scans the dialogue file and reports how many times each<br>category is activated.   The processing may take several minutes,<br>depending on the size and range of the dialogue file chosen.  The<br>result appears as a table in the Edit View window.  The program<br>displays the categories sorted by activation count.  <br><br>The format of each output line is:<br><br>P% (Q%) T PATTERN = N1 W1 + N2 W2 + ...<br><br>Where<br><br>P = Percent of inputs classified in this category<br>Q = Cumulative percent up to this category<br>T = Total count of inputs activating this category<br>Ni = number of times input Wi detected (blank if Ni = 1)<br>Wi = normalized input pattern activating this category<br><br></template></category><category><pattern>WHAT DOES QUICK TARGETS DO</pattern><template><br>After running Classify, the Quick Targets button displays a set of<br>new AIML categories for editing.   The program uses statistics to<br>find new category candidates.  These categories are displayed as<br><br>&lt;category&gt;<br>&lt;pattern&gt; NEW PATTERN &lt;/pattern&gt;  &lt;template&gt; OLD PATTERN &lt;/template&gt;<br>&lt;/category&gt;<br><br>where OLD PATTERN is the pattern from the original category and<br>NEW PATTERN is the proposed new input pattern.<br><br>The botmaster may choose to either delete or edit the new category.<br>If the new category is not desired, delete it by selecting the<br>category from the text area and "cut" the text with the "delete"<br>key.<br><br>If the new category appears useful, edit the OLD PATTERN string to<br>create a new reply.  Optionally, the NEW PATTERN may also be edited,<br>depending on how specific a pattern the botmaster desires.<br><br>When finished editing the Target categories, go to the "Botmaster"<br>menu and select "Add AIML".    The "Add AIML" menu item will read the<br>text displayed in the Edit View and parse it into new AIML categories.<br>The botmaster may then save the updated robot with the "File/Save Robot"<br>or "File/Save Robot As" menu items.<br><br></template></category><category><pattern>WHAT DOES MORE TARGETS DO</pattern><template><br>If you don't see enough good targets with "Quick Targets", hit<br>"More Targets."  <br><br></template></category><category>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -