⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ictclas分词系统研究(三)--原子切分 - sinboy的菜地 - csdnblog.mht

📁 对ICTCLAS源码进行了详尽的分析
💻 MHT
📖 第 1 页 / 共 5 页
字号:
From: <由 Windows Internet Explorer 7 保存>
Subject: =?gb2312?B?SUNUQ0xBU7fWtMrPtc2z0dC+v6OoyP2jqS0t1K3X08fQt9YgLSBzaW5ib3k=?=
	=?gb2312?B?tcSyy7XYIC0gQ1NETkJsb2c=?=
Date: Fri, 23 Mar 2007 00:08:05 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_008B_01C76CDF.54861A50"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028

This is a multi-part message in MIME format.

------=_NextPart_000_008B_01C76CDF.54861A50
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://blog.csdn.net/sinboy/archive/2006/03/15/624929.aspx

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML =
xmlns=3D"http://www.w3.org/1999/xhtml"><HEAD><TITLE>ICTCLAS=E5=88=86=E8=AF=
=8D=E7=B3=BB=E7=BB=9F=E7=A0=94=E7=A9=B6=EF=BC=88=E4=B8=89=EF=BC=89--=E5=8E=
=9F=E5=AD=90=E5=88=87=E5=88=86 - sinboy=E7=9A=84=E8=8F=9C=E5=9C=B0 - =
CSDNBlog</TITLE>
<META content=3D"MSHTML 6.00.6000.16414" name=3DGENERATOR>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<SCRIPT src=3D"" type=3Dtext/javascript></SCRIPT>
<LINK media=3Dall =
href=3D"http://blog.csdn.net/skins/Cogitation/style.css"=20
type=3Dtext/css rel=3Dstylesheet><LINK media=3Dprint=20
href=3D"http://blog.csdn.net/skins/Cogitation/print.css" type=3Dtext/css =

rel=3Dstylesheet><LINK title=3DRSS =
href=3D"http://blog.csdn.net/sinboy/rss.aspx"=20
type=3Dapplication/rss+xml rel=3Dalternate>
<SCRIPT language=3Djavascript>
    if(!window.attachEvent && window.addEventListener)
    {
          Window.prototype.attachEvent =3D =
HTMLDocument.prototype.attachEvent=3D
          HTMLElement.prototype.attachEvent=3Dfunction(en, func, =
cancelBubble)
          {
            var cb =3D cancelBubble ? true : false;
            this.addEventListener(en.toLowerCase().substr(2), func, cb);
          };
    }
  function scrollPosition()
    {
      var L, T, w=3Dwindow, d=3Ddocument, dd=3Dd.documentElement;
      if(w.pageXOffset) L=3Dw.pageXOffset;
      else if(dd&&dd.scrollLeft) L=3Ddd.scrollLeft;
      else if(d.body) L=3Dd.body.scrollLeft;

      if(w.pageYOffset) T=3Dw.pageYOffset;
      else if(dd&&dd.scrollTop) T=3Ddd.scrollTop;
      else if(d.body) T=3Dd.body.scrollTop;

      return {"left": L, "top": T};
    } =20
		function CreateWaitElement()=20
		{
		    var loading =3D document.getElementById('loading');
            if (!loading)
                {
                var str =3D "<div id=3D'loading' style=3D'color: =
#000000; \
                background-color: #FFFFAF; \
                padding: 0 3px; font-size: 12px; \
                font-weight: bold;   height: 30px;   width: 160px; \
                position: absolute;  border: #cccccc 1px solid;\
                =
'>=E6=AD=A3=E5=9C=A8=E5=A4=84=E7=90=86=E6=82=A8=E7=9A=84=E8=AF=B7=E6=B1=82=
...</div>";
                var s =3D document.createElement("SPAN");
                s.innerHTML =3D str;
                loading =3D s.firstChild;
    			document.body.insertBefore(loading, document.body.firstChild);
		        }
		   return loading; =20
		}
		window.attachEvent("onload", function()
		{
		    var loading =3D CreateWaitElement();
		   loading.style.display =3D "none";=20
		   window.attachEvent("onscroll", function(e)
		 {
		    var xy =3D scrollPosition();
		   loading.style.top =3D (xy.top + 10)  +"px";
		   loading.style.left =3D (xy.left + document.body.offsetWidth - 200)  =
+"px";
		 });  =20
		});
		function Anthem_PreCallBack() {CreateWaitElement().style.display =3D =
""; }
		function Anthem_PostCallBack() =
{document.getElementById("loading").style.display=3D"none";}
		</SCRIPT>
