Home Interfacing  (DIHYPH) Installation (DIHYPH) Default Values (DIHYPH) Testprogramm (DIHYPH)      Exeption Dictionary Unicode-Version UTF-8 Version Kontakt
Testprogramm (DITECT)      
Interfacing (DITECT) Installation (DITECT) Default Values (DITECT) Test program (DIHYPH)       
Test programm (DITECT)     

DIHYPH / DITECT Installation




In general, the first two letters of program-names have the
following meanings:
DH = DIHYPH files, but some of them are also used in other programs.
DT = DITECT files.
DM = Multi-purpose programs; e.g., for DIHYPH and DITECT linked together
in one system.

Identical path-name has to be defined in
array 'dhpath' of program "DHDEF.C" and in "DHEXU.BAT".
array 'dtpath' of program "DTDEF.C" and in "DTEXU.BAT".

When a program - error is found by DITECT or DIHYPH, an error message is
written into error-file "dmessage".
As this file is never deleted by DIHYPH or DITECT, the calling-system must take
care of displaying the error message(s) to the user and of deleting the file.

As DITECT is able to check not only words ( csch=1 ) but also sentences ( csch=2 ),
the value of 'afc' is internally incremented to the next word.
So, when DITECT is used for single words only, 'afc' always has to be reset to
the starting value whenever DITECT is recalled, or before it is switched from
DITECT to DIHYPH (see testprogram DMTEST.C).

Before switching over from DITECT to DIHYPH the value for 'hynr' has to be
set to zero ( hynr=0 ).

For linking DIHYPH and DITECT together in one program or DLL, please see
test program source "DMTEST.C" (look for !!!!!) and file "DMTEST.LNK".
Compiling of all C-sources with large compiler model is required !


DMTEST.EXE is started as follows:
DMTEST  nn  tt  (f:)  <DM01.TXT
        |   |    |        |____   option.  Input file with testwords.
        |   |    |                else:    Input words via keyboard.
        |   |    |
        |   |    |_____________   option.  DITECT only displays
        |   |                              erroneous words.
        |   |                     else:    All words are displayed.
        |   |
        |   |__________________   option.   s = spelling check only.
        |                                   h = hyphenation    only.
        |                                  sh = spelling check  fol-
        |                                       lowed by hyphenation.
        |                         else:    hs   is default.
        |
        |______________________   Language-no.  (e.g. 40 = German)

File "dm01.res" shows the results of following program-test:
dmtest  01  hs  (f:)  <dm01.txt  >dm01.res 


There are two configuration files ("dhdflt.cfg" for DIHYPH and "dtdflt.cfg"
for DITECT), where the user may set several values according to his own wishes.
These values are described within the configuration files, but hereunder is
more detailed information for the following values:

excspac is the size of the largest DIHYPH or DITECT catalog.
exdspac is the size of the largest DIHYPH or DITECT input record.

These two values are of a different size for DIHYPH and for DITECT.
They are preset correctly and must never be decreased, but may be increased when-
ever necessary (e.g. see: Building exception catalogue !).
Using configuration files "dhdflt.cfg" and "dtdflt.cfg", these values may either
be defined as basic default values, which means that they are valid for
all languages, but 'excspac' and 'tabspac' in "dhdflt.cfg", as well as
'excspac' in "dtdflt.cfg", may also be set as language-dependent.
The first method needs more RAM, because it allocates the same RAM size for every
language. Using the second method, the values may be defined as tailor-made for
every language.

If there is insufficient RAM available, a message is written into the error-file
"dmessage", and the preceding language tables used are overlaid by the new ones.


DITECT stores erroneous or unfound words in two files:

"DTnnEXC.mmm" sequentially in text mode and

"DTnnTMP.mmm" in binary mode for fast access to avoid one and the same unfound
word being marked again and again; e.g., a special name occuring several
times within one text.

