///////////////////////////////////////////////////////////////////////////// /* Copyright 2001 Ronald S. Burkey This file is part of GutenMark. GutenMark is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. GutenMark is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GutenMark; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Filename: IsHeaderNeural.c Purpose: Determine (with the neural-net method) whether the current line is a heading. Mods: 01/01/02 RSB Created. */ #include #include #include #include #include "AutoMark.h" //------------------------------------------------------------------------ // This function is used to recognize headings. Returns 0 if it thinks the // line is not a header. The array Status.BufferedLines[BUFFERED_LINES] should have // been pre-loaded. Status.BufferedLines[PRE_OR_POST_LINES] is the current line, // while the other array elements are earlier and later lines from the file. int IsHeaderNeural (LineRecord * BufferedLines, int *LastWasHeader1, int LineNum, AnalysisDataset * Dataset, char *Line) { return (0); }