锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品一区二区在线观看,欧美色偷偷大香,日韩精品久久久免费观看http://www.aygfsteel.com/xiaohuzi2008/category/53143.html闈㈡湞澶ф搗錛屾槬鏆栬姳寮zh-cnThu, 17 Jan 2013 09:19:27 GMTThu, 17 Jan 2013 09:19:27 GMT60銆愯漿銆慾ava瀹炵幇Google鍜孊aidu鐨勨滄?zhèn)ㄦ槸涓嶆槸瑕佹変弨濆姛鑳?/title><link>http://www.aygfsteel.com/xiaohuzi2008/archive/2013/01/16/394314.html</link><dc:creator>灝忚儭瀛?/dc:creator><author>灝忚儭瀛?/author><pubDate>Wed, 16 Jan 2013 09:39:00 GMT</pubDate><guid>http://www.aygfsteel.com/xiaohuzi2008/archive/2013/01/16/394314.html</guid><wfw:comment>http://www.aygfsteel.com/xiaohuzi2008/comments/394314.html</wfw:comment><comments>http://www.aygfsteel.com/xiaohuzi2008/archive/2013/01/16/394314.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xiaohuzi2008/comments/commentRss/394314.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xiaohuzi2008/services/trackbacks/394314.html</trackback:ping><description><![CDATA[<div><p><strong>鑳屾櫙</strong> 錛?/p> <p>銆銆鍦ㄤ嬌鐢ㄦ悳绱㈠紩鎿庡拰鐢?shù)鍟嗙殑鎼滅储鍔熻兘鏃跺Q屽ぇ瀹朵竴瀹氶亣鍒拌繃榪欐牱鐨勬儏鏅細(xì)鎴戞兂鎼滅儲(chǔ)鐢?shù)濯?jiǎng)“鍗佷簩鐢熻倴”錛屽彲涓嶅皬蹇冭緭鎴?#8220;鍗佷簩鐢熸晥”浜嗭紝涓嶇敤鎷呭績鎼滀笉鍒頒綘鎯寵鐨勭粨鏋滐紝鍥犱負(fù)寤虹珛鍦ㄥぇ鏁版嵁涓婄殑鎼滅儲(chǔ)寮曟搸浼?xì)甯綘鑷姩绾犻敊锛尀p繖涓緥瀛怗oogle鍜孊aidu榪斿洖緇欐垜鐨勫垎鍒槸錛?/p> <p><strong><span style="color: #ff6600;">鏄劇ず浠ヤ笅鏌ヨ瀛楄瘝鐨勭粨鏋滐細(xì)</span> <a >鍗佷簩<em>鐢熻倴</em></a> 鍜?span style="color: #ff6600;"> 鎮(zhèn)ㄨ鎵劇殑鏄笉鏄?</span> <a >鍗佷簩鐢熻倴</a> </strong>錛屼粬浠兘鍋氬埌浜嗚嚜鍔ㄧ籂閿欙紝鍏充簬鑷姩綰犻敊鎴戜箣鍓嶄篃鍐欒繃<a ><strong>涓綃囬檵鏂?/strong></a>錛屽綋鏃舵槸鑷繁瀹炵幇鐨凬-Gram妯″瀷,浣嗘槸鏁堟灉涓嶆槸澶ソ錛屼富瑕佹槸閽堝涓嶅悓鐨勮鏂欏簱綆楁硶鐨勭簿紜害鏄笉涓鏍風(fēng)殑錛屾垜鎯蟲崲涓畻娉曡瘯璇曠湅錛岀洰鍓嶄富嫻佺殑璁$畻涓查棿鐨勮窛紱?鐩稿弽鐨勶紝浣犱篃鍙互鐞嗚В涓虹浉浼煎害)鏄?span>Levenshtein錛屽綋瑕佸疄鐜版椂錛屽彂鐜發(fā)ucene宸茬粡鍋氫簡榪欎釜浜嬶紝閭e挶灝辯珯鍦ㄥ法浜虹殑鑲╄唨涓婃垚闀垮惂銆?/span></p> <p><strong>寮曠敤鍖咃細(xì)</strong></p> <p><strong>銆銆</strong>lucene-core-3.1.0.jar + lucene-spellchecker-3.1.0.jar,浣犲彲浠ュ湪<a ><strong>榪欓噷寰楀埌</strong></a></p> <p><strong>浣跨敤紺轟緥錛?/strong></p> <p><strong>銆銆鍦ㄧ被SpellCorrector鐨刴ain鏂規(guī)硶涓姞鍏ヤ互涓嬩唬鐮?/strong></p></div><br /><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; "> 1</span> <span style="color: #008000; ">//</span><span style="color: #008000; ">鍒涘緩鐩綍</span><span style="color: #008000; "><br /></span><span style="color: #008080; "> 2</span> <span style="color: #008000; "></span><span style="color: #000000; "> File dict </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #0000FF; ">new</span><span style="color: #000000; "> File(</span><span style="color: #000000; ">""</span><span style="color: #000000; ">);<br /></span><span style="color: #008080; "> 3</span> <span style="color: #000000; "> Directory directory </span><span style="color: #000000; ">=</span><span style="color: #000000; "> FSDirectory.open(dict);<br /></span><span style="color: #008080; "> 4</span> <span style="color: #000000; "> <br /></span><span style="color: #008080; "> 5</span> <span style="color: #000000; "> </span><span style="color: #008000; ">//</span><span style="color: #008000; ">瀹炰緥鍖栨嫾鍐欐鏌ュ櫒 </span><span style="color: #008000; "><br /></span><span style="color: #008080; "> 6</span> <span style="color: #008000; "></span><span style="color: #000000; "> SpellChecker sp </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #0000FF; ">new</span><span style="color: #000000; "> SpellChecker(directory);<br /></span><span style="color: #008080; "> 7</span> <span style="color: #000000; ">  <br /></span><span style="color: #008080; "> 8</span> <span style="color: #000000; "> <br /></span><span style="color: #008080; "> 9</span> <span style="color: #000000; "> </span><span style="color: #008000; ">//</span><span style="color: #008000; ">鍒涘緩璇嶅吀</span><span style="color: #008000; "><br /></span><span style="color: #008080; ">10</span> <span style="color: #008000; "></span><span style="color: #000000; "> File dictionary </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #0000FF; ">new</span><span style="color: #000000; "> File(SpellCorrecter.</span><span style="color: #0000FF; ">class</span><span style="color: #000000; ">.getResource(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">dictionary.txt</span><span style="color: #000000; ">"</span><span style="color: #000000; ">).getFile());<br /></span><span style="color: #008080; ">11</span> <span style="color: #000000; "> <br /></span><span style="color: #008080; ">12</span> <span style="color: #000000; "> </span><span style="color: #008000; ">//</span><span style="color: #008000; ">瀵硅瘝鍏歌繘琛岀儲(chǔ)寮?/span><span style="color: #008000; "><br /></span><span style="color: #008080; ">13</span> <span style="color: #008000; "></span><span style="color: #000000; "> sp.indexDictionary(</span><span style="color: #0000FF; ">new</span><span style="color: #000000; "> PlainTextDictionary(dictionary));<br /></span><span style="color: #008080; ">14</span> <span style="color: #000000; ">  <br /></span><span style="color: #008080; ">15</span> <span style="color: #000000; "> <br /></span><span style="color: #008080; ">16</span> <span style="color: #000000; "> </span><span style="color: #008000; ">//</span><span style="color: #008000; ">鏈夐敊鍒瓧鐨勬悳绱?/span><span style="color: #008000; "><br /></span><span style="color: #008080; ">17</span> <span style="color: #008000; "></span><span style="color: #000000; "> String search </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">"</span><span style="color: #000000; ">闈炲父鍕挎壈</span><span style="color: #000000; ">"</span><span style="color: #000000; ">;<br /></span><span style="color: #008080; ">18</span> <span style="color: #000000; ">  <br /></span><span style="color: #008080; ">19</span> <span style="color: #000000; "> <br /></span><span style="color: #008080; ">20</span> <span style="color: #000000; "> </span><span style="color: #008000; ">//</span><span style="color: #008000; ">寤鴻涓暟錛岃繖閲屾垜鍙兂瑕佹渶鎺ヨ繎鐨勯偅涓涓紝浣犲彲浠ヨ緗垚鍒殑鏁板瓧錛屽3</span><span style="color: #008000; "><br /></span><span style="color: #008080; ">21</span> <span style="color: #008000; "></span><span style="color: #000000; "> </span><span style="color: #0000FF; ">int</span><span style="color: #000000; "> suggestionNumber </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">1</span><span style="color: #000000; ">;<br /></span><span style="color: #008080; ">22</span> <span style="color: #000000; ">  <br /></span><span style="color: #008080; ">23</span> <span style="color: #000000; "> <br /></span><span style="color: #008080; ">24</span> <span style="color: #000000; "> </span><span style="color: #008000; ">//</span><span style="color: #008000; ">鑾峰彇寤鴻鐨勫叧閿瓧</span><span style="color: #008000; "><br /></span><span style="color: #008080; ">25</span> <span style="color: #008000; "></span><span style="color: #000000; "> String[] suggestions </span><span style="color: #000000; ">=</span><span style="color: #000000; "> sp.suggestSimilar(search, suggestionNumber);<br /></span><span style="color: #008080; ">26</span> <span style="color: #000000; ">  <br /></span><span style="color: #008080; ">27</span> <span style="color: #000000; "> <br /></span><span style="color: #008080; ">28</span> <span style="color: #000000; "> </span><span style="color: #008000; ">//</span><span style="color: #008000; ">鏄劇ず緇撴灉</span><span style="color: #008000; "><br /></span><span style="color: #008080; ">29</span> <span style="color: #008000; "></span><span style="color: #000000; "> System.out.println(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">鎼滅儲(chǔ):</span><span style="color: #000000; ">"</span><span style="color: #000000; "> </span><span style="color: #000000; ">+</span><span style="color: #000000; "> search);<br /></span><span style="color: #008080; ">30</span> <span style="color: #000000; ">  <br /></span><span style="color: #008080; ">31</span> <span style="color: #000000; "> <br /></span><span style="color: #008080; ">32</span> <span style="color: #000000; "> </span><span style="color: #0000FF; ">for</span><span style="color: #000000; "> (String word : suggestions) {<br /></span><span style="color: #008080; ">33</span> <span style="color: #000000; ">     System.out.println(</span><span style="color: #000000; ">"</span><span style="color: #000000; ">浣犺鎵劇殑鏄笉鏄?</span><span style="color: #000000; ">"</span><span style="color: #000000; "> </span><span style="color: #000000; ">+</span><span style="color: #000000; "> word);<br /></span><span style="color: #008080; ">34</span> <span style="color: #000000; "> }</span></div><div><br />娉細(xì)榪欎箣鍓嶄綘闇瑕佹湁涓鏂欏簱錛屾垜榪欓噷鏄釜瀛樻斁姝g‘瑙嗛鍚嶇О鐨勬枃浠訛紝鏍煎紡濡備笅錛?/div><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #000000; ">綰㈤琛娉?br /> 鍐頒笂鐏竴鑸殑嬋鎯?br /> 鍦ㄦ晫涔嬫墜<br /> 椹伴绔炶墖鐜嬬浜岄儴<br /> 閽撻噾榫?br /> 娼囨箻璺竴鍙?br /> 鎴忛噷鎴忓絎簩瀛?br /> 鑽夊師鐙肩埖澹箰<br /> 鎷晳澶у叺鐟炴仼</span></div><br /><div><p>濂戒簡錛屾帴涓嬫潵灝辯洿鎺ヨ繍琛屽惂錛屼緥濡傛垜鎼滅儲(chǔ)“鍗佷簩鐢熸晥”錛屽垯鎻愮ず璇存槸涓嶆槸瑕佹壘“鍗佷簩鐢熻倴”</p> <p><img src="http://images.cnitblog.com/blog/408040/201301/16172826-cbe2b7c19dca4cab9ad79033987e3c84.jpg" alt="" /></p></div><div><h3>鍙傝冩枃鐚?/h3> <ul><li><a target="_blank">http://lucene.apache.org/java/docs/</a></li><li><a target="_blank">http://today.java.net/pub/a/today/2005/08/09/didyoumean.html</a></li><li><a target="_blank">http://archsofty.blogspot.com/2009/12/adicione-o-recurso-voce-quis-dizer-nas.html</a></li><li><a target="_blank">http://lucene.apache.org/java/3_0_0/api/contrib-spellchecker/index.html</a></li><li><a target="_blank">http://en.wikipedia.org/wiki/Edit_distance</a></li><li><a target="_blank">http://en.wikipedia.org/wiki/Levenshtein_distance</a></li><li><a target="_blank">http://en.wikipedia.org/wiki/Jaro-Winkler_distance</a></li></ul></div>鍘熸枃鍑鴻嚜錛?div>http://www.cnblogs.com/wuren/archive/2013/01/16/2862873.html</div><br /><img src ="http://www.aygfsteel.com/xiaohuzi2008/aggbug/394314.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xiaohuzi2008/" target="_blank">灝忚儭瀛?/a> 2013-01-16 17:39 <a href="http://www.aygfsteel.com/xiaohuzi2008/archive/2013/01/16/394314.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>銆愯漿銆慔eritrix 緇戝畾IP銆佸惎鍔ㄥ弬鏁般佷腑鏂囦貢鐮?/title><link>http://www.aygfsteel.com/xiaohuzi2008/archive/2012/12/21/393290.html</link><dc:creator>灝忚儭瀛?/dc:creator><author>灝忚儭瀛?/author><pubDate>Fri, 21 Dec 2012 04:34:00 GMT</pubDate><guid>http://www.aygfsteel.com/xiaohuzi2008/archive/2012/12/21/393290.html</guid><wfw:comment>http://www.aygfsteel.com/xiaohuzi2008/comments/393290.html</wfw:comment><comments>http://www.aygfsteel.com/xiaohuzi2008/archive/2012/12/21/393290.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xiaohuzi2008/comments/commentRss/393290.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xiaohuzi2008/services/trackbacks/393290.html</trackback:ping><description><![CDATA[<div><div> <h1>Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">璧勬簮</span></h1> <p><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">緗戠粶涓婄殑</span>Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">涓枃璧勬簮姣旇緝?yōu)畱锛屾暣鐞嗕竴涓嬶細(xì)</span></p> <p> </p> <p><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">涓枃錛?/span></p> <p style="margin: 0cm 0cm 0pt 21pt; text-indent: -21pt;"><span style="font-family: Wingdings;">l<span style="font: 7pt 'Times New Roman'">         </span></span><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">銆婂紑鍙戣嚜宸辯殑鎼滅儲(chǔ)寮曟搸</span> Lucene 2.0 + Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">銆嬩綔鑰呴偙鍝?/span>&<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">絎︽粩婊旂殑</span>BLOG</p> <p style=" text-indent: 21pt"><a >http://lucenebook.spaces.live.com/</a></p> <p> </p> <p style="margin: 0cm 0cm 0pt 21pt; text-indent: -21pt;"><span style="font-family: Wingdings;">l<span style="font: 7pt 'Times New Roman'">         </span></span><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">銆婂紑鍙戣嚜宸辯殑鎼滅儲(chǔ)寮曟搸</span> Lucene 2.0 + Heriterx<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">銆?/span><span style="font-family: 瀹嬩綋;">絎崄绔犳墿灞?/span><span style="font-family: Tahoma;">Heritrix</span><span style="font-family: 瀹嬩綋;">璇曡绔犺妭</span></p> <p style=" text-indent: 21pt"><span style="font-family: Tahoma;">(</span><span style="font-family: 瀹嬩綋;">鍙互鑰冭檻寮鍙戠殑錛屾瘮杈冩湁鐢?/span><span style="font-family: Tahoma;">)</span></p> <p style=" text-indent: 21pt"><a >http://book.csdn.net/bookfiles/312/10031212848.shtml</a></p> <p style=" text-indent: 21pt"> </p> <p style="margin: 0cm 0cm 0pt 21pt; text-indent: -21pt;"><span style="font-family: Wingdings;">l<span style="font: 7pt 'Times New Roman'">         </span></span>Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">絎旇</span></p> <p style=" text-indent: 21pt"><a >http://wiki.hoodong.com/wiki/jRwNBCFgWA1dYB0NC</a></p> <p style=" text-indent: 21pt"> </p> <p style="margin: 0cm 0cm 0pt 21pt; text-indent: -21pt;"><span style="font-family: Wingdings;">l<span style="font: 7pt 'Times New Roman'">         </span></span>Heritrix crawler vs Nutch crawler</p> <p style=" text-indent: 21pt"><a >http://www.dbanotes.net/web/heritrix_crawler_vs_nutch_crawler.html</a></p> <p style=" text-indent: 21pt"> </p> <p style="margin: 0cm 0cm 0pt 21pt; text-indent: -21pt;"><span style="font-family: Wingdings;">l<span style="font: 7pt 'Times New Roman'">         </span></span><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">澶╀笅緇村</span>-<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鐖櫕紼嬪簭</span></p> <p style=" text-indent: 21pt"><a >http://www.allwiki.com/wiki/Heritrix#Heritrix.E7.9A.84.E5.B1.80.E9.99.90</a></p> <p style=" text-indent: 21pt"> </p> <p><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鑻辨枃錛?/span></p> <p style="margin: 0cm 0cm 0pt 21pt; text-indent: -21pt;"><span style="font-family: Wingdings;">l<span style="font: 7pt 'Times New Roman'">         </span></span>Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">涓婚〉</span></p> <p style=" text-indent: 21pt"><a >http://crawler.archive.org/</a></p> <p style=" text-indent: 21pt"> </p> <p style="margin: 0cm 0cm 0pt 21pt; text-indent: -21pt;"><span style="font-family: Wingdings;">l<span style="font: 7pt 'Times New Roman'">         </span></span>HTMLParser<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">涓婚〉</span></p> <p style=" text-indent: 21pt"><a >http://htmlparser.sourceforge.net/</a></p></div> <div> </div> <div> </div> <div> <h1>Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">緇戝畾涓繪満</span>IP</h1> <p><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鍏抽敭瀛楋細(xì)</span>Heritrix 127.0.0.1 IP <span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">涓繪満</span></p> <p> </p> <p style=" text-indent: 21pt">Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">榛樿緇戝畾鐨?/span>IP<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鏄?/span>127.0.0.1<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">銆?/span></p> <p style=" text-indent: 21pt"><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鍦?/span><span style="font-family: 瀹嬩綋;'Times New Roman';">org.archive.crawler.Heritrix</span><span style="font-family: 瀹嬩綋;'Times New Roman';">涓?/span></p> <p style=" text-indent: 21pt"><span style="font-family: 瀹嬩綋;'Times New Roman';"></span> </p> <table style="border-right: medium none; border-top: medium none; border-left: medium none; border-bottom: medium none; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: windowtext 1pt solid; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; width: 426.1pt; padding-top: 0cm; border-bottom: windowtext 1pt solid; background-color: transparent;" valign="top" width="568"> <p><span style="color: green;">…</span></p> <p><span style="color: green;">final private static Collection<String> LOCALHOST_ONLY =</span></p> <p><span style="color: green;">     Collections.unmodifiableList(Arrays.asList(new String[] { "127.0.0.1" }));</span></p> <p><span style="color: green;">…</span></p> <p><span style="color: green;">private static Collection<String> guiHosts = LOCALHOST_ONLY;</span></p> <p> </p> <p><span style="color: green;">protected static String doCmdLineArgs(final String [] args)</span></p> <p style=" text-indent: 21.75pt"><span style="color: green;">throws Exception {</span></p> <p style=" text-indent: 21.75pt"><span style="color: green;">…</span></p> <p><span style="color: green;">    // Now look at options passed.</span></p> <p><span style="color: green;">        for (int i = 0; i < options.length; i++) {</span></p> <p><span style="color: green;">            switch(options[i].getId()) {</span></p> <p><span style="color: green;">                …</span></p> <p><span style="color: green;">                case 'b':</span></p> <p><span style="color: green;">                    Heritrix.guiHosts = parseHosts(options[i].getValue());</span></p> <p><span style="color: green;">                    break;</span></p> <p><span style="color: green;">                …</span></p> <p><span style="color: green;">                default:</span></p> <p><span style="color: green;">                    assert false: options[i].getId();</span></p> <p><span style="color: green;">            }</span></p> <p><span style="color: green;">        }</span></p> <p style=" text-indent: 21.75pt"><span style="color: green;">…</span></p> <p><span style="color: green;">}</span></p></td></tr></tbody></table> <p style=" text-indent: 21pt"> </p> <p style=" text-indent: 21pt"><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">棣栧厛瀹氫箟浜嗛粯璁?/span>IP<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">錛?/span>127.0.0.1<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">錛岀劧鍚庤祴緇?/span>guiHost<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">涓繪満鍙橀噺銆傚綋鎸囧畾</span>-b<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鎴?/span>--bind<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鍙傛暟鏃訛紝鎵嶄細(xì)鎶婃寚瀹氱殑</span>IP<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">璧嬬粰涓繪満鍙橀噺銆?/span></p> <p style=" text-indent: 21pt"><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鍙﹀錛屼腑闂磋繕鏈変竴姝ュ弬鏁板鐞嗭紝瀵逛簬</span>--xxxx<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鍙傛暟浼?xì)铦{涓?/span>-x<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鐨勫艦寮忕粺涓澶勭悊錛屾墍浠?/span>--bind<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鍜?/span>-b<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">鏈変竴鏍風(fēng)殑鏁堟灉銆?/span></p></div> <div> </div> <div> <h1>Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鍚姩鍙傛暟</span></h1><span> <p><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鍏抽敭瀛楋細(xì)</span>Heritrix <span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鍚姩</span> <span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鍙傛暟</span> bind admin properties</p> <p> </p></span> <p style=" text-indent: 21pt">Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鐨勫惎鍔ㄥ弬鏁幫紝闄や簡</span>--bind<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">澶栵紝閮藉彲浠ュ湪</span>heritrix.properties<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">璁劇疆錛岃屼笉鐢ㄦ瘡嬈¢兘鍦ㄥ懡浠よ涓緭鍏ャ?/span></p> <p style=" text-indent: 21pt"><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">濡傚父鐢ㄧ殑</span>--port, --admin<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">絳夈?/span></p> <p style=" text-indent: 21pt"> </p> <table style="border-right: medium none; border-top: medium none; border-left: medium none; border-bottom: medium none; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: windowtext 1pt solid; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; width: 426.1pt; padding-top: 0cm; border-bottom: windowtext 1pt solid; background-color: transparent;" valign="top" width="568"> <p><span style="color: green">heritrix.cmdline.admin = admin:admin</span></p> <p><span style="color: green">heritrix.cmdline.port = 8080</span></p> <p><span style="color: green">heritrix.cmdline.run = false</span></p> <p><span style="color: green">heritrix.cmdline.nowui = false</span></p> <p><span style="color: green">heritrix.cmdline.order =</span></p> <p><span style="color: green">heritrix.cmdline.jmxserver = false</span></p> <p><span style="color: green">heritrix.cmdline.jmxserver.port = 8081</span></p></td></tr></tbody></table> <p> </p><span> <h1><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鍏充簬</span>Heritrix<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鐨?/span>Extractor<span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">涓枃涔辯爜</span></h1> <p><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">鍏抽敭瀛楋細(xì)</span>Heritrix <span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">涓枃</span> <span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman'">涔辯爜</span> GB2312 Extractor</p> <p> </p> <p style=" text-indent: 21pt"><span style="font-family: 瀹嬩綋;'Times New Roman';'Times New Roman';">緇ф壙浠?/span><span style="font-family: 瀹嬩綋;'Times New Roman';">org.archive.crawler.extractor.Extractor</span><span style="font-family: 瀹嬩綋;'Times New Roman';">鐨勫瓙綾伙紝鍦╡xtract鏂規(guī)硶涓彲浠ヤ粠鍙傛暟CrawlURI涓彇鍑鴻瑙f瀽鐨勫唴瀹廣?/span></p> <p style=" text-indent: 21pt"><span style="font-family: 瀹嬩綋;'Times New Roman';"></span> </p> <p> </p><table style="border-right: medium none; border-top: medium none; border-left: medium none; border-bottom: medium none; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: windowtext 1pt solid; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; width: 426.1pt; padding-top: 0cm; border-bottom: windowtext 1pt solid; background-color: transparent;" valign="top" width="568"> <p><span style="color: green; font-family: 瀹嬩綋;'Times New Roman';">curi.getHttpRecorder().getReplayCharSequence.toString()</span></p></td></tr></tbody></table> <p style=" text-indent: 21pt"> </p> <p style=" text-indent: 21pt"><span style="font-family: 瀹嬩綋;'Times New Roman';">鏈変腑鏂囨椂錛屼笉鍋氬鐞嗕細(xì)杈撳嚭涔辯爜銆傚彲浠ュ湪鍙栧埌鐨凥ttpRecorder鍚庤緗紪鐮侊細(xì)</span></p> <p style=" text-indent: 21pt"><span style="font-family: 瀹嬩綋;'Times New Roman';"></span> </p> <p> </p><table style="border-right: medium none; border-top: medium none; border-left: medium none; border-bottom: medium none; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="border-right: windowtext 1pt solid; padding-right: 5.4pt; border-top: windowtext 1pt solid; padding-left: 5.4pt; padding-bottom: 0cm; border-left: windowtext 1pt solid; width: 426.1pt; padding-top: 0cm; border-bottom: windowtext 1pt solid; background-color: transparent;" valign="top" width="568"> <p><span style="color: green; font-family: 瀹嬩綋;'Times New Roman';">HttpRecorder hr = curi.getHttpRecorder();</span></p> <p><span style="color: green; font-family: 瀹嬩綋;'Times New Roman';">if ( hr == null ) {</span></p> <p><span style="color: green; font-family: 瀹嬩綋;'Times New Roman';">    throw new IOException( "Why is recorder null here?" );</span></p> <p><span style="color: green; font-family: 瀹嬩綋;'Times New Roman';">}</span></p> <p><span style="color: green; font-family: 瀹嬩綋;'Times New Roman';">hr.setCharacterEncoding( "gb2312" );</span></p> <p><span style="color: green; font-family: 瀹嬩綋;'Times New Roman';">cs = hr.getReplayCharSequence();</span></p> <p><span style="color: green;">System.out.println( cs.toString() );</span></p></td></tr></tbody></table> <p> </p> <p> 鍘熸枃鍑鴻嚜錛?div>http://blog.chinaunix.net/uid-8464637-id-2461166.html</div><br /></p></span></div></div><img src ="http://www.aygfsteel.com/xiaohuzi2008/aggbug/393290.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xiaohuzi2008/" target="_blank">灝忚儭瀛?/a> 2012-12-21 12:34 <a href="http://www.aygfsteel.com/xiaohuzi2008/archive/2012/12/21/393290.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">民和</a>| <a href="http://" target="_blank">保山市</a>| <a href="http://" target="_blank">博爱县</a>| <a href="http://" target="_blank">威宁</a>| <a href="http://" target="_blank">墨竹工卡县</a>| <a href="http://" target="_blank">仁化县</a>| <a href="http://" target="_blank">潼关县</a>| <a href="http://" target="_blank">电白县</a>| <a href="http://" target="_blank">永年县</a>| <a href="http://" target="_blank">磐石市</a>| <a href="http://" target="_blank">南安市</a>| <a href="http://" target="_blank">自贡市</a>| <a href="http://" target="_blank">鹤庆县</a>| <a href="http://" target="_blank">行唐县</a>| <a href="http://" target="_blank">历史</a>| <a href="http://" target="_blank">中超</a>| <a href="http://" target="_blank">西丰县</a>| <a href="http://" target="_blank">阿拉善右旗</a>| <a href="http://" target="_blank">榕江县</a>| <a href="http://" target="_blank">衡东县</a>| <a href="http://" target="_blank">淅川县</a>| <a href="http://" target="_blank">苏尼特左旗</a>| <a href="http://" target="_blank">休宁县</a>| <a href="http://" target="_blank">乌兰县</a>| <a href="http://" target="_blank">罗平县</a>| <a href="http://" target="_blank">大洼县</a>| <a href="http://" target="_blank">高碑店市</a>| <a href="http://" target="_blank">伊吾县</a>| <a href="http://" target="_blank">龙山县</a>| <a href="http://" target="_blank">洪泽县</a>| <a href="http://" target="_blank">岳普湖县</a>| <a href="http://" target="_blank">恩平市</a>| <a href="http://" target="_blank">南皮县</a>| <a href="http://" target="_blank">永泰县</a>| <a href="http://" target="_blank">庄浪县</a>| <a href="http://" target="_blank">苗栗市</a>| <a href="http://" target="_blank">筠连县</a>| <a href="http://" target="_blank">崇左市</a>| <a href="http://" target="_blank">杂多县</a>| <a href="http://" target="_blank">安塞县</a>| <a href="http://" target="_blank">维西</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>