Linux °æ (¾«»ªÇø)
·¢ÐÅÈË: don (æä·À滨), ÐÅÇø: Linux
±ê Ìâ: ºº×Ö±àÂë±ê×¼Óëʶ±ð(ËÄ)ºº×Ö±àÂëʶ±ð
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sat Apr 29 18:22:53 2000), תÐÅ
·¢ÐÅÈË: yanglc (»ê¹éÑàÔ°~~±ðÀíÎÒ£¬·³×ÅÄØ), ÐÅÇø: Linux
±ê Ìâ: ºº×Ö±àÂë±ê×¼Óëʶ±ð(ËÄ)
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Sat Apr 29 17:28:40 2000)
http://www.linuxforum.net/cgi-bin/perl/showpost.pl?Board=chinese&
Number=769&page=2&view=expanded&sb=5
Subject
ºº×Ö±àÂë±ê×¼Óëʶ±ð(ËÄ)ºº×Ö±àÂëʶ±ð
Posted by
shuyong
Posted on
4/16/2000 9:22 PM
ºº×Ö±àÂë±ê×¼Óëʶ±ð(ËÄ)
ºº×Ö±àÂëʶ±ð
ÒòΪÀúÊ·ºÍµØÓòÔÒò£¬ºº×ÖÓв»ÉÙ±àÂë±ê×¼¡£×î³£¼ûµÄÊÇGB2312ºÍBIG5¡£
ÔÚUnicode±»ÍêÈ«½ÓÊÜÇ°£¬ËûÃǽ«¹²´æÏ൱³¤µÄÒ»¶Îʱ¼ä¡£Òò´ËÔÚʵ¼ÊÓ¦
ÓÃÖÐÓбØÒª°ÑËüÃÇÇø·ÖÏÔʾ¡£Õâ¾ÍÊDZàÂëʶ±ð¡£
ÏÖÔÚÔÚWindowsƽ̨ÏÂÓв»ÉÙÈí¼þ¿ÉÒÔʶ±ðºÍͬÆÁÏÔʾGB2312ºÍBIG5×Ö·û
´®£¬ÒÑÏ൱׼ȷ¡£µ«ÒòΪÆäÖÐÔ̲Ø×Ų»Ð¡µÄÉÌ»ú£¬ÕâЩËã·¨¶¼²»¹«¿ª¡£
ÏÖÔÚÖ»¼ûÁ½ÖÖËã·¨£º
1)Ëã·¨1 http://www.mandarintools.com
2)Ëã·¨2 http://202.38.128.58/~yumj/www/chrecog.html
¾ßÌåµÄÔÀí¿ÉÒÔ¿´·¢Ã÷È˵ÄÖ÷Ò³¡£ÒòΪÕâÁ½ÖÖËã·¨ÊÇͨ¹ý´óÁ¿µÄÎÄÕÂͳ¼Æ
³öÀ´µÄ£¬¶øʵ¼ÊÓ¦ÓÃÊÇÒ»ÐÐÐеÄʶ±ð¡£ËùÒÔÓбØÒª¶Ô¶Ì¾äºÍ´Ê×éµÄÓÐЧÐÔ
½øÐÐÑéÖ¤¡£ÕâÀïÓÃÁËÒ»¸öÈ¡Çɵķ½·¨£¬·ÖÎö¶Ô³£ÓôÊ×éµÄʶ±ðÂÊ¡£ÒòΪ¾ä
×Ó´ó¶àÓÉÕâЩÓÐÒâÒåµÄ´Ê×é×é³É¡£ÒòΪÁ½°¶²»µ«±àÂ벻ͬ£¬Ï°¹ßÓÃÓïÒ²²»
ͬ¡£ËùÒÔ·Ö±ðÊÕ¼¯ÁËGB´Ê×é1.3MB£¬BIG5´Ê×é900KB¡£Í¨¹ý¶Ô±È·¢ÏÖһЩÓÐ
ȤµÄÊÂÇé¡£
1)Ëã·¨1Õ¼ÓÃÄÚ´æ´óЩ£¬ËÙ¶ÈÂýЩ£¬µ«Ê¶±ðÂʸßЩ£¬²¢ÇÒÎȶ¨.Îó²îΪ8.6%£¬
Ëã·¨2ÕýºÃÏà·´£¬Îó²îΪ17.6%¡£×ÛºÏÁ½Õß¿ÉÒÔÌá¸ßһЩʶ±ðÂÊ¡£
Á½ÖÖËã·¨µÄʶ±ðÂÊ
Ëã·¨1 Ëã·¨2 ×ÛºÏ
GBÎļþ 5% 2.6% 0.7%
BIG5Îļþ 3.6% 15% 5%
2)Ëã·¨2Ìáµ½µÄƽ¾ùÖµ184µÄãÚֵȷʵ´æÔÚ¡£µ«×îºÃµÄËã·¨²»ÊÇ×÷ÕßËù˵µÄ
µÚ¶þ×Ö½ÚËã·¨¡£¶øÊǵÚÒ»×ֽں͵ڶþ×Ö½ÚÏà¼ÓµÄËã·¨¡£ÓÃÈýÖÖËã·¨·ÖÎöGB
´Ê×飬¶¼³ÊÕý̬·Ö²¼£ºµÚÒ»×Ö½ÚËã·¨·åÖµÔÚ195£¬Æ ¶¸ÇÍ£¬Ë Ã÷ƽ¾ùÖµ¼¯
ÖС£µÚ¶þ×Ö½ÚËã·¨·åÖµÔÚ207£¬Æ¶Èƽ»º£¬ËµÃ÷ƽ¾ùÖµ·ÖÉ¢¡£Ë«×Ö½ÚÏà¼ÓËã
·¨½éÓÚÁ½ÕßÖ®¼ä¡£
·ÖÎöBIG5´Ê×飺
µÚÒ»×Ö½ÚËã·¨ÓзåÖµ174£¬µ«Æ¶Èƽ»ºµÃ¶à¡£
µÚ¶þ×Ö½ÚËã·¨ÓзåÖµ160×óÓÒ£¬¸üƽ»º,³Ê¾ØÐηֲ¼£¬Ò²¾ÍÊÇBIG5³£ÓôÊ×é
µÄµÚ¶þ×ֽڵıàÂ뷶Χ·Ö²¼±È½Ï¾ùÔÈ¡£
Ë«×Ö½ÚÏà¼ÓËã·¨ÊÇÁ½Õߵĵü¼Ó¡£
ËùÒԽϺõÄËã·¨ÊÇ£º
flag = (a * c1 + c2) / (a + 1) (a = 5 ~ 7Ϊ¼Ñ)
ÒÔ184Ϊ½ç£¬GB´Ê×éÓÐ5%µÄ´ÊµÄƽ¾ùֵСÓÚ184£¬BIG5´Ê×éÓÐ15%µÄ´ÊµÄƽ¾ù
Öµ´óÓÚ184£¬×ÛºÏÎó²îΪ17.6%¡£Ò²¾ÍÊÇ˵£¬¶ÔÓÚGBÂëµÄ×Ö·û´®£¬Ëã·¨2²»Ò×
´íÅУ¬¶ÔÓÚBIG5ÂëµÄ×Ö·û´®ÔòÏà·´¡£Èç¹ûÊÇGBÎļþת»»ÎªBIG5Âë,Îó²îÒªµÍ
Щ,Ϊ15%,ºÃÏóÊÇGBÂëµÄ±àÂëºÍÓÃ×ֱȽϼ¯ÖÐЩ.
3)Ëã·¨1ʶ±ðÂÊÌá¸ßµÄ¿ÉÄÜ
GB2312±ê×¼µÄºº×ÖÓÐ6763¸ö£¬BIG5»¹Òª¶àЩ¡£¶øËã·¨1ֻȡ600¸ö×Ö½øÐмÓ
Ȩ£¬ËƺõÉÙÁËЩ¡£¼ÓȨϵÊý´Ó1~600¹æÔòÅÅÁУ¬Ëƺõ²»ÄÜ·´Ó³×ÖƵ±ä»¯µÄ¹æ
ÂÉ¡£¶ÔÓÚGB2312£¬°´³£ÓõÄ2:8µÄ¹æÂÉ£¬Ó¦Ñ¡1200×Ö×óÓÒ£»°´Ð¡Ñ§½Ìѧ´ó¸Ù£¬
Сѧ±Ïҵʶ×Ö2500×Ö£»°´Ð¡Ñ§½Ìѧ¾Ñ飬ʶ×Ö900¸ö×óÓÒ£¬»ù±¾¿ÉÒÔ¶ÁÊ飬
¿´±¨£¬Ð´×÷ÎÄ¡£Òò´Ë£¬Õâ¼ÓȨ·¶Î§Ó¦¸ÃÔÚ900~1000×Ö×óÓÒ¡£µ«Ñ¡ÄÄЩ×Ö£¬×Ö
Ƶ¶àÉÙ£¬Ó¦¸ÃÊÇÎÒÃǵÄÓïÑÔÎÄ×Öר¼Ò·¢ÑÔµÄʱºòÁË¡£
4)еĿÉÄÜËã·¨
Á½°¶ºº×Ö±àÂ벻ͬ£¬³£ÓÃÓïÒ²²»Í¬£¬ÄÇô³£ÓôÊ×éÒ²²»Í¬¡£Òò´Ë´Ó³£ÓôÊ
×é·ÖÎö²î±ð¸ü´ó£¬Ê¶±ðÂÊÒ²¾Í¸ü¸ß¡£¿ÉϧûÓÐ×ÊÁÏ£¬Òò´ËÏÖÔÚÖ»ÓÐÉèÏ룬
ûÓÐËã·¨¡£Í¬Ê±Ï£Íû¸ü¶àµÄÈ˱¾×ÅGPL´ó¼¯Êеľ«Éñ£¬Ìṩ¸ü¶à¸üºÃµÄËã·¨¡£
--
Ò»Ìõæä·£¬Ò»ÖÖ·ÕΧ¡£
Ò»¶äÀ滨£¬Ò»ÖÖ˼¿¼¡£
Ï£ÍûÄÜÔÚLinuxÕâÌõæä·ÉÏÓëÄãͬÐУ¡
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.239.63]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.281ºÁÃë