postag.h

来自「计算机英汉机器翻译系统中的英语词性标注方法实现」· C头文件 代码 · 共 69 行

H
69
字号
// PosTag.h : main header file for the POSTAG application
//

#if !defined(AFX_POSTAG_H__29BB7546_1A85_11D3_990A_004005146610__INCLUDED_)
#define AFX_POSTAG_H__29BB7546_1A85_11D3_990A_004005146610__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols
#include "Diction.h"
#include "MAINSTRU.H"

/////////////////////////////////////////////////////////////////////////////
// CPosTagApp:
// See PosTag.cpp for the implementation of this class
//

class CPosTagApp : public CWinApp
{
public:
	CPosTagApp();
	 CEditView *m_pEditView;
	 bool bIsInit;
	 DictSearch g_objLexSearch;
	 //SentenceType	qg_objMorSent;
    Dictionary *m_obDiction;
	Dictionary *m_obSysDiction;		//系统词典数据
	Dictionary *m_obAddtionDiction;	//系统附加词典数据
	Dictionary *m_obUserDiction;	//用户词典数据
    FILE *m_fpSysIndexDat;			//系统词典索引
	FILE *m_fpAddtionIndexDat;		//系统附加词典索引
	FILE *m_fpUserIndexDat;			//用户词典索引
    LPSTR m_pszSysHashTable;
	LPSTR m_pszAddtionHashTable;
	LPSTR m_pszUserHashTable;
	int m_nHashTableSize;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPosTagApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CPosTagApp)
	afx_msg void OnAppAbout();
	afx_msg void OnDictionaryBuildindexstep1();
	afx_msg void OnDictionaryBuildindexstep2();
	afx_msg void OnDictionaryBuildindexstep3();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_POSTAG_H__29BB7546_1A85_11D3_990A_004005146610__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?