久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <small id='hiTFX'></small><noframes id='hiTFX'>

    <tfoot id='hiTFX'></tfoot>

        <bdo id='hiTFX'></bdo><ul id='hiTFX'></ul>
      <legend id='hiTFX'><style id='hiTFX'><dir id='hiTFX'><q id='hiTFX'></q></dir></style></legend>
        <i id='hiTFX'><tr id='hiTFX'><dt id='hiTFX'><q id='hiTFX'><span id='hiTFX'><b id='hiTFX'><form id='hiTFX'><ins id='hiTFX'></ins><ul id='hiTFX'></ul><sub id='hiTFX'></sub></form><legend id='hiTFX'></legend><bdo id='hiTFX'><pre id='hiTFX'><center id='hiTFX'></center></pre></bdo></b><th id='hiTFX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='hiTFX'><tfoot id='hiTFX'></tfoot><dl id='hiTFX'><fieldset id='hiTFX'></fieldset></dl></div>

        如何將段落拆分為句子

        How to Split a Paragraph into Sentences(如何將段落拆分為句子)

          <small id='PcKL7'></small><noframes id='PcKL7'>

            <tbody id='PcKL7'></tbody>
          <tfoot id='PcKL7'></tfoot>

            <legend id='PcKL7'><style id='PcKL7'><dir id='PcKL7'><q id='PcKL7'></q></dir></style></legend>
                <bdo id='PcKL7'></bdo><ul id='PcKL7'></ul>

                1. <i id='PcKL7'><tr id='PcKL7'><dt id='PcKL7'><q id='PcKL7'><span id='PcKL7'><b id='PcKL7'><form id='PcKL7'><ins id='PcKL7'></ins><ul id='PcKL7'></ul><sub id='PcKL7'></sub></form><legend id='PcKL7'></legend><bdo id='PcKL7'><pre id='PcKL7'><center id='PcKL7'></center></pre></bdo></b><th id='PcKL7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='PcKL7'><tfoot id='PcKL7'></tfoot><dl id='PcKL7'><fieldset id='PcKL7'></fieldset></dl></div>
                  本文介紹了如何將段落拆分為句子的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我一直在嘗試使用:

                  $string="The Dr. is here!!! I am glad I'm in the U.S.A. for the Dr. quality is great!!!!!!";
                  preg_match_all('~.*?[?.!]~s',$string,$sentences);
                  print_r($sentences);
                  

                  但它不適用于 Dr., U.S.A. 等

                  But it doesn't work on Dr., U.S.A., etc.

                  大家有更好的建議嗎?

                  推薦答案

                  沒有任何簡單的解決方案.您需要在應用程序中進行一些自然語言處理 (NLP) 并識別每個句子.有一種叫做 OpenNLP 的東西,它是一個基于 JAVA 的 NLP 解析器工具.或者 Stanford NLP 解析器 Ruby.你可以為 php 找到類似的東西.

                  there is not any simple solution for that. you need do some natural language processing(NLP) in your application and recognize each sentence. there is something call OpenNLP, it's a JAVA-based NLP parser tool. Or Stanford NLP parser in Ruby. you can find something like that for php.

                  這里 我在 PHP 中找到了一組用于自然語言處理的類.

                  here I found a set of classes for natural language processing in PHP.

                  這篇關于如何將段落拆分為句子的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動游標不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅動程序)

                  1. <i id='HgvB9'><tr id='HgvB9'><dt id='HgvB9'><q id='HgvB9'><span id='HgvB9'><b id='HgvB9'><form id='HgvB9'><ins id='HgvB9'></ins><ul id='HgvB9'></ul><sub id='HgvB9'></sub></form><legend id='HgvB9'></legend><bdo id='HgvB9'><pre id='HgvB9'><center id='HgvB9'></center></pre></bdo></b><th id='HgvB9'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='HgvB9'><tfoot id='HgvB9'></tfoot><dl id='HgvB9'><fieldset id='HgvB9'></fieldset></dl></div>

                        <tfoot id='HgvB9'></tfoot>
                      1. <legend id='HgvB9'><style id='HgvB9'><dir id='HgvB9'><q id='HgvB9'></q></dir></style></legend>
                          <bdo id='HgvB9'></bdo><ul id='HgvB9'></ul>
                              <tbody id='HgvB9'></tbody>

                            <small id='HgvB9'></small><noframes id='HgvB9'>

                            主站蜘蛛池模板: 97成人免费 | 久久a久久 | 亚洲狠狠爱 | 国产精品久久久久久久久久久免费看 | 九色网址 | 国产欧美日韩久久久 | 国产成人精品免费视频大全最热 | 国产精品一区二区在线播放 | 国产精品视频一区二区三区, | 日韩在线免费播放 | 国产亚洲精品久久午夜玫瑰园 | 欧美一级二级视频 | 日韩在线一区二区 | 伊人操| 成人亚洲片| 一区在线视频 | a级毛片国产 | 国产精品一区久久久 | 亚洲在线 | 成人不卡视频 | 久久99深爱久久99精品 | a久久| 亚洲永久字幕 | 欧美专区在线 | 午夜精品久久久久久久久久久久久 | 视频一区 国产精品 | 久久亚洲一区 | 久久99国产精品久久99果冻传媒 | 欧洲亚洲视频 | 81精品国产乱码久久久久久 | 国产午夜精品一区二区三区嫩草 | 日韩免费视频一区二区 | 国产高清无av久久 | 日韩在线播放视频 | 2019精品手机国产品在线 | 日韩欧美福利视频 | 欧美一级特黄aaa大片在线观看 | 亚洲天堂中文字幕 | 成人网av| 亚洲成人国产综合 | 99亚洲精品 |