Language Learner with No Name - LLNN Version 2.5 Manual (c) 1996 M.J.London All Rights Reserved DISCLAIMER ========== I, the author of this program accept no responsibility to any damage caused to computer or user through use of this program. I also accept no responsibility to any loss of sanity through use of this program or trying to find a use for it! This program is copyright M.J.London 1996, All rights reserved This program must not be dis-assembled or reverse engeneered in any way. This program is not crippled in any way, but you are encoraged to send a donation to the author if you find it useful :-) In return, you will receive the latest version, along with the QuickBASIC source code. Now that that's over with... What is it? =========== LLNN is designed to learn a language through examples given to it by a user. It starts by breaking down the sentence into its component words and then analysing them against its vocabulary. If it has the word, it adds a link to the following word. If it does not have the word, then it will add it to the list. Unfortunately, this can lead to some rather strange results, most of which do not make any sense. However, occasionally it comes out with a remark that is sensible, funny, or deep and meaningful. These can be saved with the copy function. How did it come about? ====================== I got the idea to write this from a program on the Amiga called NIALL - the Non Intelligent AMOS Language Learner. This was written by Matthew Peck in 1990. I want to make it clear that I use NONE of his code in this program. About SHAREWARE =============== This program is Shareware. This means that if you like it, you are encouraged to send the author a small some of money. This will usually result in him/her sending you the latest version of the software, and keep you informed of further updates. Shareware is freely distributable, you are urged to copy it and pass it around! Just be sure that you copy ALL the files. It is illegal not to do so. To register this program, fill out REGISTER.DOC and send œ5 along with a blank disk to: M.J.London 49 Barley Road, Thelwall, Warrington, Cheshire, ENGLAND, WA4 2EZ In return you will receive the latest version of the software, customised for you and details of any further updates. If you have any queries, or just want to make yourself known to me over the internet, you can e-mail me at : mlondon@mail.talk-101.com How to set it up ================ If you have received this program along with S.C.Kingston's AI program, then setting up this couldn't be easier. Just install AI following it's DOC file, make sure that LLNN.EXE and it's other files are in the same directory as it, run AI. Follow the instructions in the AI docs to run LLNN, and you're away. If you didn't get LLNN with AI, then install LLNN into a directory of your choice, e.g. C:\LLNN and type LLNN. This should get you going. How to get started ================== This is really easy! Once you get into the program, you will be greeted by it and presented with a 'USER:' prompt. Type something and press enter. You'll get a reply that is the same as what you typed. That's because what you typed has been added to its vocabulary, and that's all it knows. Keep typing! An example session might go something like this: LLNN : Hi there! Type #QUIT to EXIT or #? for HELP USER : Hello. How are you? LLNN : HELLO. USER : Isn't the sky blue? LLNN : HOW ARE YOU? USER : I'm fine thanks. LLNN : HELLO. USER : I was working hard today. LLNN : I'M FINE THANKS. USER : I had a new project to start. LLNN : HELLO. USER : I was very busy working all day. LLNN : I WAS WORKING ALL DAY. USER : Really? LLNN : I WAS VERY BUSY WORKING HARD TODAY. You get the idea. If you want something more interesting, you can either spend more time 'talking' to it, or you can load my saved example. To do this, type: #LOAD When you are presented with a prompt for the filename, type : EXAMPLE This will load my example. Now, have a chat! A look at the '#' functions =========================== I you have read all the manual so far, you will already have encountered one # function, #LOAD. There are quite a few more. Here's a list: #? See the help screen #LOAD Load a saved file #SAVE Save the current file #TEXT Import an ASCII text file #COLOUR Change the colour scheme #COPY Save LLNN's last comment #CORRECT Correct a word in the vocabulary ## See how many words LLNN knows #VER See the version screen #CLS Clear the screen #LIST List all the words #NEW Erase all data and start again #QUIT Quit the program Now, how to use them. To get a list of # commands at any time, type #? and press enter. This will bring up the help screen. If you are working on a file and want to save it for further use, type : #SAVE and press enter. You will be presented with a file requester. Enter the filename and press enter. Be careful! I have not yet written in overwrite protection. To load this file again, type #LOAD and press enter. You will again be presented with a file requester. Enter the filename and press enter. The file will then load. To have a little fun and load a text file, like this manual, type #TEXT and press enter. Enter the filename and path and press enter. The file will be loaded and processed. Then, type away! To change the colour scheme (why?) type #COLOUR and press enter. You will be given a prompt for colours. Enter a number between 0 and 15 for User and LLNN colours, and a number between 0 and 7 for the background. To reset them to their defaults, enter 1. Here is a list of colours: 0 Black 1 Blue 2 Green 3 Cyan 4 Red 5 Magenta 6 Brown 7 White 8 Gray 9 Light Blue 10 Light green 11 Light cyan 12 Light red 13 Light magenta 14 Yellow 15 Bright white To clear the screen, type #CLS and press enter. To see the version screen again, type #VER and press enter. To see how many words there are in the vocabulary, type ## and press enter. you will be given the number of words and the number of question words. This is because LLNN differentiates between statements and questions and stores the words separately. The maximum number of words is 1000 and question words is 500. To see all the words, and the links between then, type #LIST and press enter. This will give you a list of all words in the following format: Number, Start, End, Links Start and End are flags. 1 if true, 0 if false. To save the last comment LLNN made into the file COMMENTS.DAT, type #COPY and press enter. If you mis-type a word, type #CORRECT and press enter. You will be asked for the incorrect word. Enter it. If it is found, you will be asked for a correction. Enter this and everything should be fine. To start again from scratch, type #NEW and press enter. All data will be erased and you may start again. Command Line Options ==================== When you start LLNN, you can start it with 0-2 options. /A Use 2 Screens instead of 4 for compatibility with AI /L:filename.ext Load filename.ext on startup. Goodbye ======= I hope that you enjoy this program, and that you pass it around to all your friends. LLNN is (C)Copyright 1996 M.J.London AI is (C)Copyright 1996 S.C.Kingston