-
大小: 2.75MB文件類型: .zip金幣: 2下載: 0 次發(fā)布日期: 2023-10-29
- 語(yǔ)言: 其他
- 標(biāo)簽:
資源簡(jiǎn)介
freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼).zip
ICTCLAS源碼結(jié)構(gòu)
Codes
│ ICTCLAS_WIN.cpp Windows界面的程序
│ ICTCLAS_Win.dsp
│ ICTCLAS_WIN.dsw
│ ICTCLAS_WIN.h
│ ICTCLAS_Win.exe 可執(zhí)行程序
│ ICTCLAS_WinDlg.cpp
│ ICTCLAS_WinDlg.h
│ resource.h
│ StdAfx.cpp
│ StdAfx.h
│ log.txt 日志
│ ICTCLAS_Win.rc Windows界面的資源
│
├─Utility 共用函數(shù)模塊
│ ContextStat.cpp
│ ContextStat.h
│ Dictionary.cpp
│ Dictionary.h
│ Utility.h
│ Utility.cpp
│
├─Unknown 未登錄詞識(shí)別模塊
│ UnknowWord.cpp
│ UnknowWord.h
│
├─Tag HMM標(biāo)注模塊
│ Span.cpp
│ Span.h
│
├─Segment 詞語(yǔ)切分模塊
│ DynamicArray.h
│ NShortPath.cpp
│ NShortPath.h
│ Queue.cpp
│ Queue.h
│ SegGraph.cpp
│ Segment.cpp
│ Segment.h
│ DynamicArray.cpp
│ SegGraph.h
│
├─Result 結(jié)果生成模塊
│ Result.cpp
│ Result.h
│
├─Data 概率數(shù)據(jù)文件
│ lexical.ctx
│ BigramDict.dct
│ coreDict.dct
│ nr.dct
│ nr.ctx
│ ns.ctx
│ ns.dct
│ tr.dct
│ tr.ctx
│
└─res Windows界面的資源

代碼片段和文件信息
//////////////////////////////////////////////////////////////////////
//ICTCLAS簡(jiǎn)介:計(jì)算所漢語(yǔ)詞法分析系統(tǒng)ICTCLAS(Institute?of?Computing?Technology?Chinese?Lexical?Analysis?System),
//?????????????功能有:中文分詞;詞性標(biāo)注;未登錄詞識(shí)別。
//?????????????分詞正確率高達(dá)97.58%(973專家評(píng)測(cè)結(jié)果),
//?????????????未登錄詞識(shí)別召回率均高于90%,其中中國(guó)人名的識(shí)別召回率接近98%;
//?????????????處理速度為31.5Kbytes/s。
//著作權(quán):??Copyright?2002-2005中科院計(jì)算所?職務(wù)著作權(quán)人:張華平?劉群
//遵循協(xié)議:自然語(yǔ)言處理開放資源許可證1.0
//Email:?zhanghp@software.ict.ac.cn
//Homepage:www.nlp.org.cn;mtgroup.ict.ac.cn
//?ICTCLAS_Win.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ICTCLAS_Win.h“
#include?“ICTCLAS_WinDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CICTCLAS_WinApp
BEGIN_MESSAGE_MAP(CICTCLAS_WinApp?CWinApp)
//{{AFX_MSG_MAP(CICTCLAS_WinApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CICTCLAS_WinApp?construction
CICTCLAS_WinApp::CICTCLAS_WinApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CICTCLAS_WinApp?object
CICTCLAS_WinApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CICTCLAS_WinApp?initialization
BOOL?CICTCLAS_WinApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CICTCLAS_WinDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-05-21?17:12??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\
?????目錄???????????0??2011-05-21?17:12??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\
?????文件????????4042??2002-10-28?14:42??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\author.html
?????目錄???????????0??2011-05-21?17:12??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\
?????目錄???????????0??2011-05-21?17:12??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\
?????文件?????7544244??2002-09-13?13:47??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\BigramDict.dct
?????文件?????1565689??2002-09-13?13:47??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\coreDict.dct
?????文件???????10412??2002-09-13?13:47??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\lexical.ctx
?????文件????????1032??2002-09-13?13:51??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\nr.ctx
?????文件??????113780??2002-09-13?13:51??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\nr.dct
?????文件?????????408??2002-09-13?13:55??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\ns.ctx
?????文件???????54278??2002-09-13?13:55??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\ns.dct
?????文件?????????408??2002-09-13?13:55??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\tr.ctx
?????文件???????64000??2002-09-13?13:55??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Data\tr.dct
?????文件???????23328??2002-10-21?14:23??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_Win.aps
?????文件????????2265??2002-10-21?14:27??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_Win.clw
?????文件????????2751??2002-09-18?10:24??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_WIN.cpp
?????文件????????6045??2002-06-14?19:47??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_Win.dsp
?????文件?????????545??2002-06-14?14:46??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_WIN.dsw
?????文件????????1997??2002-09-18?10:25??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_WIN.h
?????文件??????304128??2002-10-21?14:32??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_WIN.ncb
?????文件???????62976??2002-10-21?14:32??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_WIN.opt
?????文件????????3352??2002-10-21?14:24??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_Win.plg
?????文件????????8265??2002-09-13?15:35??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_Win.rc
?????文件???????10843??2002-09-18?10:25??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_WinDlg.cpp
?????文件????????2472??2002-09-18?10:24??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ICTCLAS_WinDlg.h
?????文件?????????570??2002-10-21?14:24??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\log.txt
?????文件????????3669??2002-06-14?14:46??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\ReadMe.txt
?????目錄???????????0??2011-05-21?17:12??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\res\
?????文件????????1333??2002-09-13?14:00??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\resource.h
?????目錄???????????0??2011-05-21?17:12??freeICTCLAS中科院中文分詞(拼音中文輸入法設(shè)計(jì)和源代碼)\FreeICTCLAS\Codes?and?Application\Result\
............此處省略69個(gè)文件信息
- 上一篇:OpenCV生成xm
l分類器文件 - 下一篇:topmapworld地圖教程ppt
評(píng)論
共有 條評(píng)論