<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [Xunsearch PHP-SDK](http://www.xunsearch.com) v1.4.8 API 參考文檔 # XSTokenizerXstep [All Packages](#)| [方法(函數)](#) | 包 | [XS.tokenizer](#) | |-----|-----| | 繼承關系 | class XSTokenizerXstep | | 實現接口 | [XSTokenizer](#) | | 版本 | 1.0.0 | | 源代碼 | [sdk/php/lib/XSTokenizer.class.php](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XSTokenizer.class.php) | 內置的步長分詞器 ### Public 方法 [隱去繼承來的方法](#) | 名稱 | 描述 | 定義于 | |-----|-----|-----| | [__construct()](#) | | XSTokenizerXstep | | [getTokens()](#) | | XSTokenizerXstep | ### 方法明細 __construct()方法 <table class="summaryTable"><tr><td colspan="3"><div class="signature2">public void <b>__construct</b>($arg=NULL)</div></td></tr><tr><td class="paramNameCol">$arg</td> <td class="paramTypeCol"></td> <td class="paramDescCol"></td></tr></table> **源碼:**[sdk/php/lib/XSTokenizer.class.php#L137](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XSTokenizer.class.php#L137) (**[顯示](#)**) `public?function?__construct($arg?=?null) { ????if?($arg?!==?null?&&?$arg?!==?'')?{ ????????$this->arg?=?intval($arg); ????????if?($this->arg?<?1?||?$this->arg?>?255)?{ ????????????throw?new?XSException('Invalid?argument?for?'?.?__CLASS__?.?':?'?.?$arg); ????????} ????} }` getTokens()方法 <table class="summaryTable"><tr><td colspan="3"><div class="signature2">public void <b>getTokens</b>($value, $doc=NULL)</div></td></tr><tr><td class="paramNameCol">$value</td> <td class="paramTypeCol"></td> <td class="paramDescCol"></td></tr><tr><td class="paramNameCol">$doc</td> <td class="paramTypeCol"></td> <td class="paramDescCol"></td></tr></table> **源碼:**[sdk/php/lib/XSTokenizer.class.php#L147](https://github.com/hightman/xunsearch/blob/master/sdk/php/lib/XSTokenizer.class.php#L147) (**[顯示](#)**) `public?function?getTokens($value,?XSDocument?$doc?=?null) { ????$terms?=?array(); ????$i?=?$this->arg; ????while?(true)?{ ????????$terms[]?=?substr($value,?0,?$i); ????????if?($i?>=?strlen($value))?{ ????????????break; ????????} ????????$i?+=?$this->arg; ????} ????return?$terms; }` Copyright ? 2008-2011 by [杭州云圣網絡科技有限公司](http://www.xunsearch.com) All Rights Reserved.
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看