</HEAD>
<BODY>
<SCRIPT language=3Djavascript type=3Dtext/javascript>
	<!--
		function getObject(objectId)
		{
			if(document.getElementById)
			{
				return document.getElementById(objectId)
			}
			else if(document.all&&document.all(objectId))
			{
				return document.all(objectId)
			}
			else
			{
				return false
			}
		}
	=09
		function hideObject(objectId)
		{
			var obj=3DgetObject(objectId);
					=09
			if(obj&&obj.style)
			{
				obj.style.display=3D"none";				=09
				return true
			}
			return false
		}
	=09
		function showObject(objectId)
		{
			var obj=3DgetObject(objectId);
			if(obj&&obj.style)
			{
				obj.style.display=3D"";
				return true
			}
			return false
		}
	=09
		function hideComment(){
			hideObject("commentForm");
			hideObject("commentform");
			return;
		}
	=09
		function showComment(){
			return;
		}
	//-->
    </SCRIPT>

<FORM language=3Djavascript id=3DForm1 name=3DForm1=20
onsubmit=3D"javascript:return WebForm_OnSubmit();" action=3D624929.aspx=20
method=3Dpost><INPUT id=3D"&#13;&#10;__VIEWSTATE" type=3Dhidden =
name=3D__VIEWSTATE>
<SCRIPT type=3Dtext/javascript>=0A=
//<![CDATA[=0A=
var Anthem_DefaultURL =3D "624929.aspx?Anthem_CallBack=3Dtrue";=0A=
var Anthem_FormID =3D "Form1";=0A=
//]]>=0A=
</SCRIPT>

