📄 std-dont.aiml
字号:
<li>- What is a symbolic reduction?<br /></li><li>- What are the get methods?<br /></li><li>- What are the set methods?<br /></li><li>- How do I use the pronoun tags?<br /></li><li>- What is the <topic> tag?<br /></li><li>- Where does the <topic> tag appear?<br /></li><li>- How do I use the <topic> tag?<br /></li><li>- I still don't get "it"<br /></li><li>- Can I create more AIML tags?<br /></li><li>- What is are the <person> tags?<br /></li><li>- How does the <condition> tag work?<br /></li><li>- How does the random function work?<br /></li><li>- What is the <person/> tag?<br /></li><li>- What is the <person2/> tag?<br /></li><li>- What is "gossip" ?<br /></li><li>- What is the <personf/> tag?<br /></li><li>- What's the <srai> tag?<br /></li><li>- Could you explain the <srai> tag a little more?<br /></li><li>- How recursive is AIML?<br /></li><li>- What are "justthat" and "justbeforethat"<br /></li><li>- How can I insert a transcript in the robot reply?<br /></li><li>- Can I run shell commands from AIML scripts?<br /></li><li>- How can I restrict remote clients from running programs on my computer?<br /></li><li>- Can I insert dynamic HTML into the robot reply?<br /></li><li>- Can I include JavaScript in the robot reply?<br /></li><li>- What is <think>?<br /></li><li>- What is the DTD for AIML?<br /></li><li>- Do I need to know about the Java classes?<br /></li><li>- How does program B work?<br /></li><li>- What is the class structure of program B?<br /></li><li>- I tried to compile prorgam B and got a lot of warnings.<br /></li><li>- What are deprecated APIs?<br /></li><li>- What is class Globals?<br /></li><li>- What is class StringSet?<br /></li><li>- What is class StringSorter? <br /></li><li>- What is class StringHistogrammer?<br /></li><li>- What is class StringRanker?<br /></li><li>- What is class Brain?<br /></li><li>- What is the Responder interface?<br /></li><li>- What is the low level interface to program B?<br /></li><li>- Lower, Lower<br /></li><li>- What is class IntSet?<br /></li><li>- What is class SortedIntSet?<br /></li><li>- What is class Substituter?<br /></li><li>- What is class Unifier?<br /></li><li>- What is class Parser?<br /></li><li>- What is class AliceReader?<br /></li><li>- What is class Classifier?<br /></li><li>- What is class LineClassifier?<br /></li><li>- What is class Dialogue?<br /></li><li>- What is class Access?<br /></li><li>- What is class B?<br /></li><li>- What is class Bawt?<br /></li><li>- What is class Blet?<br /></li><li>- What is class Kid?<br /></li><li>- What is class RobotCommunicator?<br /></li><li>- What is class Loader?<br /></li><li>- What is class WebServer?<br /></li><li>- What is class Clerk?<br /></li></ul></template></category><category><pattern>HELP</pattern><template><random><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><li>- What is a symbolic reduction?<br /></li><li>- What are the get methods?<br /></li><li>- What are the set methods?<br /></li><li>- How do I use the pronoun tags?<br /></li><li>- What is the <topic> tag?<br /></li><li>- Where does the <topic> tag appear?<br /></li><li>- How do I use the <topic> tag?<br /></li><li>- I still don't get "it"<br /></li><li>- Can I create more AIML tags?<br /></li><li>- What is are the <person> tags?<br /></li><li>- How does the <condition> tag work?<br /></li><li>- How does the random function work?<br /></li><li>- What is the <person/> tag?<br /></li><li>- What is the <person2/> tag?<br /></li><li>- What is "gossip" ?<br /></li><li>- What is the <personf/> tag?<br /></li><li>- What's the <srai> tag?<br /></li><li>- Could you explain the <srai> tag a little more?<br /></li><li>- How recursive is AIML?<br /></li><li>- What are "justthat" and "justbeforethat"<br /></li><li>- How can I insert a transcript in the robot reply?<br /></li><li>- Can I run shell commands from AIML scripts?<br /></li><li>- How can I restrict remote clients from running programs on my computer?<br /></li><li>- Can I insert dynamic HTML into the robot reply?<br /></li><li>- Can I include JavaScript in the robot reply?<br /></li><li>- What is <think>?<br /></li><li>- What is the DTD for AIML?<br /></li><li>- Do I need to know about the Java classes?<br /></li><li>- How does program B work?<br /></li><li>- What is the class structure of program B?<br /></li><li>- I tried to compile prorgam B and got a lot of warnings.<br /></li><li>- What are deprecated APIs?<br /></li><li>- What is class Globals?<br /></li><li>- What is class StringSet?<br /></li><li>- What is class StringSorter? <br /></li><li>- What is class StringHistogrammer?<br /></li><li>- What is class StringRanker?<br /></li><li>- What is class Brain?<br /></li><li>- What is the Responder interface?<br /></li><li>- What is the low level interface to program B?<br /></li><li>- Lower, Lower<br /></li><li>- What is class IntSet?<br /></li><li>- What is class SortedIntSet?<br /></li><li>- What is class Substituter?<br /></li><li>- What is class Unifier?<br /></li><li>- What is class Parser?<br /></li><li>- What is class AliceReader?<br /></li><li>- What is class Classifier?<br /></li><li>- What is class LineClassifier?<br /></li><li>- What is class Dialogue?<br /></li><li>- What is class Access?<br /></li><li>- What is class B?<br /></li><li>- What is class Bawt?<br /></li><li>- What is class Blet?<br /></li><li>- What is class Kid?<br /></li><li>- What is class RobotCommunicator?<br /></li><li>- What is class Loader?<br /></li><li>- What is class WebServer?<br /></li><li>- What is class Clerk?<br /></li></random></template></category><category><pattern>HOW ARE THE CATEGORIES STORED</pattern><template><br />If your session with program B included a "Classify" routine, then<br />the AIML script is stored in order of category activation rank.<br />In other words, program B stores<br />the most frequently accessed category (usually '*') first, the second<br />most frequently next, and so on. If a number of categories have the<br />same activation count, program B saves them in alphabetical order by<br />pattern. Hence, if the session did not include a "classify" routine,<br />the program stores all the categories in alphabetical order by pattern<br />(because they all have an activation count of zero).<br /><br />One reason to store the categories in order by activation is to<br />make the Applet interface more natural. Because the Applet interface<br />starts simultaneously with a thread to load the robot source file,<br />the Applet client can talk with the robot before all the categories<br />are fully loaded. Given that the interlocutor is more likely to<br />say something that activates a more frequently activated category,<br />it makes sense to transmit these categories first. Storing the<br />*.aiml files in order of category activation achieves the desired effect.<br />The Applet loads the most frequent categories first, and continues<br />loading in the background while the conversation begins.<br /><br /></template></category><category><pattern>HOW ARE THE PATTERNS MATCHED</pattern><template><br />Program B stores the categories in alphabetical order by pattern.<br />When a client enters an input, the program scans the categories<br />in reverse order to find the best match. By comparing the<br />input with the patterns in reverse alphabetical order, the algorithm<br />ensures that the most specific pattern matches first. "Specific"<br />in this case has a formal definition, but basically it means that<br />the program finds the "longest" pattern matching an input.<br /><br />The wild-card character "*" comes before "A" in alphabetical <br />order. For example, the "WHAT *" pattern is more general than "WHAT IS *".<br />The default pattern "*" is first in alphabetical order and the<br />most general pattern. For convenience AIML also provides a<br />variation on "*" denoted "_", which comes after "Z" in alphabetical<br />order.<br /><br /></template></category><category><pattern>HOW CAN I CREATE A NEW ROBOT PERSONALITY</pattern><template><br />There is a lot of flexibility in robot personality design with AIML. <br />You can add to any of the existing AIML files, modify or delete them, <br />create your own, or use the GUI tools to analyze the log files <br />and create new categories. One simple method is to create your own <br />Specialty.aiml file so that you can always get the latest copies <br />of the ALICE files. Load your Specialty.aiml first in the root<br />AIML file (usually B.aiml) so that its categories have priority over ALICE's.<br /><br /></template></category><category><pattern>HOW CAN I CREATE MY OWN CHAT ROBOT</pattern><template><br />The secret to chat bot programming, if there is one, is what Simon<br />Laven called "continuous beta testing". Program B runs as a server<br />and collects dialog on the web. The program provides the chat bot <br />developer with a tool called "classify dialogues", that tests the current <br />robot with the history of accumulated human queries. Moreover, the program<br />suggests new categories automatically, for the botmaster to refine.<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 /><gender/> the robot's gender<br /><location/> the robot's location<br /><birthday/> the robot's birthday<br /><botmaster/> the botmaster's name<br /><br />Together with the previously discussed <name/>, 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 />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -