00001 // ========== This file is under LGPL, the GNU Lesser General Public Licence 00002 // ========== Dialing Lemmatizer (www.aot.ru) 00003 // ========== Copyright by Alexey Sokirko, Andrey Putrin 00004 00005 #ifndef __PLMLINECOLLECTION_H_ 00006 #define __PLMLINECOLLECTION_H_ 00007 #pragma warning (disable : 4786) 00008 00009 #include "../GraphanLib/GraphmatFile.h" 00010 #include "Lemmatizers.h" 00011 00012 00013 00015 // CPlmLineCollection 00016 00017 class CPlmLineCollection 00018 { 00019 public: 00020 StringVector m_Items; 00021 CLemmatizer* m_pLemmatizer; 00022 00023 CPlmLineCollection(); 00024 ~CPlmLineCollection(); 00025 00026 bool SaveToFile(string filename) const; 00027 bool ProcessPlmLines(const CGraphmatFile* piGraphmatFile); 00028 00029 }; 00030 00031 inline bool CheckIfHomonymPlmLine(const char* strPlmLine) 00032 { 00033 return( strPlmLine[0] == ' ') ; 00034 } 00035 00036 00037 #endif //__COMPLMLINECOLLECTION_H_