<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## 中文分詞 ![](https://img.kancloud.cn/a3/a1/a3a15ce27ec3644a5bc31775f3df0848_200x200.png) > 效率極高的中文分詞接口,支持NLP智能分詞 ## 接口費用( [點擊購買](https://market.topthink.com/product/184)) > 最低 0.001元/次 ## 接口調用([調用須知](https://docs.topthink.com/think-api/1835086)) ## 接口1:中文抽取關鍵詞 ### 請求地址 ``` GET https://api.topthink.com/word/segment ``` ### 請求參數 | 名稱 | 類型 | 必填 | 說明 | | --- | --- | --- | --- | | appCode| string| 是|用戶授權碼,參考[API調用](https://docs.topthink.com/think-api/1835086) | | content| string | 是 | 內容| | num| string | 否 | 返回數量,默認為10,最大5100 ### 返回`data`參數 | 名稱 | 類型 | 示例值 | 說明 | | --- | --- | --- | --- | |參考返回示例 ## SDK調用 ``` $client = new Client("YourAppCode"); $result = $client->wordSegment() ->withContent('今天我們去上海外灘和南京東路玩') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ "上海", "外灘", "南京東路" ] } ~~~ ## 接口2:中文智能分詞 NLP智能分詞,快速把一段文本切分為一個個詞組,并標注了詞性。大文本分詞時,應該使用post請求方式。且最大不能超過800個字符。 ### 請求地址 ``` GET https://api.topthink.com/word/nlp ``` ### 請求參數 | 名稱 | 類型 | 必填 | 說明 | | --- | --- | --- | --- | | appCode| string| 是|用戶授權碼,參考[API調用](https://docs.topthink.com/think-api/1835086) | | content| string | 是 | 內容| ### 返回`data`參數 | 名稱 | 類型 | 示例值 | 說明 | | --- | --- | --- | --- | | word | string | 今天 | 詞語 | | word_tag | string | 132 | 詞性代碼 | | index | string | 0 | 標號索引 | 詞性代碼釋義如下: | 名稱 | 代碼 | | --- | --- | | 數詞(例如:100、一億) | 90 | | 名詞(例如:媽媽、老師、手機) | 95 | | 人名(例如:馬化騰、馬小姐、小天) | 96 | | 機構團體名(例如:騰訊公司、北大、中科院) | 97 | | 地名詞(例如:上海、外灘、南京東路) | 102 | | 數詞開頭的名詞(例如:一個好人、三個和尚) | 103 | | 以代詞開頭的名詞(例如:該同學、某人) | 104 | | 動量詞(例如:次、遍、趟) | 111 | | 時間量詞(例如:年、月、日) | 112 | | 貨幣量詞(例如:美元、英鎊) | 113 | | 歷史量詞(例如:唐朝、清初) | 133 | | 謂詞(例如:理發、洗澡) | 171 | | 不及物謂詞(例如:腰酸、頭疼) | 200 | ## SDK調用 ``` $client = new Client("YourAppCode"); $result = $client->wordNlp() ->withContent('今天小天和kitty去上海外灘和南京東路玩') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": [ { "word": "今天", "word_tag": "132", "index": "0" }, { "word": "小天", "word_tag": "96", "index": "1" }, { "word": "和", "word_tag": "108", "index": "2" }, { "word": "kitty", "word_tag": "95", "index": "3" }, { "word": "去", "word_tag": "170", "index": "4" }, { "word": "上海", "word_tag": "102", "index": "5" }, { "word": "外灘", "word_tag": "102", "index": "6" }, { "word": "和", "word_tag": "108", "index": "7" }, { "word": "南京東路", "word_tag": "102", "index": "8" }, { "word": "玩", "word_tag": "170", "index": "9" } ] } ~~~
                  <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>

                              哎呀哎呀视频在线观看