ICTCLAS_WinDlg.h
上传用户:sunyong76
上传日期:2021-10-03
资源大小:2236k
文件大小:2k
- //////////////////////////////////////////////////////////////////////
- //ICTCLAS简介:计算所汉语词法分析系统ICTCLAS(Institute of Computing Technology, Chinese Lexical Analysis System),
- // 功能有:中文分词;词性标注;未登录词识别。
- // 分词正确率高达97.58%(973专家评测结果),
- // 未登录词识别召回率均高于90%,其中中国人名的识别召回率接近98%;
- // 处理速度为31.5Kbytes/s。
- //著作权: Copyright?2002-2005中科院计算所 职务著作权人:张华平 刘群
- //遵循协议:自然语言处理开放资源许可证1.0
- //Email: zhanghp@software.ict.ac.cn
- //Homepage:www.nlp.org.cn;mtgroup.ict.ac.cn
- // ICTCLAS_WinDlg.h : header file
- //
- #if !defined(AFX_ICTCLAS_WINDLG_H__0A7D81CA_E8AD_4B60_991B_9EAA84F55306__INCLUDED_)
- #define AFX_ICTCLAS_WINDLG_H__0A7D81CA_E8AD_4B60_991B_9EAA84F55306__INCLUDED_
- #include "RESULTResult.h" // Added by ClassView
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Result\result.h"
- /////////////////////////////////////////////////////////////////////////////
- // CICTCLAS_WinDlg dialog
- class CICTCLAS_WinDlg : public CDialog
- {
- // Construction
- public:
- CICTCLAS_WinDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CICTCLAS_WinDlg)
- enum { IDD = IDD_ICTCLAS_WIN_DIALOG };
- CString m_sResult;
- CString m_sSource;
- UINT m_nTime;
- int m_nOutputFormat;
- int m_nOperateType;
- UINT m_nResultNum;
- CString m_sScore;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CICTCLAS_WinDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- bool m_bDisable;
- bool IsDataExists();
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CICTCLAS_WinDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnBtnAbout();
- afx_msg void OnBtnRun();
- afx_msg void OnBtnFileopen();
- afx_msg void OnClose();
- afx_msg void OnDestroy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CResult m_ICTCLAS;
- CStdioFile m_fileLog;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ICTCLAS_WINDLG_H__0A7D81CA_E8AD_4B60_991B_9EAA84F55306__INCLUDED_)