<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/feedsky8.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/iam162cm" type="application/rss+xml" ref="self"></atom:link><fs:self_link href="http://feed.feedsky.com/iam162cm" type="application/rss+xml"></fs:self_link><lastBuildDate>Mon, 23 Jun 2008 12:28:12 GMT</lastBuildDate><title>互联网，请记住我</title><description>一米六二的不转载的Blog</description><image><url>http://creativecommons.org/images/public/somerights20.png</url><title>互联网，请记住我</title><link>http://www.162cm.com</link></image><link>http://www.162cm.com</link><atom:link href="http://www.162cm.com/feed/" rel="self" type="application/rss+xml"></atom:link><language>en</language><pubDate>Sun, 29 Jun 2008 09:30:29 GMT</pubDate><dc:date>2008-06-29T09:30:29Z</dc:date><dc:language>en</dc:language><item><title>团购蜂蜜</title><link>http://item.feedsky.com/~feedsky/iam162cm/~1230065/86842353/1232587/1/item.html</link><content:encoded>&lt;p&gt;提起大熊猫的故乡，很多人首先想到的是卧龙，那里是人工养殖大熊猫的基地。可是你们知道吗？在四川省西北部岷山深处，有一块四万公顷的原始森林，其间坐落着唐家河大熊猫自然保护区，那里生活着60多只野生的大熊猫和众多的国家一级、二级保护动物。阿里巴巴赈灾重建小组考察发现，由于5.12地震, 唐家河道路损毁、山体严重坍塌、众多珍贵野生动植物遭到毁灭性破坏.这对当地民众的生产生活造成了严重的影响.其中,原本不愁销路的天然蜂蜜积压了4吨无法销售出去,这些可都是养蜂人辛苦劳作的结晶啊! 为帮助唐家河大熊猫自然保护区解决这一问题.我们决定团购这4吨的蜂蜜.我们团购蜂蜜的价格也很优惠哦，单价是15元/斤，和超市的蜂蜜比起来，便宜很多呢，而且是纯天然的没有经过掺杂的蜂蜜哦！&lt;/p&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;ID&lt;/th&gt;
&lt;th&gt;
&lt;th&gt;    规格&lt;/th&gt;
&lt;th&gt;                单价&lt;/th&gt;
&lt;th&gt;       运费&lt;/th&gt;
&lt;th&gt; 总价（元）&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;1&lt;/th&gt;
&lt;th&gt;6斤桶装蜂蜜&lt;/th&gt;
&lt;th&gt; 90&lt;/th&gt;
&lt;th&gt;5&lt;/th&gt;
&lt;th&gt;95&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;2&lt;/th&gt;
&lt;th&gt;4斤桶装蜂蜜&lt;/th&gt;
&lt;th&gt;     60&lt;/th&gt;
&lt;th&gt;        5&lt;/th&gt;
&lt;th&gt;             65&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;3&lt;/th&gt;
&lt;th&gt;     大礼盒装（2000g）&lt;/th&gt;
&lt;th&gt; 78 &lt;/th&gt;
&lt;th&gt;  5&lt;/th&gt;
&lt;th&gt;            83 &lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;4 &lt;/th&gt;
&lt;th&gt;    中礼盒装（1000g）&lt;/th&gt;
&lt;th&gt;45&lt;/th&gt;
&lt;th&gt;   5 &lt;/th&gt;
&lt;th&gt;            50&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;5&lt;/th&gt;
&lt;th&gt;     小礼盒装（800g）&lt;/th&gt;
&lt;th&gt;40 &lt;/th&gt;
&lt;th&gt;   5  &lt;/th&gt;
&lt;th&gt;          45&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;6 &lt;/th&gt;
&lt;th&gt;    迷你礼盒装（600g）&lt;/th&gt;
&lt;th&gt;    36&lt;/th&gt;
&lt;th&gt;   5  &lt;/th&gt;
&lt;th&gt;     41&lt;/th&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;这是我们集团打算做的一点小事，有需要的可以联系我一起买!到货后我再转发给大家&lt;br /&gt;
顺便提示一下大家，大家在超市里看到的蜂蜜，大多像水一样，而有些天然的蜂蜜，浓得呈固体状态，我还不知道这次团购的蜂蜜会是什么样的，但是既然是纯天然的，应该不会差。&lt;br /&gt;
我的联系方式:msn:helloasp@hotmail.com&lt;br /&gt;
我的邮箱:xurenlu@126.com&lt;/p&gt;
&lt;br/&gt;Tag:&lt;span style='font-weight:bold;'&gt;熊猫&lt;/span&gt;&amp;nbsp;&lt;span style='font-weight:bold;'&gt;严重&lt;/span&gt;&amp;nbsp;&lt;span style='font-weight:bold;'&gt;生活&lt;/span&gt;&amp;nbsp;&lt;span style='font-weight:bold;'&gt;那里&lt;/span&gt;&amp;nbsp;&lt;span style='font-weight:bold;'&gt;野生&lt;/span&gt;&amp;nbsp;&lt;span style='font-weight:bold;'&gt;众多&lt;/span&gt;&amp;nbsp;&lt;span style='font-weight:bold;'&gt;当地&lt;/span&gt;&amp;nbsp;&lt;span style='font-weight:bold;'&gt;毁灭性&lt;/span&gt;&amp;nbsp;&lt;span style='font-weight:bold;'&gt;破坏&lt;/span&gt;&amp;nbsp;&lt;span style='font-weight:bold;'&gt;这对&lt;/span&gt;&amp;nbsp;&lt;div&gt;相关文章&lt;/div&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/731b20252bfe2ab532236d3c9aff6aee&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/731b20252bfe2ab532236d3c9aff6aee/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=55a68fbb35e0576d7a76eb048402285f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=55a68fbb35e0576d7a76eb048402285f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=494e1d0e72b0180885e6316d0742b2e5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=494e1d0e72b0180885e6316d0742b2e5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=796343e03e755d6708468ebec3fb025f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=796343e03e755d6708468ebec3fb025f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=f1c78972d9b0ea9c1ff2b37c297e2142&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=f1c78972d9b0ea9c1ff2b37c297e2142&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=7a2bbac0e42caa9405c69bb471cbb11b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=7a2bbac0e42caa9405c69bb471cbb11b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=35417957383635f004eaef021b0c099e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=35417957383635f004eaef021b0c099e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=5f2c604e5a17bfa5a0e1c6eec1a073ae&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=5f2c604e5a17bfa5a0e1c6eec1a073ae&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.162cm.com/archives/659.html/feed</wfw:commentRss><description>提起大熊猫的故乡，很多人首先想到的是卧龙，那里是人工养殖大熊猫的基地。可是你们知道吗？在四川省西北部岷山深处，有一块四万公顷的原始森林，其间坐落着唐家河大熊猫自然保护区，那里生活着60多只野生的大熊猫和众多的国家一级、二级保护动物。阿里巴巴赈灾重建小组考察发现，由于5.12地震, 唐家河道路损毁、山体严重坍塌、众多珍贵野生动植物遭到毁灭性破坏.这对当地民众的生产生活造成了严重的影响.其中,原本不愁销路的天然蜂蜜积压了4吨无法销售出去,这些可都是养蜂人辛苦劳作的结晶啊! 为帮助唐家河大熊猫自然保护区解决这一问题.我们决定团购这4吨的蜂蜜.我们团购蜂蜜的价格也很优惠哦，单价是15元/斤，和超市的蜂蜜比起来，便宜很多呢，而且是纯天然的没有经过掺杂的蜂蜜哦！


