============================================================================ CNet Lexicon Interpreter, v1.5 README! by Dotoran of Frontiers! ============================================================================ This CNet addition makes use of a VERY POWERFUL little DOS program called LEX. Basically, what LEX does is to examine a text file, then churn out some information concerning number of words used, number of long words, sentences, the readability of the text, and even tells you who could understand your message. This program serves as a CNet Amiga Interface to the LEX program. This interface is what actually prints the data to the screen, so that your users can see it. There are numerous ways in which you can modify how the LEX interface performs, so be sure to read this ENTIRE file for valuable info! Here's a copy of what Lexicon created when I checked this README! file using the LEX command: Analyzed: 145 out of 145 Total Lines. Number of Words Analyzed: 855 Long Words(3+ Syllables): 103 Your Average Word Length: 1.4 Syllables. Total Number of Sentences: 80 Average Words Per Sentence: 10.7 The Gunning-Fog Index Value: 9 The Flesch Index Value: 77 The Flesch Grade Level: 7 The Kincaid Index Value: 5 Could Be Understood By: An Average High School Freshman. How to INSTALL: ~~~~~~~~~~~~~~~ Installing this file isn't too difficult. Follow these steps: 1: Place the LEX file in your C: directory. 2: Place the LEXICON file in your PFILES: directory. 3: Load your BBSTEXT file into a text editor. Locate text lines 218 (Mail), 299 (Feedback), 400 (Post) and 478 (Response), and add the following IN FRONT OF all other characters you see on these lines: {#0pfiles:Lexicon 0} /* Use the 0 if you wish LEX to ASK the ^ user if they wish to use LEX or not. */ Control-Q {#0pfiles:Lexicon 1} /* Use the 1 if you wish LEX to RUN RIGHT ^ AWAY, without asking the user. */ Control-Q 4: Load your BBSTEXT file into a text editor. Add the following command to the bottom of Menu # 2; Available Everywhere: LEX, LEXicon `1- | {#0pfiles:Lexicon} ^ ^ Access `--> Control-Q Groups NOTE: There should be NO ARGUMENTS specified in the above command. USAGE: The LEX command allows the SysOp(or User) to LEX-Check any text file of their choosing. If a SysOp(or LOCAL user) wishes to use the command, they should specify a valid path/filename as the argument, as shown in the example below: Main> lex systext:newsletter Remote users can also use the LEX command specifying the argument as UPLOAD, as shown below: Main> lex upload They will then be asked to start an XMODEM upload. The file they send should be a TEXTUAL file, else odd results may occur. At the completion of the upload, the file sent will be analyzed and then deleted from your system. The file will be uploaded to your Editor Temp Path directory, using the filename "LexFile". 5: Now SAVE both your BBSTEXT file and your BBSMENU file, then reload them by pressing your RAMIGA - T key combination. 6: Now load the "Lexicon" file into a text editor and edit the variables found near the beginning of the file: colors= "6 e 9 a b" /* Defines color of Lexicon Chart. See README! File */ ~~~~~~ This variable defines what colors the Lexicon data will be printed in. It should contain 5 valid MCI color codes, separated by ONE SPACE ONLY! The colors specified are as follows: 6 e 9 a b Color of 1st, 3rd, 5th, etc. TEXT Lines. <---' | | | | Color of 2nd, 4th, 6th, etc. TEXT Lines. <-----' | | | Color of ALL COLONS PRINTED to Screen. <-------' | | Color of 1st, 3rd, 5th, etc. LEX Numeric Values. <---------' | Color of 2nd, 4th, 6th, etc. LEX Numeric Values. <-----------' Remember, valid MCI Color Codes are: 1,2,3,4,5,6,7,8,9,a,b,c,d,e,and f. 0 is black, and is NOT a good choice for this variable! uselex= "31" /* Access Groups that will NOT use Lexicon. ""=ALL */ ~~~~~~ This variable holds the ACCESS GROUPS you wish to SKIP using Lexicon on. Users of these groups will NOT be asked, the file will simply EXIT, without the user ever knowing the file was accessed. If you wish ALL GROUPS to use Lexicon, simply make this variable a NULL STRING: "" If more than one group will be specified, then separate them with at LEAST ONE SPACE, like this: uselex="21 22 23" WHAT ELSE?! ~~~~~~~~~~~ That's all there is to this file, unless you feel the need to change the wording, order, etc of any of the data within this file. The LEX Output data was NOT used for this file. Custom text strings were created to give it a more clean, orderly look. Note that you do NOT have to include the Lexicon program call on ALL 4 BBSTEXT lines if you don't wish to. These four locations are simply all the places where written text by the user is saved, so if you only wished the Lexicon to be used for Posting and Responding, then you needn't change lines 218 or 299, etc. You be the judge! Also note that the version of LEX included with THIS archive has been slightly ALTERED, and is DIFFERENT from versions of LEX you may have gotten from other sources. The "understood by" strings were CAPITALIZED as another means of making this file look more professional. THE FUTURE? ~~~~~~~~~~~ If you'd like to see something added to Lexicon's ability, just let me know. If it's within reason, you may see your idea incorporated in v2.0! - Dotoran ============================================================================ Written by Dotoran of Frontiers BBS (716)/823-9892! ============================================================================