Storage into these two files is controlled by the value of 'ftmp'.
 0   No storage at all
 1   Storage into  "DTnnTMP.mmm"  only
 2   Storage into  "DTnnTMP.mmm"  and  "DTnnEXC.mmm"
+4   ( 5 or 6 ):   "DTnnTMP.mmm"  should be deleted at end of job.
                      |      |__  mmm  = User-no.  1 - 999
                      |_________  nn   = Language-no. (40 = German etc.)

The User-no. is automatically created by DITECT as follows:
The program checks whether file "DTnnTMP.mmm" with the number 'mmm' is being
used already. Thereby, the first unused number is used.
When file-number (mmm) 999 is reached, no more files are created and word storage
is switched off.

When a specific file needs to be used again, the user may set the required 'mmm'
number into the value of 'usef' ! If the file already exists, new information
will be appended !

So, either some or all of these files are deleted from time to time by users, or
each user specifies his own file-number 'mmm'.
Nevertheless, file "DTnnTMP.mmm" should not be used longer than necessary,
because increasing this file will slow down the program speed !
Usually, this file should be deleted at the conclusion of one text job (ftmp=6).

File(s) "DTnnEXC.mmm" should be checked by an authorized person after a couple
of days. All unnecessary or erroneous words should be deleted, while all other
words should be added to exception file (after that the exception catalogue has
to be recreated), and the "DTnnEXC.mmm" files should be deleted.

Whenever a DITECT exception file becomes very large ( >100000 characters) the
user should send it to us, because working with very large exception files
decreases the program-speed.
We add the file to the compressed dictionary DTnn.BIN and return it to the user
(free of charge), who should then delete his exception file.



DIHYPH / DITECT installation files


Files          Description
____________________________________________

D*.C           DIHYPH / DITECT  C-Sources

DHEXT.H        DIHYPH header files
DHGEEXT.H
DHNNEXT.H

DHCOnn         DIHYPH runtime files
DHTAnn
DHTADF
DHDFLT.CFG
DHEXnn.CAT
DHEXnn.TXT

DHEXA.BAT      DIHYPH exception handling
DHEXD.BAT
DHEXU.BAT


DTEXT.H        DITECT header files

DTnn.BIN       DITECT runtime files
DTnn.CUT
DTnn.PRL
DTSKIP.TXT
DTCOnn
DTCRNN         (or:  DTCRnn)
DTDFLT.CFG

DTEXA.BAT      DITECT exception handling
DTEXD.BAT
DTEXU.BAT


DMTEST.EXE     DIHYPH / DITECT test program
DMTEST.LNK        "   /   "    link file
DMnn.TXT       Test  input file
DMnn.RES       Test result file  

nn = Language-no., e.g. 40 = German !


DIHYPH / DITECT linkage


Files            Description
________________________________________________________

DMTEST           DIHYPH-/DITECT-Testprogram
DXTIME           Time-program.   DXTIMED = dummy version.
                 These two programs have to be replaced
                 by your text-/publishing-system.

DMFRAM           Programs for DIHYPH and DITECT together
DMEXCFS                              ---

DHEXCFH          Programs for DIHYPH
DHYPH
DHBUST
DHCCON
DHCFUNCT
DHCOL
DHCONTR
DHCUPP
DHCVOW
DHDEF
DHDFLT
DHENDR
DHFUG
DHGECOL
DHGELOG
DHGEVOL
DHGEVOP
DHGEVOS
DHINT
DHLASP
DHLOG
DHNN
DHNXLT
DHQUAL
DHRCOF
DHRTAF
DHSLLOG
DHSPARM
DHSUBR
DHTABI
DHTADF
DHTCMD
DHTLUP
DHVEMI
DHVOL
DHVOS

DTECT            Programs for DITECT
DTINT
DTDEF
DTBINH
DTBINW
DTMATCH
DTCAPS
DTCHECK
DTDFLT
DTEXCW
DTFILSS
DTSTIC
DTSTIC4   




Contact