Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

sentenceentry.h

Go to the documentation of this file.
00001 /* sentenceentry.h    $Revision: 1.3 $ $Date: 2005/12/10 20:33:54 $
00002    Copyright (C) 2000 University of Bonn.
00003    http://www.ikp.uni-bonn.de/boss
00004 
00005    This program is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU General Public License
00007    as published by the Free Software Foundation; either version 2
00008    of the License, or (at your option) any later version.
00009 
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the Free Software
00017    Foundation, Inc., 59 Temple Place - Suite 330,
00018    Boston, MA  02111-1307, USA.
00019 */
00020 
00025 #ifndef SENTENCEENTRY_H
00026 #define SENTENCEENTRY_H
00027 
00028 #include "wordentry.h"
00029 
00034 class c_SentenceEntry {
00035   c_WordEntry word;
00036   vector< c_WordEntry > words;
00037   string wb_sym;
00038   string sb_sym;
00039   bool   start;
00040   string file;
00041   char   type;
00042   bool isWordBoundarie(const string & p) const;
00043   char isSentenceDelimiter(const string & p) const;
00044  public:
00045   c_SentenceEntry(const string & f, const string & wb, const string & sb) :
00046     word(sb), wb_sym(wb), sb_sym(sb), start(true), file(f), type(0) {}
00047   void add(const c_LabelEntry & l);
00048   ostream & printXML(ostream & out, const string & ident);
00049 };
00050 
00051 #endif

Generated on Tue Dec 20 23:14:38 2005 for BOSS by doxygen 1.3.6