<SCRIPT type=3Dtext/javascript>=0A=
//<![CDATA[=0A=
// Anthem.js=0A=
// Updated Nov 13, 2006=0A=
=0A=
// Used by encodeURIComponentNew to mimic function encodeURIComponent in =0A=
// IE 5.5+, Netscape 6+, and Mozilla=0A=
function utf8(wide) {=0A=
  var c, s;=0A=
  var enc =3D "";=0A=
  var i =3D 0;=0A=
  while(i<wide.length) {=0A=
    c=3D wide.charCodeAt(i++);=0A=
    // handle UTF-16 surrogates=0A=
    if (c>=3D0xDC00 && c<0xE000) continue;=0A=
    if (c>=3D0xD800 && c<0xDC00) {=0A=
      if (i>=3Dwide.length) continue;=0A=
      s=3D wide.charCodeAt(i++);=0A=
      if (s<0xDC00 || c>=3D0xDE00) continue;=0A=
      c=3D ((c-0xD800)<<10)+(s-0xDC00)+0x10000;=0A=
    }=0A=
    // output value=0A=
    if (c<0x80) enc +=3D String.fromCharCode(c);=0A=
    else if (c<0x800) enc +=3D =
String.fromCharCode(0xC0+(c>>6),0x80+(c&0x3F));=0A=
    else if (c<0x10000) enc +=3D =
String.fromCharCode(0xE0+(c>>12),0x80+(c>>6&0x3F),0x80+(c&0x3F));=0A=
    else enc +=3D =
String.fromCharCode(0xF0+(c>>18),0x80+(c>>12&0x3F),0x80+(c>>6&0x3F),0x80+=
(c&0x3F));=0A=
  }=0A=
  return enc;=0A=
}=0A=
=0A=
var hexchars =3D "0123456789ABCDEF";=0A=
=0A=
function toHex(n) {=0A=
  return hexchars.charAt(n>>4)+hexchars.charAt(n & 0xF);=0A=
}=0A=
=0A=
var okURIchars =3D =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-";=0A=
=0A=
// Mimics function encodeURIComponent in IE 5.5+, Netscape 6+, and =
Mozilla=0A=
function encodeURIComponentNew(s) {=0A=
  var s =3D utf8(s);=0A=
  var c;=0A=
  var enc =3D "";=0A=
  for (var i=3D 0; i<s.length; i++) {=0A=
    if (okURIchars.indexOf(s.charAt(i))=3D=3D-1)=0A=
      enc +=3D "%"+toHex(s.charCodeAt(i));=0A=
    else=0A=
      enc +=3D s.charAt(i);=0A=
  }=0A=
  return enc;=0A=
}=0A=
=0A=
function Anthem_Encode(s){=0A=
	if (typeof encodeURIComponent =3D=3D "function") {=0A=
		// Use JavaScript built-in function=0A=
		// IE 5.5+ and Netscape 6+ and Mozilla=0A=
		return encodeURIComponent(s);=0A=
	} else {=0A=
		// Need to mimic the JavaScript version=0A=
		// Netscape 4 and IE 4 and IE 5.0=0A=
		return encodeURIComponentNew(s);=0A=
	}=0A=
}=0A=
=0A=
// Primarily used by Anthem.Manager to add an onsubmit event handler=0A=
// when validators are added to a page during a callback.=0A=
function Anthem_AddEvent(control, eventType, functionPrefix) {=0A=
    var ev;=0A=
    eval("ev =3D control." + eventType + ";");=0A=
    if (typeof(ev) =3D=3D "function") {=0A=
        ev =3D ev.toString();=0A=
        ev =3D ev.substring(ev.indexOf("{") + 1, ev.lastIndexOf("}"));=0A=
    }=0A=
    else {=0A=
        ev =3D "";=0A=
    }=0A=
    var func;=0A=
    if (navigator.appName.toLowerCase().indexOf('explorer') > -1) {=0A=
        func =3D new Function(functionPrefix + " " + ev);=0A=
    }=0A=
    else {=0A=
        func =3D new Function("event", functionPrefix + " " + ev);=0A=
    }=0A=
    eval("control." + eventType + " =3D func;");=0A=
}=0A=
=0A=
function Anthem_GetXMLHttpRequest() {=0A=
	if (window.XMLHttpRequest) {=0A=
		return new XMLHttpRequest();=0A=
	} else {=0A=
		if (window.Anthem_XMLHttpRequestProgID) {=0A=
			return new ActiveXObject(window.Anthem_XMLHttpRequestProgID);=0A=
		} else {=0A=
			var progIDs =3D ["Msxml2.XMLHTTP.5.0", "Msxml2.XMLHTTP.4.0", =
"MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"];=0A=
			for (var i =3D 0; i < progIDs.length; ++i) {=0A=
				var progID =3D progIDs[i];=0A=
				try {=0A=
					var x =3D new ActiveXObject(progID);=0A=
					window.Anthem_XMLHttpRequestProgID =3D progID;=0A=
					return x;=0A=
				} catch (e) {=0A=
				}=0A=
			}=0A=
		}=0A=
	}=0A=
	return null;=0A=
}=0A=
=0A=
function Anthem_CallBack(url, target, id, method, args, clientCallBack, =
clientCallBackArg, includeControlValuesWithCallBack, =
updatePageAfterCallBack) {=0A=
	if (window.Anthem_PreCallBack) {=0A=
		var preCallBackResult =3D Anthem_PreCallBack();=0A=
		if (!(typeof preCallBackResult =3D=3D "undefined" || =
preCallBackResult)) {=0A=
			if (window.Anthem_CallBackCancelled) {=0A=
				Anthem_CallBackCancelled();=0A=
			}=0A=
			return null;=0A=
		}=0A=
	}=0A=
	var x =3D Anthem_GetXMLHttpRequest();=0A=
	var result =3D null;=0A=
	if (!x) {=0A=
		result =3D { "value": null, "error": "NOXMLHTTP" };=0A=
		Anthem_DebugError(result.error);=0A=
		if (window.Anthem_Error) {=0A=
			Anthem_Error(result);=0A=
		}=0A=
		if (clientCallBack) {=0A=
			clientCallBack(result, clientCallBackArg);=0A=
		}=0A=
		return result;=0A=
	}=0A=
	x.open("POST", url ? url : Anthem_DefaultURL, clientCallBack ? true : =
false);=0A=
	x.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; =
charset=3Dutf-8");=0A=
	x.setRequestHeader("Accept-Encoding", "gzip, deflate");=0A=
	if (clientCallBack) {=0A=
		x.onreadystatechange =3D function() {=0A=
			if (x.readyState !=3D 4) {=0A=

⌨️ 快捷键说明

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