ID

    规格
                单价
       运费
 总价（元）


1
6斤桶装蜂蜜
 90
5
95


2
4斤桶装蜂蜜
     60
        5
            [...]&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/731b20252bfe2ab532236d3c9aff6aee&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/731b20252bfe2ab532236d3c9aff6aee/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=55a68fbb35e0576d7a76eb048402285f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=55a68fbb35e0576d7a76eb048402285f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=494e1d0e72b0180885e6316d0742b2e5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=494e1d0e72b0180885e6316d0742b2e5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=796343e03e755d6708468ebec3fb025f&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=796343e03e755d6708468ebec3fb025f&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=f1c78972d9b0ea9c1ff2b37c297e2142&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=f1c78972d9b0ea9c1ff2b37c297e2142&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=7a2bbac0e42caa9405c69bb471cbb11b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=7a2bbac0e42caa9405c69bb471cbb11b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=35417957383635f004eaef021b0c099e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=35417957383635f004eaef021b0c099e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=5f2c604e5a17bfa5a0e1c6eec1a073ae&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=5f2c604e5a17bfa5a0e1c6eec1a073ae&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><pubDate>Mon, 23 Jun 2008 20:28:12 +0800</pubDate><author>xurenlu</author><comments>http://www.162cm.com/archives/659.html#comments</comments><guid isPermaLink="false">http://www.162cm.com/?p=659</guid><dc:creator>xurenlu</dc:creator><fs:srclink>http://www.162cm.com/archives/659.html</fs:srclink><fs:srcfeed>http://www.162cm.com/feed/</fs:srcfeed><fs:itemid>feedsky/iam162cm/~1230065/86842353/1232587</fs:itemid></item><item><title>社区全文检索引擎Hyper Estraier 学习笔记[3]</title><link>http://item.feedsky.com/~feedsky/iam162cm/~1230065/86842354/1232587/1/item.html</link><content:encoded>&lt;p&gt;经过摸索，我决定给HyperEstraier加上由Hightman写的scws支持，使之支持中文分词。&lt;br /&gt;
