00001 /********************************************************************** 00002 * File: tfacep.h (Formerly tfacep.h) 00003 * Description: Declarations of C functions and C owned data. 00004 * Author: Ray Smith 00005 * Created: Mon Apr 27 12:51:28 BST 1992 00006 * 00007 * (C) Copyright 1992, Hewlett-Packard Ltd. 00008 ** Licensed under the Apache License, Version 2.0 (the "License"); 00009 ** you may not use this file except in compliance with the License. 00010 ** You may obtain a copy of the License at 00011 ** http://www.apache.org/licenses/LICENSE-2.0 00012 ** Unless required by applicable law or agreed to in writing, software 00013 ** distributed under the License is distributed on an "AS IS" BASIS, 00014 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 ** See the License for the specific language governing permissions and 00016 ** limitations under the License. 00017 * 00018 **********************************************************************/ 00019 00020 #ifndef TFACEP_H 00021 #define TFACEP_H 00022 00023 #include "hosthplb.h" 00024 #include "tessclas.h" 00025 #include "tessarray.h" 00026 #include "tstruct.h" 00027 #include "notdll.h" 00028 #include "choices.h" 00029 #include "oldlist.h" 00030 #include "tface.h" 00031 #include "permute.h" 00032 #include "adaptmatch.h" 00033 #include "blobclass.h" 00034 #include "stopper.h" 00035 #include "associate.h" 00036 #include "chop.h" 00037 #include "expandblob.h" 00038 #include "tordvars.h" 00039 #include "metrics.h" 00040 #include "tface.h" 00041 #include "badwords.h" 00042 #include "structures.h" 00043 00044 typedef void (*TESS_TESTER) (TBLOB *, BOOL8, char *, inT32, LIST); 00045 typedef LIST (*TESS_MATCHER) (TBLOB *, TBLOB *, TBLOB *, void *, TEXTROW *); 00046 00047 extern TEXTROW normalized_row; 00048 extern int display_ratings; 00049 00050 #if 0 00051 #define strsave(s) \ 00052 ((s) ? \ 00053 ((char*) strcpy ((char*)alloc_string (strlen(s)+1), s)) : \ 00054 (NULL)) 00055 #endif 00056 00057 #define BOLD_ON "&dB(s3B" 00058 #define BOLD_OFF "&d@(s0B" 00059 #define UNDERLINE_ON "&dD" 00060 #define UNDERLINE_OFF "&d@" 00061 #endif