www.pudn.com > ChineseProcessing.rar > SentSeg.h


// SentSeg.h: interface for the CSentSeg class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_SENTSEG_H__C39A1734_6837_4F4E_AE31_1CBEA6549515__INCLUDED_) 
#define AFX_SENTSEG_H__C39A1734_6837_4F4E_AE31_1CBEA6549515__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "CPTDoc.h" 
 
class CSentSeg   
{ 
private: 
	void FindAllFiles(CString sDir, CString sPattern); 
	CStringArray m_saFiles; 
	void OutputSentence(); 
	CCPTDoc * m_pDoc; 
	CString m_sDir; 
	CFile *m_fOut; 
	ChChar m_ccBuf[1024]; 
	int m_nIdx; 
 
public: 
	CSentSeg(CCPTDoc *, CString); 
	virtual ~CSentSeg(); 
 
	void DoSentSeg(); 
 
}; 
 
#endif // !defined(AFX_SENTSEG_H__C39A1734_6837_4F4E_AE31_1CBEA6549515__INCLUDED_)