ICTCLAS_WinDlg.h
上传用户:sunyong76
上传日期:2021-10-03
资源大小:2236k
文件大小:2k
源码类别:

多国语言处理

开发平台:

Java

  1. //////////////////////////////////////////////////////////////////////
  2. //ICTCLAS简介:计算所汉语词法分析系统ICTCLAS(Institute of Computing Technology, Chinese Lexical Analysis System),
  3. //             功能有:中文分词;词性标注;未登录词识别。
  4. //             分词正确率高达97.58%(973专家评测结果),
  5. //             未登录词识别召回率均高于90%,其中中国人名的识别召回率接近98%;
  6. //             处理速度为31.5Kbytes/s。
  7. //著作权:  Copyright?2002-2005中科院计算所 职务著作权人:张华平 刘群
  8. //遵循协议:自然语言处理开放资源许可证1.0
  9. //Email: zhanghp@software.ict.ac.cn
  10. //Homepage:www.nlp.org.cn;mtgroup.ict.ac.cn
  11. // ICTCLAS_WinDlg.h : header file
  12. //
  13. #if !defined(AFX_ICTCLAS_WINDLG_H__0A7D81CA_E8AD_4B60_991B_9EAA84F55306__INCLUDED_)
  14. #define AFX_ICTCLAS_WINDLG_H__0A7D81CA_E8AD_4B60_991B_9EAA84F55306__INCLUDED_
  15. #include "RESULTResult.h" // Added by ClassView
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. #include "Result\result.h"
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CICTCLAS_WinDlg dialog
  22. class CICTCLAS_WinDlg : public CDialog
  23. {
  24. // Construction
  25. public:
  26. CICTCLAS_WinDlg(CWnd* pParent = NULL); // standard constructor
  27. // Dialog Data
  28. //{{AFX_DATA(CICTCLAS_WinDlg)
  29. enum { IDD = IDD_ICTCLAS_WIN_DIALOG };
  30. CString m_sResult;
  31. CString m_sSource;
  32. UINT m_nTime;
  33. int m_nOutputFormat;
  34. int m_nOperateType;
  35. UINT m_nResultNum;
  36. CString m_sScore;
  37. //}}AFX_DATA
  38. // ClassWizard generated virtual function overrides
  39. //{{AFX_VIRTUAL(CICTCLAS_WinDlg)
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. protected:
  46. bool m_bDisable;
  47. bool IsDataExists();
  48. HICON m_hIcon;
  49. // Generated message map functions
  50. //{{AFX_MSG(CICTCLAS_WinDlg)
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  53. afx_msg void OnPaint();
  54. afx_msg HCURSOR OnQueryDragIcon();
  55. afx_msg void OnBtnAbout();
  56. afx_msg void OnBtnRun();
  57. afx_msg void OnBtnFileopen();
  58. afx_msg void OnClose();
  59. afx_msg void OnDestroy();
  60. //}}AFX_MSG
  61. DECLARE_MESSAGE_MAP()
  62. private:
  63. CResult m_ICTCLAS;
  64. CStdioFile m_fileLog;
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_ICTCLAS_WINDLG_H__0A7D81CA_E8AD_4B60_991B_9EAA84F55306__INCLUDED_)