实地看了代码之后，发现Hyperestraier的结构划分并不好，这可能决定了他只能是某些Hacker的心血之作，而不适用多人协作开发，大规模推广应用。这是旁话。&lt;br /&gt;
既然找到分词默认是使用的estraier.c的est_break_text函数，那我的目标就是改造这个函数,现在这个函数被我改成了:&lt;/p&gt;
&lt;div class=&quot;hl-surround&quot;&gt;&lt;ol class=&quot;hl-main ln-show&quot; title=&quot;Double click to hide line number.&quot; ondblclick = &quot;linenumber(this)&quot;&gt;&lt;li class=&quot;hl-firstline&quot;&gt;scws_t seg;&lt;/li&gt;
&lt;li&gt;/* Break a sentence of text and extract words. */&lt;/li&gt;
&lt;li&gt;void est_break_text(const char *text, CBLIST *list, int norm, int tail){&lt;/li&gt;
&lt;li&gt;// hack by renlu.xu&lt;/li&gt;
&lt;li&gt;&amp;nbsp; CBLIST *words;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; const unsigned char *word, *next;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; unsigned char *utext;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; char *tmp;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; int i, j, k, size, cc, wsiz, nsiz, tsiz;&lt;/li&gt;
&lt;li&gt;&amp;nbsp; assert(text &amp;amp;&amp;amp; list);&lt;/li&gt;
&lt;li&gt;	if(seg==NULL)&lt;/li&gt;
&lt;li&gt;	{&lt;/li&gt;
&lt;li&gt;		seg=scws_new();&lt;/li&gt;
&lt;li&gt;		scws_set_charset(seg,&amp;quot;UTF-8&amp;quot;);&lt;/li&gt;
&lt;li&gt;		scws_set_rule(seg,&amp;quot;/home/y/etc/rules.utf8.ini&amp;quot;);&lt;/li&gt;
&lt;li&gt;		int xmode=0;&lt;/li&gt;
&lt;li&gt;		scws_set_dict(seg,&amp;quot;/home/y/etc/dict.xdb&amp;quot;,(xmode &amp;amp; XMODE_DICT_MEM) ? SCWS_XDICT_MEM : SCWS_XDICT_XDB);&lt;/li&gt;
&lt;li&gt;		if(seg-&amp;gt;d == NULL &amp;amp;&amp;amp; !(xmode &amp;amp; XMODE_NO_TIME))&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fprintf(stderr, &amp;quot;WARNING: input dict file load failed. /home/y/etc/dict.xdb\n&amp;quot;); &lt;/li&gt;
&lt;li&gt;		&lt;/li&gt;
&lt;li&gt;	}&lt;/li&gt;
&lt;li&gt;	int fsize;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fsize=strlen(text);&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;scws_send_text(seg,text,fsize);&lt;/li&gt;
&lt;li&gt;	scws_res_t res,cur;&lt;/li&gt;
&lt;li&gt;	while ((cur = res = scws_get_result(seg))!= NULL)&lt;/li&gt;
&lt;li&gt;	{&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/li&gt;
&lt;li&gt;		while (cur != NULL)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/li&gt;
&lt;li&gt;		{&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/li&gt;
&lt;li&gt;			cblistpush(list,text+cur-&amp;gt;off,cur-&amp;gt;len);&lt;/li&gt;
&lt;li&gt;			cur = cur-&amp;gt;next;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/li&gt;
&lt;li&gt;		}&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/li&gt;
&lt;li&gt;		scws_free_result(res);&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/li&gt;
&lt;li&gt;	}&lt;/li&gt;
&lt;li&gt;	int iter_i;&lt;/li&gt;
&lt;li&gt;	int wsize=0;&lt;/li&gt;
&lt;li&gt;	fprintf(stderr,&amp;quot;\nsegmented words:\n&amp;quot;);&lt;/li&gt;
&lt;li&gt;	for(iter_i=0;iter_i&amp;lt;cblistnum(list);iter_i++){&lt;/li&gt;
&lt;li&gt;		word=CB_LISTVAL2(list,iter_i,wsize);&lt;/li&gt;
&lt;li&gt;		fprintf(stderr,&amp;quot;%s\t&amp;quot;,word);&lt;/li&gt;
&lt;li&gt;	}&lt;/li&gt;
&lt;li&gt;	return ;&lt;/li&gt;
&lt;li&gt;&amp;nbsp;}&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
&lt;p&gt;Ok,其中函数中最后一个for语句是为了调试，看看分词结果如何。&lt;br /&gt;
这里用到的scws_send_text等函数是hightman的scws中定义的，因此需要在estraier.c的文件头加上:&lt;/p&gt;
&lt;div class=&quot;hl-surround&quot;&gt;&lt;ol class=&quot;hl-main ln-show&quot; title=&quot;Double click to hide line number.&quot; ondblclick = &quot;linenumber(this)&quot;&gt;&lt;li class=&quot;hl-firstline&quot;&gt;#include &amp;quot;scws.h&amp;quot;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
&lt;p&gt;并修改Hyperestraier的Makefile:&lt;/p&gt;
&lt;div class=&quot;hl-surround&quot;&gt;&lt;ol class=&quot;hl-main ln-show&quot; title=&quot;Double click to hide line number.&quot; ondblclick = &quot;linenumber(this)&quot;&gt;&lt;li class=&quot;hl-firstline&quot;&gt;LIBS = -lqdbm -lz -lm -lc&amp;nbsp; -lscws&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
&lt;p&gt;然后make &amp;#038;&amp;#038; make install&lt;br /&gt;
下面作个测试:&lt;/p&gt;
&lt;div class=&quot;hl-surround&quot;&gt;&lt;ol class=&quot;hl-main ln-show&quot; title=&quot;Double click to hide line number.&quot; ondblclick = &quot;linenumber(this)&quot;&gt;&lt;li class=&quot;hl-firstline&quot;&gt;#!/bin/sh&lt;/li&gt;
&lt;li&gt;#file:test.sh&lt;/li&gt;
&lt;li&gt;rm -rf test_db&lt;/li&gt;
&lt;li&gt;estcmd create test_db&lt;/li&gt;
&lt;li&gt;find ./ -name &amp;quot;1.txt&amp;quot; -type f |estcmd gather -cl -fm -cm test_db -&lt;/li&gt;
&lt;li&gt;estcmd search -vx -max 10 test_db '索引'&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;
&lt;p&gt;根据打印的结果，中文分词已经加入到索引过程中去了!&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.162cm.com/archives/426.html&quot;&gt;社区全文检索引擎Hyper Estraier 学习笔记[1]&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.162cm.com/archives/657.html&quot;&gt;社区全文检索引擎Hyper Estraier 学习笔记[2]&lt;/a&gt;&lt;Br/&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.162cm.com/archives/658.html&quot;&gt;社区全文检索引擎Hyper Estraier 学习笔记[3]&lt;/a&gt;&lt;br/&gt;&lt;/p&gt;
&lt;br/&gt;Tag:&lt;div&gt;相关文章&lt;/div&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/0fc3a4b96797a8b270ca3ebd633a343c&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/0fc3a4b96797a8b270ca3ebd633a343c/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=e16d12a6a41b2e35e6924fa2f8fb669d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=e16d12a6a41b2e35e6924fa2f8fb669d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=180ae5677b98eb305f875aad88c3c3bb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=180ae5677b98eb305f875aad88c3c3bb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=add5f9a19ec98995a6e1ef199eefed9d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=add5f9a19ec98995a6e1ef199eefed9d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=8616db723f81bbfddf5cfe4360db702c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=8616db723f81bbfddf5cfe4360db702c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=ed94599e4637e549e3a03b67ad2ace6e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=ed94599e4637e549e3a03b67ad2ace6e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=6ec5c1448d8f4af182a312095c8bd5c9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=6ec5c1448d8f4af182a312095c8bd5c9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=ee3053df49be0f99411aa84eb5a3b560&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=ee3053df49be0f99411aa84eb5a3b560&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.162cm.com/archives/658.html/feed</wfw:commentRss><description>经过摸索，我决定给HyperEstraier加上由Hightman写的scws支持，使之支持中文分词。
实地看了代码之后，发现Hyperestraier的结构划分并不好，这可能决定了他只能是某些Hacker的心血之作，而不适用多人协作开发，大规模推广应用。这是旁话。
既然找到分词默认是使用的estraier.c的est_break_text函数，那我的目标就是改造这个函数,现在这个函数被我改成了:
scws_t seg;
/* Break a sentence of text and extract words. */
void est_break_text(const char *text, CBLIST *list, int norm, int tail){
// hack by renlu.xu
&amp;#160; CBLIST *words;
&amp;#160; const unsigned char *word, *next;
&amp;#160; unsigned char *utext;
&amp;#160; char *tmp;
&amp;#160; int i, j, k, size, cc, wsiz, nsiz, tsiz;
&amp;#160; assert(text &amp;#38;&amp;#38; list);
	if(seg==NULL)
	{
		seg=scws_new();
		scws_set_charset(seg,&amp;#34;UTF-8&amp;#34;);
		scws_set_rule(seg,&amp;#34;/home/y/etc/rules.utf8.ini&amp;#34;);
		int xmode=0;
		scws_set_dict(seg,&amp;#34;/home/y/etc/dict.xdb&amp;#34;,(xmode &amp;#38; XMODE_DICT_MEM) ? SCWS_XDICT_MEM : SCWS_XDICT_XDB);
		if(seg-&amp;#62;d == [...]&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/0fc3a4b96797a8b270ca3ebd633a343c&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/0fc3a4b96797a8b270ca3ebd633a343c/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=e16d12a6a41b2e35e6924fa2f8fb669d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=e16d12a6a41b2e35e6924fa2f8fb669d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=180ae5677b98eb305f875aad88c3c3bb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=180ae5677b98eb305f875aad88c3c3bb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=add5f9a19ec98995a6e1ef199eefed9d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=add5f9a19ec98995a6e1ef199eefed9d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=8616db723f81bbfddf5cfe4360db702c&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=8616db723f81bbfddf5cfe4360db702c&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=ed94599e4637e549e3a03b67ad2ace6e&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=ed94599e4637e549e3a03b67ad2ace6e&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=6ec5c1448d8f4af182a312095c8bd5c9&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=6ec5c1448d8f4af182a312095c8bd5c9&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=ee3053df49be0f99411aa84eb5a3b560&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=ee3053df49be0f99411aa84eb5a3b560&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>HyperEstraier</category><category>搜索引擎</category><category>检索</category><category>中文分词</category><pubDate>Sun, 22 Jun 2008 12:26:13 +0800</pubDate><author>xurenlu</author><comments>http://www.162cm.com/archives/658.html#comments</comments><guid isPermaLink="false">http://www.162cm.com/?p=658</guid><dc:creator>xurenlu</dc:creator><fs:srclink>http://www.162cm.com/archives/658.html</fs:srclink><fs:srcfeed>http://www.162cm.com/feed/</fs:srcfeed><fs:itemid>feedsky/iam162cm/~1230065/86842354/1232587</fs:itemid></item><item><title>社区全文检索引擎Hyper Estraier 学习笔记[2]</title><link>http://item.feedsky.com/~feedsky/iam162cm/~1230065/86842355/1232587/1/item.html</link><content:encoded>&lt;p&gt;hyperestraier是在前文已经介绍过一的一个&lt;a href=&quot;http://www.162cm.com/archives/426.html&quot;&gt;开源搜索引擎程&lt;/a&gt;序。&lt;br /&gt;
	分词:采用N-gram,char_category等来分词，良好地支持中文等东亚文字。&lt;br /&gt;
	分词程序在:estraier.c中&lt;br /&gt;
		est_break_text&lt;br /&gt;
		est_break_text_perfng&lt;br /&gt;
		est_break_text_chrcat&lt;br /&gt;
	等分法。&lt;br /&gt;
	相关的函数有&lt;br /&gt;
  276 static int est_char_category(int c);&lt;br /&gt;
  277 static int est_char_category_perfng(int c);&lt;br /&gt;
  278 static int est_char_category_chrcat(int c);&lt;br /&gt;
等&lt;/p&gt;
&lt;p&gt;分词默认采用est_break_text&lt;br /&gt;
	当创建数据库时采用 estcmd create dbname -apn 时，采用est_break_text_perfng来分词&lt;br /&gt;
	当创建数据库时是用 estcmd create dbname -acc 时，用est_break_text_chrcat来分词&lt;br /&gt;
	采用est_break_text来分词时，结果这样样的:&lt;br /&gt;
今天	天突	突然	然想	想起	起霍	霍炬	炬曾	曾告	告诉	诉过	过我	我的	的一	一个	个日	日本	本人	人开	开发	发的	的全	全文	文检	检索	索引	引擎	擎,	,	于是	是找	找他	他问	问了	了,&lt;br /&gt;
	是双字连着的分词法，这样会占用多至少一倍的检索空间，同时精确度差一点（但是精确度比按字分词好一点)。&lt;br /&gt;
&lt;br/&gt;&lt;br /&gt;
系列文章:&lt;br /&gt;
&lt;a href=&quot;http://www.162cm.com/archives/426.html&quot;&gt;社区全文检索引擎Hyper Estraier 学习笔记[1]&lt;/a&gt;&lt;br/&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.162cm.com/archives/657.html&quot;&gt;社区全文检索引擎Hyper Estraier 学习笔记[2]&lt;/a&gt;&lt;Br/&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.162cm.com/archives/658.html&quot;&gt;社区全文检索引擎Hyper Estraier 学习笔记[3]&lt;/a&gt;&lt;br/&gt;&lt;/p&gt;
&lt;br/&gt;Tag:&lt;div&gt;相关文章&lt;/div&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/3611d4bb7390b39df1a5b5bc7b6f85c6&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/3611d4bb7390b39df1a5b5bc7b6f85c6/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=54472badfb117a56c787b8b2dcc9d00d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=54472badfb117a56c787b8b2dcc9d00d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=9777b420b8ea3e72013360ea65f5b745&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=9777b420b8ea3e72013360ea65f5b745&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=d8c93a8538bf8ae2b586c0ba089f5550&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=d8c93a8538bf8ae2b586c0ba089f5550&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=90dea6270e70d0d0ae5779477240b2b5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=90dea6270e70d0d0ae5779477240b2b5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=c3498b07bf81a2d1e8b8abf0ec5d2eb7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=c3498b07bf81a2d1e8b8abf0ec5d2eb7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=17203922e2e6a6a53077ca6355434e7a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=17203922e2e6a6a53077ca6355434e7a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=e836e7ca4789c3ddae365c98ef7751cc&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=e836e7ca4789c3ddae365c98ef7751cc&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.162cm.com/archives/657.html/feed</wfw:commentRss><description>hyperestraier是在前文已经介绍过一的一个开源搜索引擎程序。
	分词:采用N-gram,char_category等来分词，良好地支持中文等东亚文字。
	分词程序在:estraier.c中
		est_break_text
		est_break_text_perfng
		est_break_text_chrcat
	等分法。
	相关的函数有
  276 static int est_char_category(int c);
  277 static int est_char_category_perfng(int c);
  278 static int est_char_category_chrcat(int c);
等
分词默认采用est_break_text
	当创建数据库时采用 estcmd create dbname -apn 时，采用est_break_text_perfng来分词
	当创建数据库时是用 estcmd create dbname -acc 时，用est_break_text_chrcat来分词
	采用est_break_text来分词时，结果这样样的:
今天	天突	突然	然想	想起	起霍	霍炬	炬曾	曾告	告诉	诉过	过我	我的	的一	一个	个日	日本	本人	人开	开发	发的	的全	全文	文检	检索	索引	引擎	擎,	,	于是	是找	找他	他问	问了	了,
	是双字连着的分词法，这样会占用多至少一倍的检索空间，同时精确度差一点（但是精确度比按字分词好一点)。

系列文章:
社区全文检索引擎Hyper Estraier 学习笔记[1]
社区全文检索引擎Hyper Estraier 学习笔记[2]
社区全文检索引擎Hyper Estraier 学习笔记[3]
Tag:相关文章&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/3611d4bb7390b39df1a5b5bc7b6f85c6&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/3611d4bb7390b39df1a5b5bc7b6f85c6/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=54472badfb117a56c787b8b2dcc9d00d&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=54472badfb117a56c787b8b2dcc9d00d&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=9777b420b8ea3e72013360ea65f5b745&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=9777b420b8ea3e72013360ea65f5b745&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=d8c93a8538bf8ae2b586c0ba089f5550&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=d8c93a8538bf8ae2b586c0ba089f5550&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=90dea6270e70d0d0ae5779477240b2b5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=90dea6270e70d0d0ae5779477240b2b5&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=c3498b07bf81a2d1e8b8abf0ec5d2eb7&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=c3498b07bf81a2d1e8b8abf0ec5d2eb7&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=17203922e2e6a6a53077ca6355434e7a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=17203922e2e6a6a53077ca6355434e7a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=e836e7ca4789c3ddae365c98ef7751cc&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=e836e7ca4789c3ddae365c98ef7751cc&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><category>HyperEstraier</category><category>蜘蛛</category><category>全文检索</category><category>搜索引擎</category><pubDate>Sun, 22 Jun 2008 10:35:41 +0800</pubDate><author>xurenlu</author><comments>http://www.162cm.com/archives/657.html#comments</comments><guid isPermaLink="false">http://www.162cm.com/?p=657</guid><dc:creator>xurenlu</dc:creator><fs:srclink>http://www.162cm.com/archives/657.html</fs:srclink><fs:srcfeed>http://www.162cm.com/feed/</fs:srcfeed><fs:itemid>feedsky/iam162cm/~1230065/86842355/1232587</fs:itemid></item><item><title>Spread 简介(试译)</title><link>http://item.feedsky.com/~feedsky/iam162cm/~1230065/86842356/1232587/1/item.html</link><content:encoded>&lt;blockquote&gt;&lt;p&gt;   	项目网站:http://www.spread.org/&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;    Spread 是一个开源工具,它提供高性能的的消息服务,这种服务在局域网和广域网上能有效地避够失效。它在分布式程序中充当一个统一的消息总线的角色,并且提供高调谐的应用级的消息多路播送、组通讯、点到点支持。Spread的应用范围既包括高可靠的消息传送，也包括有序消息的传输(有保证).&lt;br /&gt;
    Spread可用在许多需要高可靠性,高性能,以及各种子集和成员之间健壮的消息传播的分布式程序中。这个工具封装了异步网络的复杂性,便于创建可高靠和可扩展性的分布式程序.&lt;br /&gt;
   Spread包含:一些需要被用户程序包含的库文件,一个守护进程(它需要运行在这个一组应用的每台机器上),以及一些工具和演示程序。&lt;br /&gt;
&lt;strong&gt;Spread提供的功能和便利有:&lt;/strong&gt;&lt;br /&gt;
	可靠的、可扩展地消息传播和组通讯。&lt;br /&gt;
	可以简化分布式程序架构的简单而功能强大的API&lt;br /&gt;
	易于使用,开发和维护&lt;br /&gt;
	从本地局域网到复杂的广域网的可扩展性&lt;br /&gt;
	支持有不同数目的成员的上千个组&lt;br /&gt;
	提供在机器失效、应用崩溃和网络划分、重组时的可靠的消息传送的能力&lt;br /&gt;
	为消息传送提供了可靠和排序、稳定保证。&lt;br /&gt;
	重视健壮性和高性能&lt;br /&gt;
	完全的分布式算法，不会有中央节点失效风险&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;	为什么使用Spread&lt;/strong&gt;&lt;br /&gt;
	* 功能强大而简单的API.只需要六个基本的调用就可以使用Spread了!&lt;br /&gt;
	* Spread做了优先，在本地局域网中可以支撑每秒8000个1Kbytes的消息&lt;br /&gt;
	* 在网络划分或系统某部分失效时的可靠性和可用性，不管系统是由几台电脑构成的cluster,或是一些cluster,还是分布于广域网的几千台电脑组成的系统。&lt;br /&gt;
	* 允许系统无缝地增长扩容而不需要改变架构.&lt;br /&gt;
	* Spread允许单播,多播,多组多播,scatter-gather calls,或是多路查询。&lt;br /&gt;
	* Spread能处理网络和机器的重新划分并且能够安全地重新组合，能通知应用当前的状态.&lt;br /&gt;
	* 跨平台:Spread 支持跨平台的操作:Unix( BSD,Linux,Solaris,Irix,AIX,Mac OS X,etc)和Windows(2000/NT/98/95)&lt;br /&gt;
	* Spread当前有C/C++,C#,Java,Perl,Python和Ruby的编程接口.&lt;/p&gt;
&lt;br/&gt;Tag:&lt;div&gt;相关文章&lt;/div&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/d86a27671b14ccb03616e55b3e6e0514&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/d86a27671b14ccb03616e55b3e6e0514/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=bfd5ba3bc01ddab4566d2441dfe6834b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=bfd5ba3bc01ddab4566d2441dfe6834b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=d7611c069616cd1e87ef8024bf13d5f2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=d7611c069616cd1e87ef8024bf13d5f2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=f9fc7f3cae7814e15324c765a5f48ff1&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=f9fc7f3cae7814e15324c765a5f48ff1&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=38d0cdba87471eb700858a36d02fe8b4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=38d0cdba87471eb700858a36d02fe8b4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=6c021676fe0c0eb8762fddf16f2a4af4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=6c021676fe0c0eb8762fddf16f2a4af4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=663dbd6f635703f2a3602ac36aa5894b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=663dbd6f635703f2a3602ac36aa5894b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=b7faf4407b62e7685676dbcad3fb844a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=b7faf4407b62e7685676dbcad3fb844a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.162cm.com/archives/656.html/feed</wfw:commentRss><description>项目网站:http://www.spread.org/
    Spread 是一个开源工具,它提供高性能的的消息服务,这种服务在局域网和广域网上能有效地避够失效。它在分布式程序中充当一个统一的消息总线的角色,并且提供高调谐的应用级的消息多路播送、组通讯、点到点支持。Spread的应用范围既包括高可靠的消息传送，也包括有序消息的传输(有保证).
    Spread可用在许多需要高可靠性,高性能,以及各种子集和成员之间健壮的消息传播的分布式程序中。这个工具封装了异步网络的复杂性,便于创建可高靠和可扩展性的分布式程序.
   Spread包含:一些需要被用户程序包含的库文件,一个守护进程(它需要运行在这个一组应用的每台机器上),以及一些工具和演示程序。
Spread提供的功能和便利有:
	可靠的、可扩展地消息传播和组通讯。
	可以简化分布式程序架构的简单而功能强大的API
	易于使用,开发和维护
	从本地局域网到复杂的广域网的可扩展性
	支持有不同数目的成员的上千个组
	提供在机器失效、应用崩溃和网络划分、重组时的可靠的消息传送的能力
	为消息传送提供了可靠和排序、稳定保证。
	重视健壮性和高性能
	完全的分布式算法，不会有中央节点失效风险
	为什么使用Spread
	* 功能强大而简单的API.只需要六个基本的调用就可以使用Spread了!
	* Spread做了优先，在本地局域网中可以支撑每秒8000个1Kbytes的消息
	* 在网络划分或系统某部分失效时的可靠性和可用性，不管系统是由几台电脑构成的cluster,或是一些cluster,还是分布于广域网的几千台电脑组成的系统。
	* 允许系统无缝地增长扩容而不需要改变架构.
	* Spread允许单播,多播,多组多播,scatter-gather calls,或是多路查询。
	* Spread能处理网络和机器的重新划分并且能够安全地重新组合，能通知应用当前的状态.
	* 跨平台:Spread 支持跨平台的操作:Unix( BSD,Linux,Solaris,Irix,AIX,Mac OS X,etc)和Windows(2000/NT/98/95)
	* Spread当前有C/C++,C#,Java,Perl,Python和Ruby的编程接口.
Tag:相关文章&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/d86a27671b14ccb03616e55b3e6e0514&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/d86a27671b14ccb03616e55b3e6e0514/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=bfd5ba3bc01ddab4566d2441dfe6834b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=bfd5ba3bc01ddab4566d2441dfe6834b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=d7611c069616cd1e87ef8024bf13d5f2&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=d7611c069616cd1e87ef8024bf13d5f2&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=f9fc7f3cae7814e15324c765a5f48ff1&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=f9fc7f3cae7814e15324c765a5f48ff1&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=38d0cdba87471eb700858a36d02fe8b4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=38d0cdba87471eb700858a36d02fe8b4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=6c021676fe0c0eb8762fddf16f2a4af4&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=6c021676fe0c0eb8762fddf16f2a4af4&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=663dbd6f635703f2a3602ac36aa5894b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=663dbd6f635703f2a3602ac36aa5894b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=b7faf4407b62e7685676dbcad3fb844a&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=b7faf4407b62e7685676dbcad3fb844a&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><pubDate>Thu, 19 Jun 2008 17:38:46 +0800</pubDate><author>xurenlu</author><comments>http://www.162cm.com/archives/656.html#comments</comments><guid isPermaLink="false">http://www.162cm.com/?p=656</guid><dc:creator>xurenlu</dc:creator><fs:srclink>http://www.162cm.com/archives/656.html</fs:srclink><fs:srcfeed>http://www.162cm.com/feed/</fs:srcfeed><fs:itemid>feedsky/iam162cm/~1230065/86842356/1232587</fs:itemid></item><item><title>色色的西红柿</title><link>http://item.feedsky.com/~feedsky/iam162cm/~1230065/86842357/1232587/1/item.html</link><content:encoded>&lt;p&gt;无意中发现的&lt;br /&gt;
&lt;a href='http://www.162cm.com/wp-content/uploads/2008/06/outdsci0032.jpg'&gt;&lt;img src=&quot;http://www.162cm.com/wp-content/uploads/2008/06/outdsci0032.jpg&quot; alt=&quot;&quot; title=&quot;色色的西红柿&quot; width=&quot;300&quot; height=&quot;225&quot; class=&quot;alignnone size-medium wp-image-655&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;br/&gt;Tag:&lt;div&gt;相关文章&lt;/div&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/63b9b5add5c18faa74f782fd37f9429e&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/63b9b5add5c18faa74f782fd37f9429e/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=d08f4fd5ca2301d48ad7c724284f4812&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=d08f4fd5ca2301d48ad7c724284f4812&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=6d021b15986abc03bbc28a4b0dee2799&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=6d021b15986abc03bbc28a4b0dee2799&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=cc5217b1f3af85a14a7f0a682736b375&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=cc5217b1f3af85a14a7f0a682736b375&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=76275d963481165939fe4c4da46e829b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=76275d963481165939fe4c4da46e829b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=f89e91e510b97d7cd361a9582c887d68&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=f89e91e510b97d7cd361a9582c887d68&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=e85ca8f6f014c204facbae33dcd533cb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=e85ca8f6f014c204facbae33dcd533cb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=9f2fae3ddc05a00f006857678e352194&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=9f2fae3ddc05a00f006857678e352194&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</content:encoded><wfw:commentRss>http://www.162cm.com/archives/654.html/feed</wfw:commentRss><description>无意中发现的

Tag:相关文章&lt;br /&gt;&lt;!-- Feedsky ad --&gt;&lt;a href=&quot;http://feed.feedsky.com/~cpm/c/iam162cm/63b9b5add5c18faa74f782fd37f9429e&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~cpm/iam162cm/63b9b5add5c18faa74f782fd37f9429e/s.gif&quot; border=&quot;0&quot; style=&quot;margin-top:5px;&quot; /&gt;&lt;/a&gt;&lt;!-- /Feedsky ad --&gt;&lt;br /&gt;&lt;!-- Feedsky flare --&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=d08f4fd5ca2301d48ad7c724284f4812&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=d08f4fd5ca2301d48ad7c724284f4812&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=6d021b15986abc03bbc28a4b0dee2799&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=6d021b15986abc03bbc28a4b0dee2799&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=cc5217b1f3af85a14a7f0a682736b375&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=cc5217b1f3af85a14a7f0a682736b375&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=76275d963481165939fe4c4da46e829b&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=76275d963481165939fe4c4da46e829b&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=f89e91e510b97d7cd361a9582c887d68&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=f89e91e510b97d7cd361a9582c887d68&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=e85ca8f6f014c204facbae33dcd533cb&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=e85ca8f6f014c204facbae33dcd533cb&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://feed.feedsky.com/~flare/iam162cm?a=9f2fae3ddc05a00f006857678e352194&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://feed.feedsky.com/~flare/iam162cm?i=9f2fae3ddc05a00f006857678e352194&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;!-- /Feedsky flare --&gt;</description><pubDate>Sun, 15 Jun 2008 16:04:32 +0800</pubDate><author>xurenlu</author><comments>http://www.162cm.com/archives/654.html#comments</comments><guid isPermaLink="false">http://www.162cm.com/?p=654</guid><dc:creator>xurenlu</dc:creator><fs:srclink>http://www.162cm.com/archives/654.html</fs:srclink><fs:srcfeed>http://www.162cm.com/feed/</fs:srcfeed><fs:itemid>feedsky/iam162cm/~1230065/86842357/1232587</fs:itemid></item></channel></rss>