home *** CD-ROM | disk | FTP | other *** search
- DOCUMENT: TCLASS
-
- This is the main document for TClass. Other documents in this directory:
-
- AI.doc
- Programmer.doc
- Installation.doc
- showbytes.doc
-
- Contents
-
- 0.A - What's IN here?
-
- 1.A - What is TClass?
- 1.B - How is it used?
- 1.C - Bugs?
-
- 2.A - What kind of software is this?
-
- ================================================================================
-
- 0.A - What's IN here?
-
- This archive should've included:
-
- TClass The program itself.
- TClass.brain The brain file. To be placed in S:.
- TClass.changes List of changes from version to version.
- showbytes See showbytes.doc.
- WARNING.DisplayMe TOO important to ignore.
- Docs/TClass.doc Documentation for TClass.
- Docs/Programmer.doc Doc for TClass programming and brain structure.
- Docs/AI.doc Doc on artificial intelligence method used.
- Docs/Installation.doc Installation instructions.
- Docs/showbytes.doc Not too important, but take a look anyway. :)
-
- If you didn't get one or more of these files, look around for a better
- archive. If you still can't find all the files, CONTACT ME at the e-mail
- address at the bottom of this file.
-
- ================================================================================
-
- 1.A - What is TClass?
-
- TClass is, to put it very generally, is a file identifier. You can specify a
- number of files on the command line, and it will tell you what types of files
- they are. TClass also gives you the option of making it learn new file
- types, and storing them in a "brainfile." Read on for more. Also, see
- Installation.doc for installation instructions.
-
- 1.B - How is it used?
-
- Usage: TClass <file1> [file2] .... [filen]
-
- This usage will take specified files and identify them. Basic AmigaDOS
- wildcards are accepted:
-
- TClass fonts:#?.font scratch:#?
-
- Usage: TClass [I=Ignore] [L=Learn] <basefile> <file1> [file2] .... [filen]
-
- This usage is for learning new file types. Note, [] = optional, and
- <> = required. Also note that the 'I(gnore)' and 'L(earn)' switches can be
- ANYWHERE on the command line.
-
- I=Ignore: "Ignore" switch, activated by either "I" or "Ignore" (case
- insensitive). Usually, while learning, TClass expects files to be at least
- 20 bytes, since most identifying bytes are in the first 20. However, if
- you're dealing with files that can be smaller than 20 bytes (*.font files,
- for instance), then specify the ignore option and TClass will disregard file
- size.
-
- L=Learn: "Learn" switch, activated by either "L" or "Learn" on the command
- line (again, case-insensitive). This tells TClass to go into learn mode. In
- learn mode, TClass requires a base file, which is the model, and at least one
- other file of the SAME TYPE. Note, the more files you specify, the more
- accurate the learning is. IT IS UP TO YOU AS THE USER TO MAKE SURE THE
- SPECIFIED FILES ARE --OF THE SAME TYPE--!!! Some examples:
-
- Fig1.1 TClass learn fonts:#?.font idiot.info
-
- This will definitely make the result incorrect. You may get a message like
- "Files do not match at all" and the results won't be recorded. But in most
- cases, after learning, you'll see this:
-
- Filetype learned! 80% accuracy.
-
- Of course, the percentage varies, and it is NOT based on the number of files
- you specify. See AI.doc if you'd like to know how TClass compares files.
- At any rate, if you mix files as shown in Fig1.1, you'll most likely get a
- very low accuracy percentage like 5% or so.
-
- After the new file type is learned, its name and bytelist are stored in
- S:TClass.brain. See Programmer.doc for more info on the brainfile structure.
-
- 1.C - Bugs?
-
- Not that I know of. There's one misleading thing that I pointed out above,
- though. When you see this:
-
- Filetype learned! 95% accuracy.
-
- It doesn't mean a whole lot. You can give TClass 2 files to learn from and
- you might get 95% accuracy. Or you could give it 20 files and get 78%
- accuracy. PLEASE see AI.doc for clarification on this!
-
- ================================================================================
-
- 2.A - What kind of software is this?
-
- Passive ShareWare. Give this program to anyone at all, BUT YOU MUST
- DISTRIBUTE THIS ENTIRE ARCHIVE IN ITS ENTIRETY. If you use this program,
- great! If you like it, that's great, too. You don't have to send money, but
- I would appreciate it. $1, $5, $20, it doesn't matter. The main thing is
- that you distribute the complete archive, not just pieces of it. Thanks.
-
-
- TClass 2.9 is Copyright (C) 1992 by Vallen Software. All rights reserved.
-
- - Sam Hulick
- - shulick@indiana.edu
-
-