{"id":930865,"date":"2024-12-26T17:25:36","date_gmt":"2024-12-26T09:25:36","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/930865.html"},"modified":"2024-12-26T17:25:39","modified_gmt":"2024-12-26T09:25:39","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e6%96%ad%e5%8f%a5","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/930865.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u65ad\u53e5"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25065423\/1854f717-da6a-435f-b821-1f8650fba245.webp\" alt=\"python\u4e2d\u5982\u4f55\u65ad\u53e5\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u65ad\u53e5\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u5de5\u5177\u5305\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u53e5\u5b50\u5206\u9694\u7b26\u7b49\u65b9\u6cd5\u5b9e\u73b0<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5de5\u5177\u5305\uff08\u5982NLTK\u3001spaCy\uff09\u662f\u8f83\u4e3a\u5e38\u89c1\u4e14\u6709\u6548\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u5de5\u5177\u5305\u53ef\u4ee5\u66f4\u597d\u5730\u5904\u7406\u8bed\u8a00\u7684\u590d\u6742\u6027\u548c\u591a\u6837\u6027\u3002<strong>\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong>\u662f\u53e6\u4e00\u79cd\u65b9\u6cd5\uff0c\u901a\u8fc7\u8bc6\u522b\u53e5\u53f7\u3001\u95ee\u53f7\u3001\u611f\u53f9\u53f7\u7b49\u6807\u70b9\u7b26\u53f7\u8fdb\u884c\u65ad\u53e5\u3002<strong>\u4e5f\u53ef\u4ee5\u4f7f\u7528\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u64cd\u4f5c<\/strong>\uff0c\u5982split\u51fd\u6570\uff0c\u6765\u8fdb\u884c\u521d\u6b65\u7684\u53e5\u5b50\u5206\u9694\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528NLTK\u8fdb\u884c\u65ad\u53e5<\/p>\n<\/p>\n<p><p>NLTK\uff08Natural Language Toolkit\uff09\u662fPython\u4e2d\u4e00\u4e2a\u5f3a\u5927\u7684\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u8bed\u8a00\u5904\u7406\u5de5\u5177\u3002\u4f7f\u7528NLTK\u8fdb\u884c\u65ad\u53e5\u901a\u5e38\u6d89\u53ca\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5NLTK\u5e76\u5bfc\u5165\u5fc5\u8981\u6a21\u5757<\/strong><br \/>\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5NLTK\u5e93\u5e76\u5bfc\u5165\u76f8\u5173\u7684\u6a21\u5757\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5NLTK\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install nltk<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u5728Python\u811a\u672c\u4e2d\u5bfc\u5165punkt\u6a21\u5757\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import nltk<\/p>\n<p>nltk.download(&#39;punkt&#39;)<\/p>\n<p>from nltk.tokenize import sent_tokenize<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528sent_tokenize\u8fdb\u884c\u65ad\u53e5<\/strong><br \/>sent_tokenize\u51fd\u6570\u662fNLTK\u4e2d\u4e13\u95e8\u7528\u4e8e\u65ad\u53e5\u7684\u5de5\u5177\u3002\u5b83\u6839\u636e\u8bed\u8a00\u6a21\u578b\u6765\u8bc6\u522b\u53e5\u5b50\u7ed3\u675f\u7b26\u53f7\uff0c\u4ece\u800c\u51c6\u786e\u5730\u8fdb\u884c\u65ad\u53e5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;Hello world. This is a test sentence. Python is great for NLP tasks.&quot;<\/p>\n<p>sentences = sent_tokenize(text)<\/p>\n<p>print(sentences)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u6587\u672c\u5206\u5272\u4e3a\u53e5\u5b50\u5217\u8868\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5904\u7406\u4e0d\u540c\u8bed\u8a00<\/strong><br \/>NLTK\u652f\u6301\u591a\u79cd\u8bed\u8a00\u7684\u65ad\u53e5\uff0c\u4f46\u9700\u8981\u4e0b\u8f7d\u76f8\u5e94\u7684\u8bed\u8a00\u5305\u3002\u4f8b\u5982\uff0c\u65ad\u53e5\u5fb7\u8bed\u6587\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">nltk.download(&#39;punkt&#39;)<\/p>\n<p>text_german = &quot;Hallo Welt. Dies ist ein Testsatz. Python ist gro\u00dfartig f\u00fcr NLP-Aufgaben.&quot;<\/p>\n<p>sentences_german = sent_tokenize(text_german, language=&#39;german&#39;)<\/p>\n<p>print(sentences_german)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528spaCy\u8fdb\u884c\u65ad\u53e5<\/p>\n<\/p>\n<p><p>spaCy\u662f\u53e6\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\uff0c\u4e0eNLTK\u76f8\u6bd4\uff0cspaCy\u66f4\u6ce8\u91cd\u5de5\u4e1a\u5e94\u7528\uff0c\u901f\u5ea6\u66f4\u5feb\u3002\u4f7f\u7528spaCy\u8fdb\u884c\u65ad\u53e5\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5spaCy\u5e76\u5bfc\u5165\u8bed\u8a00\u6a21\u578b<\/strong><br \/>\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5spaCy\u5e93\u548c\u5408\u9002\u7684\u8bed\u8a00\u6a21\u578b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install spacy<\/p>\n<p>python -m spacy download en_core_web_sm<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528spaCy\u8fdb\u884c\u65ad\u53e5<\/strong><br \/>spaCy\u4f7f\u7528\u5176\u8bed\u8a00\u6a21\u578b\u6765\u8bc6\u522b\u53e5\u5b50\u7ed3\u6784\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import spacy<\/p>\n<p>nlp = spacy.load(&#39;en_core_web_sm&#39;)<\/p>\n<p>text = &quot;Hello world. This is a test sentence. Python is great for NLP tasks.&quot;<\/p>\n<p>doc = nlp(text)<\/p>\n<p>sentences = [sent.text for sent in doc.sents]<\/p>\n<p>print(sentences)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5904\u7406\u4e0d\u540c\u8bed\u8a00<\/strong><br \/>spaCy\u652f\u6301\u591a\u79cd\u8bed\u8a00\uff0c\u7528\u6237\u9700\u8981\u4e0b\u8f7d\u76f8\u5e94\u7684\u8bed\u8a00\u6a21\u578b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python -m spacy download de_core_news_sm<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u4f7f\u7528\u5fb7\u8bed\u6a21\u578b\u8fdb\u884c\u65ad\u53e5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">nlp_de = spacy.load(&#39;de_core_news_sm&#39;)<\/p>\n<p>text_german = &quot;Hallo Welt. Dies ist ein Testsatz. Python ist gro\u00dfartig f\u00fcr NLP-Aufgaben.&quot;<\/p>\n<p>doc_german = nlp_de(text_german)<\/p>\n<p>sentences_german = [sent.text for sent in doc_german.sents]<\/p>\n<p>print(sentences_german)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u65ad\u53e5<\/p>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u7075\u6d3b\u7684\u6587\u672c\u5904\u7406\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u81ea\u5b9a\u4e49\u7684\u53e5\u5b50\u5206\u5272\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5bfc\u5165re\u6a21\u5757\u5e76\u5b9a\u4e49\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong><br \/>Python\u7684re\u6a21\u5757\u63d0\u4f9b\u4e86\u6b63\u5219\u8868\u8fbe\u5f0f\u529f\u80fd\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u53e5\u5b50\u5206\u5272\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>text = &quot;Hello world. This is a test sentence! Is Python great for NLP tasks? Yes, it is.&quot;<\/p>\n<p>sentences = re.split(r&#39;(?&lt;=[.!?]) +&#39;, text)<\/p>\n<p>print(sentences)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u91cc\u7684\u6b63\u5219\u8868\u8fbe\u5f0f<code>(?&lt;=[.!?]) +<\/code>\u7528\u4e8e\u5339\u914d\u53e5\u5b50\u7ed3\u675f\u7b26\u53f7\uff08\u5982\u53e5\u53f7\u3001\u95ee\u53f7\u3001\u611f\u53f9\u53f7\uff09\u540e\u9762\u7684\u7a7a\u683c\uff0c\u4ee5\u4fbf\u5206\u5272\u53e5\u5b50\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u589e\u5f3a\u6b63\u5219\u8868\u8fbe\u5f0f\u4ee5\u5904\u7406\u7279\u6b8a\u60c5\u51b5<\/strong><br \/>\u5728\u5904\u7406\u590d\u6742\u6587\u672c\u65f6\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u8fdb\u4e00\u6b65\u589e\u5f3a\u4ee5\u5904\u7406\u7f29\u5199\u3001\u5f15\u53f7\u7b49\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;Dr. Smith is an expert in <a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>. He said, &#39;NLP is fascinating!&#39; It&#39;s true.&quot;<\/p>\n<p>sentences = re.split(r&#39;(?&lt;!\\w\\.\\w.)(?&lt;![A-Z][a-z]\\.)(?&lt;=\\.|\\?)\\s&#39;, text)<\/p>\n<p>print(sentences)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u8003\u8651\u4e86\u7f29\u5199\uff08\u5982\u201cDr.\u201d\uff09\u548c\u5f15\u53f7\u5185\u7684\u53e5\u5b50\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528\u7b80\u5355\u5b57\u7b26\u4e32\u64cd\u4f5c\u8fdb\u884c\u65ad\u53e5<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u7b80\u5355\u7684\u6587\u672c\u5904\u7406\u4efb\u52a1\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u7684\u5b57\u7b26\u4e32\u65b9\u6cd5\u8fdb\u884c\u521d\u6b65\u7684\u53e5\u5b50\u5206\u5272\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528split\u65b9\u6cd5<\/strong><br \/>\u8fd9\u662f\u6700\u7b80\u5355\u7684\u65b9\u5f0f\uff0c\u5229\u7528split\u65b9\u6cd5\u6309\u6807\u70b9\u7b26\u53f7\u5206\u5272\u6587\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;Hello world. This is a test sentence. Python is great for NLP tasks.&quot;<\/p>\n<p>sentences = text.split(&#39;. &#39;)<\/p>\n<p>print(sentences)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6ce8\u610f\uff0c\u8fd9\u79cd\u65b9\u6cd5\u4ec5\u9002\u7528\u4e8e\u7b80\u5355\u7684\u53e5\u5b50\u5206\u5272\uff0c\u65e0\u6cd5\u5904\u7406\u590d\u6742\u7684\u8bed\u8a00\u7ed3\u6784\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u624b\u52a8\u5904\u7406\u8fb9\u7f18\u60c5\u51b5<\/strong><br \/>\u53ef\u4ee5\u624b\u52a8\u6dfb\u52a0\u903b\u8f91\u6765\u5904\u7406\u4e00\u4e9b\u7b80\u5355\u7684\u8fb9\u7f18\u60c5\u51b5\uff0c\u5982\u5ffd\u7565\u5f15\u53f7\u5185\u7684\u53e5\u5b50\u7ed3\u675f\u7b26\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &#39;He said, &quot;Python is great.&quot; Then he left.&#39;<\/p>\n<p>sentences = text.split(&#39;. &#39;)<\/p>\n<p>sentences = [s + &#39;.&#39; for s in sentences if s]<\/p>\n<p>print(sentences)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9700\u8981\u66f4\u591a\u7684\u624b\u52a8\u7f16\u7801\u548c\u8c03\u8bd5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u603b\u7ed3\u4e0e\u5bf9\u6bd4<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\u65ad\u53e5\u7684\u65b9\u6cd5\u6709\u591a\u79cd\u9009\u62e9\uff0c\u4ece\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u64cd\u4f5c\u5230\u590d\u6742\u7684NLP\u5e93\uff0c\u5404\u6709\u4f18\u52a3\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>NLTK\u548cspaCy<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u5904\u7406\u590d\u6742\u8bed\u8a00\u7ed3\u6784\u7684\u4efb\u52a1\uff0cNLTK\u8f83\u4e3a\u5b66\u672f\uff0cspaCy\u66f4\u4e3a\u5de5\u4e1a\u5316\u3002<\/li>\n<li><strong>\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong>\uff1a\u9002\u5408\u6709\u7279\u5b9a\u683c\u5f0f\u6587\u672c\u7684\u65ad\u53e5\u4efb\u52a1\uff0c\u7075\u6d3b\u4f46\u9700\u8981\u7406\u89e3\u6b63\u5219\u8bed\u6cd5\u3002<\/li>\n<li><strong>\u5b57\u7b26\u4e32\u64cd\u4f5c<\/strong>\uff1a\u9002\u5408\u7b80\u5355\u573a\u666f\uff0c\u5feb\u901f\u4f46\u529f\u80fd\u6709\u9650\u3002<\/li>\n<\/ul>\n<p><p>\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u548c\u6587\u672c\u590d\u6742\u5ea6\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u901a\u5e38\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u4ee5\u63d0\u9ad8\u51c6\u786e\u6027\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u4f7f\u7528NLP\u5e93\u8fdb\u884c\u6587\u672c\u65ad\u53e5\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\uff0c\u5982NLTK\u3001spaCy\u6216Transformers\u7b49\uff0c\u6765\u5b9e\u73b0\u6587\u672c\u7684\u65ad\u53e5\u3002\u8fd9\u4e9b\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u8bc6\u522b\u53e5\u5b50\u7684\u8fb9\u754c\u3002\u4f8b\u5982\uff0c\u5728\u4f7f\u7528NLTK\u65f6\uff0c\u53ef\u4ee5\u5148\u8fdb\u884c\u5206\u8bcd\u5904\u7406\uff0c\u7136\u540e\u4f7f\u7528\u53e5\u5b50\u5206\u5272\u529f\u80fd\u6765\u5f97\u5230\u5404\u4e2a\u53e5\u5b50\u3002<\/p>\n<p><strong>\u6709\u6ca1\u6709\u63a8\u8350\u7684Python\u5e93\u53ef\u4ee5\u8fdb\u884c\u65ad\u53e5\uff1f<\/strong><br \/>NLTK\u548cspaCy\u662f\u4e24\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u5e93\u3002NLTK\u9002\u5408\u521d\u5b66\u8005\uff0c\u63d0\u4f9b\u4e86\u7b80\u5355\u6613\u7528\u7684\u63a5\u53e3\uff0c\u800cspaCy\u5219\u66f4\u5f3a\u5927\uff0c\u9002\u5408\u5904\u7406\u5927\u89c4\u6a21\u7684\u6587\u672c\u6570\u636e\u3002\u4f60\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e93\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u6587\u672c\u4e2d\u7684\u7279\u6b8a\u5b57\u7b26\u4ee5\u63d0\u9ad8\u65ad\u53e5\u7684\u51c6\u786e\u6027\uff1f<\/strong><br \/>\u5728\u8fdb\u884c\u65ad\u53e5\u4e4b\u524d\uff0c\u5efa\u8bae\u5148\u5bf9\u6587\u672c\u8fdb\u884c\u9884\u5904\u7406\uff0c\u5982\u53bb\u6389\u591a\u4f59\u7684\u7a7a\u683c\u3001\u7279\u6b8a\u5b57\u7b26\u548c\u6807\u70b9\u7b26\u53f7\u3002\u6e05\u6d17\u6570\u636e\u540e\uff0c\u4f7f\u7528NLP\u5e93\u8fdb\u884c\u65ad\u53e5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u53e5\u5b50\u5212\u5206\u7684\u51c6\u786e\u6027\uff0c\u907f\u514d\u56e0\u683c\u5f0f\u95ee\u9898\u5bfc\u81f4\u7684\u9519\u8bef\u65ad\u53e5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u65ad\u53e5\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u5de5\u5177\u5305\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u53e5\u5b50\u5206\u9694\u7b26\u7b49\u65b9\u6cd5\u5b9e\u73b0\u3002\u5176\u4e2d\uff0c\u4f7f\u7528\u81ea\u7136 [&hellip;]","protected":false},"author":3,"featured_media":930867,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/930865"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=930865"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/930865\/revisions"}],"predecessor-version":[{"id":930870,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/930865\/revisions\/930870"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/930867"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=930865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=930865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=930865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}