{"id":1006508,"date":"2024-12-27T10:45:02","date_gmt":"2024-12-27T02:45:02","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1006508.html"},"modified":"2024-12-27T10:45:05","modified_gmt":"2024-12-27T02:45:05","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e5%ae%9e%e7%8e%b0%e6%a0%a1%e5%af%b9","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1006508.html","title":{"rendered":"\u5982\u4f55\u7528python\u5b9e\u73b0\u6821\u5bf9"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25082606\/ae57e259-c4e5-4c15-bbe0-df7bed165c75.webp\" alt=\"\u5982\u4f55\u7528python\u5b9e\u73b0\u6821\u5bf9\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528Python\u5b9e\u73b0\u6821\u5bf9\u53ef\u4ee5\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u3001\u62fc\u5199\u68c0\u67e5\u548c\u8bed\u6cd5\u68c0\u67e5\u7b49\u6280\u672f\u5b9e\u73b0\u3002\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528NLP\u5e93\u8fdb\u884c\u6587\u672c\u5206\u6790\u3001\u5229\u7528\u62fc\u5199\u68c0\u67e5\u5de5\u5177\u68c0\u6d4b\u548c\u7ea0\u6b63\u62fc\u5199\u9519\u8bef\u3001\u901a\u8fc7\u8bed\u6cd5\u68c0\u67e5\u5de5\u5177\u8bc6\u522b\u548c\u4fee\u6b63\u8bed\u6cd5\u9519\u8bef\u3002<\/strong>\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Python\u5b9e\u73b0\u6821\u5bf9\u7684\u5177\u4f53\u6b65\u9aa4\u548c\u5de5\u5177\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u6280\u672f<\/p>\n<\/p>\n<p><p>\u81ea\u7136\u8bed\u8a00\u5904\u7406\u662f\u5b9e\u73b0\u6587\u672c\u6821\u5bf9\u7684\u91cd\u8981\u57fa\u7840\u3002\u901a\u8fc7NLP\uff0c\u53ef\u4ee5\u5bf9\u6587\u672c\u8fdb\u884c\u5206\u8bcd\u3001\u8bcd\u6027\u6807\u6ce8\u3001\u53e5\u6cd5\u5206\u6790\u7b49\u64cd\u4f5c\uff0c\u4ece\u800c\u4e3a\u540e\u7eed\u7684\u62fc\u5199\u548c\u8bed\u6cd5\u68c0\u67e5\u63d0\u4f9b\u6570\u636e\u652f\u6301\u3002Python\u4e2d\u6709\u591a\u4e2a\u5f3a\u5927\u7684NLP\u5e93\u53ef\u4ee5\u4f7f\u7528\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528NLTK\u8fdb\u884c\u57fa\u7840\u6587\u672c\u5904\u7406<\/li>\n<\/ol>\n<p><p>NLTK\uff08Natural Language Toolkit\uff09\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\u4e4b\u4e00\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5de5\u5177\u548c\u6570\u636e\u96c6\u7528\u4e8e\u6587\u672c\u5206\u6790\u3002\u53ef\u4ee5\u4f7f\u7528NLTK\u8fdb\u884c\u5206\u8bcd\u3001\u8bcd\u6027\u6807\u6ce8\u548c\u547d\u540d\u5b9e\u4f53\u8bc6\u522b\u7b49\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import nltk<\/p>\n<p>nltk.download(&#39;punkt&#39;)<\/p>\n<p>nltk.download(&#39;averaged_perceptron_tagger&#39;)<\/p>\n<p>text = &quot;This is a sample sentence for testing.&quot;<\/p>\n<p>tokens = nltk.word_tokenize(text)<\/p>\n<p>tagged = nltk.pos_tag(tokens)<\/p>\n<p>print(tagged)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bf9\u6587\u672c\u8fdb\u884c\u5206\u8bcd\uff0c\u7136\u540e\u5bf9\u5206\u8bcd\u7ed3\u679c\u8fdb\u884c\u8bcd\u6027\u6807\u6ce8\u3002\u901a\u8fc7\u8bcd\u6027\u6807\u6ce8\uff0c\u53ef\u4ee5\u8bc6\u522b\u51fa\u6587\u672c\u4e2d\u7684\u540d\u8bcd\u3001\u52a8\u8bcd\u3001\u5f62\u5bb9\u8bcd\u7b49\uff0c\u4e3a\u6821\u5bf9\u63d0\u4f9b\u8bed\u6cd5\u4fe1\u606f\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u4f7f\u7528spaCy\u8fdb\u884c\u9ad8\u7ea7\u6587\u672c\u5206\u6790<\/li>\n<\/ol>\n<p><p>spaCy\u662f\u53e6\u4e00\u4e2a\u5f3a\u5927\u7684NLP\u5e93\uff0c\u7279\u522b\u9002\u5408\u4e8e\u9700\u8981\u5feb\u901f\u5904\u7406\u5927\u91cf\u6587\u672c\u7684\u5e94\u7528\u3002spaCy\u63d0\u4f9b\u4e86\u8bcd\u6027\u6807\u6ce8\u3001\u4f9d\u5b58\u53e5\u6cd5\u5206\u6790\u3001\u547d\u540d\u5b9e\u4f53\u8bc6\u522b\u7b49\u529f\u80fd\u3002<\/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>doc = nlp(&quot;This is a sample sentence for testing.&quot;)<\/p>\n<p>for token in doc:<\/p>\n<p>    print(token.text, token.pos_, token.dep_)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7spaCy\uff0c\u53ef\u4ee5\u5bf9\u6587\u672c\u8fdb\u884c\u66f4\u4e3a\u8be6\u7ec6\u7684\u8bed\u6cd5\u5206\u6790\uff0c\u4ece\u800c\u4e3a\u540e\u7eed\u7684\u62fc\u5199\u548c\u8bed\u6cd5\u68c0\u67e5\u63d0\u4f9b\u66f4\u591a\u7684\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u62fc\u5199\u68c0\u67e5<\/p>\n<\/p>\n<p><p>\u62fc\u5199\u68c0\u67e5\u662f\u6821\u5bf9\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\uff0c\u53ef\u4ee5\u5e2e\u52a9\u8bc6\u522b\u548c\u7ea0\u6b63\u6587\u672c\u4e2d\u7684\u62fc\u5199\u9519\u8bef\u3002Python\u4e2d\u6709\u591a\u4e2a\u5e93\u53ef\u4ee5\u7528\u4e8e\u62fc\u5199\u68c0\u67e5\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528PySpellChecker\u8fdb\u884c\u62fc\u5199\u68c0\u67e5<\/li>\n<\/ol>\n<p><p>PySpellChecker\u662f\u4e00\u4e2a\u7b80\u5355\u6613\u7528\u7684\u62fc\u5199\u68c0\u67e5\u5e93\uff0c\u80fd\u591f\u5feb\u901f\u8bc6\u522b\u548c\u7ea0\u6b63\u6587\u672c\u4e2d\u7684\u62fc\u5199\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from spellchecker import SpellChecker<\/p>\n<p>spell = SpellChecker()<\/p>\n<p>text = &quot;Ths is a smple sentence for tesing.&quot;<\/p>\n<p>words = text.split()<\/p>\n<p>misspelled = spell.unknown(words)<\/p>\n<p>for word in misspelled:<\/p>\n<p>    print(f&quot;Misspelled word: {word}, Suggested correction: {spell.correction(word)}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528PySpellChecker\u68c0\u6d4b\u6587\u672c\u4e2d\u7684\u62fc\u5199\u9519\u8bef\uff0c\u5e76\u63d0\u4f9b\u53ef\u80fd\u7684\u7ea0\u6b63\u5efa\u8bae\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u4f7f\u7528TextBlob\u8fdb\u884c\u62fc\u5199\u68c0\u67e5<\/li>\n<\/ol>\n<p><p>TextBlob\u662f\u4e00\u4e2a\u7b80\u5355\u6613\u7528\u7684NLP\u5e93\uff0c\u9664\u4e86\u62fc\u5199\u68c0\u67e5\u4e4b\u5916\uff0c\u8fd8\u63d0\u4f9b\u4e86\u60c5\u611f\u5206\u6790\u3001\u7ffb\u8bd1\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from textblob import TextBlob<\/p>\n<p>text = &quot;Ths is a smple sentence for tesing.&quot;<\/p>\n<p>blob = TextBlob(text)<\/p>\n<p>corrected_text = blob.correct()<\/p>\n<p>print(corrected_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7TextBlob\uff0c\u53ef\u4ee5\u81ea\u52a8\u7ea0\u6b63\u6587\u672c\u4e2d\u7684\u62fc\u5199\u9519\u8bef\uff0c\u4ece\u800c\u63d0\u9ad8\u6587\u672c\u7684\u51c6\u786e\u6027\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u8bed\u6cd5\u68c0\u67e5<\/p>\n<\/p>\n<p><p>\u8bed\u6cd5\u68c0\u67e5\u6d89\u53ca\u8bc6\u522b\u548c\u7ea0\u6b63\u6587\u672c\u4e2d\u7684\u8bed\u6cd5\u9519\u8bef\uff0cPython\u4e2d\u6709\u4e00\u4e9b\u5de5\u5177\u53ef\u4ee5\u7528\u4e8e\u8bed\u6cd5\u68c0\u67e5\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528Grammarly API\u8fdb\u884c\u8bed\u6cd5\u68c0\u67e5<\/li>\n<\/ol>\n<p><p>Grammarly\u662f\u4e00\u6b3e\u77e5\u540d\u7684\u8bed\u6cd5\u68c0\u67e5\u5de5\u5177\uff0c\u53ef\u4ee5\u901a\u8fc7\u5176API\u8fdb\u884c\u8bed\u6cd5\u68c0\u67e5\u3002\u7136\u800c\uff0c\u76ee\u524dGrammarly\u6ca1\u6709\u5b98\u65b9\u7684Python\u5e93\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u7f51\u7edc\u8bf7\u6c42\u7684\u65b9\u5f0f\u8c03\u7528\u5176API\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<p>def check_grammar(text):<\/p>\n<p>    response = requests.post(<\/p>\n<p>        &#39;https:\/\/api.grammarly.com\/v2\/check&#39;,<\/p>\n<p>        json={&#39;text&#39;: text}<\/p>\n<p>    )<\/p>\n<p>    return response.json()<\/p>\n<p>text = &quot;This are a sample sentence for testing.&quot;<\/p>\n<p>result = check_grammar(text)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u4f7f\u7528Grammarly API\u9700\u8981\u83b7\u53d6API\u5bc6\u94a5\uff0c\u5e76\u9075\u5faa\u5176\u4f7f\u7528\u6761\u6b3e\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u4f7f\u7528LanguageTool\u8fdb\u884c\u8bed\u6cd5\u68c0\u67e5<\/li>\n<\/ol>\n<p><p>LanguageTool\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u8bed\u6cd5\u68c0\u67e5\u5de5\u5177\uff0c\u652f\u6301\u591a\u79cd\u8bed\u8a00\u3002\u53ef\u4ee5\u901a\u8fc7Python\u5e93\u76f4\u63a5\u8c03\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import language_tool_python<\/p>\n<p>tool = language_tool_python.LanguageTool(&#39;en-US&#39;)<\/p>\n<p>text = &quot;This are a sample sentence for testing.&quot;<\/p>\n<p>matches = tool.check(text)<\/p>\n<p>for match in matches:<\/p>\n<p>    print(f&quot;Error: {match.ruleId}, Message: {match.message}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7LanguageTool\uff0c\u53ef\u4ee5\u8bc6\u522b\u6587\u672c\u4e2d\u7684\u8bed\u6cd5\u9519\u8bef\uff0c\u5e76\u63d0\u4f9b\u8be6\u7ec6\u7684\u9519\u8bef\u4fe1\u606f\u548c\u7ea0\u6b63\u5efa\u8bae\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u7efc\u5408\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u4ecb\u7ecd\u7684\u5de5\u5177\u548c\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e2a\u7b80\u5355\u7684Python\u6821\u5bf9\u7a0b\u5e8f\uff0c\u7ed3\u5408NLP\u3001\u62fc\u5199\u68c0\u67e5\u548c\u8bed\u6cd5\u68c0\u67e5\u5bf9\u6587\u672c\u8fdb\u884c\u5168\u9762\u5206\u6790\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import nltk<\/p>\n<p>import spacy<\/p>\n<p>from spellchecker import SpellChecker<\/p>\n<p>import language_tool_python<\/p>\n<p>nltk.download(&#39;punkt&#39;)<\/p>\n<p>nltk.download(&#39;averaged_perceptron_tagger&#39;)<\/p>\n<p>def proofread_text(text):<\/p>\n<p>    # \u5206\u8bcd\u548c\u8bcd\u6027\u6807\u6ce8<\/p>\n<p>    tokens = nltk.word_tokenize(text)<\/p>\n<p>    tagged = nltk.pos_tag(tokens)<\/p>\n<p>    # \u62fc\u5199\u68c0\u67e5<\/p>\n<p>    spell = SpellChecker()<\/p>\n<p>    misspelled = spell.unknown(tokens)<\/p>\n<p>    corrections = {word: spell.correction(word) for word in misspelled}<\/p>\n<p>    # \u8bed\u6cd5\u68c0\u67e5<\/p>\n<p>    tool = language_tool_python.LanguageTool(&#39;en-US&#39;)<\/p>\n<p>    grammar_matches = tool.check(text)<\/p>\n<p>    return tagged, corrections, grammar_matches<\/p>\n<p>text = &quot;Ths are a smple sentence for tesing.&quot;<\/p>\n<p>tagged, corrections, grammar_matches = proofread_text(text)<\/p>\n<p>print(&quot;Tagged:&quot;, tagged)<\/p>\n<p>print(&quot;Corrections:&quot;, corrections)<\/p>\n<p>for match in grammar_matches:<\/p>\n<p>    print(f&quot;Error: {match.ruleId}, Message: {match.message}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\u548c\u4ee3\u7801\u793a\u4f8b\uff0c\u53ef\u4ee5\u521d\u6b65\u5b9e\u73b0Python\u6587\u672c\u6821\u5bf9\u529f\u80fd\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\uff0c\u8fd8\u53ef\u4ee5\u8fdb\u4e00\u6b65\u4f18\u5316\u548c\u6269\u5c55\uff0c\u5305\u62ec\u6dfb\u52a0\u66f4\u591a\u7684\u8bed\u6cd5\u89c4\u5219\u3001\u652f\u6301\u591a\u8bed\u8a00\u6821\u5bf9\u7b49\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u8fdb\u884c\u6587\u672c\u6821\u5bf9\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u5e93\u6765\u5b9e\u73b0\u6587\u672c\u6821\u5bf9\u529f\u80fd\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>pyspellchecker<\/code>\u5e93\u53ef\u4ee5\u68c0\u67e5\u62fc\u5199\u9519\u8bef\uff0c<code>language-tool-python<\/code>\u5e93\u5219\u53ef\u4ee5\u8fdb\u884c\u8bed\u6cd5\u548c\u98ce\u683c\u7684\u6821\u5bf9\u3002\u901a\u8fc7\u7ed3\u5408\u8fd9\u4e9b\u5de5\u5177\uff0c\u7528\u6237\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5f3a\u5927\u7684\u6821\u5bf9\u7a0b\u5e8f\u3002<\/p>\n<p><strong>Python\u6821\u5bf9\u5de5\u5177\u6709\u54ea\u4e9b\u63a8\u8350\uff1f<\/strong><br \/>\u6709\u8bb8\u591a\u6d41\u884c\u7684Python\u5e93\u53ef\u4ee5\u5e2e\u52a9\u8fdb\u884c\u6587\u672c\u6821\u5bf9\u3002\u5176\u4e2d\uff0c<code>pyspellchecker<\/code>\u4e13\u6ce8\u4e8e\u62fc\u5199\u68c0\u67e5\uff0c<code>grammar-check<\/code>\u5219\u53ef\u4ee5\u7528\u6765\u8fdb\u884c\u8bed\u6cd5\u6821\u5bf9\u3002\u6b64\u5916\uff0c<code>TextBlob<\/code>\u63d0\u4f9b\u4e86\u60c5\u611f\u5206\u6790\u548c\u7ffb\u8bd1\u529f\u80fd\uff0c\u540c\u65f6\u4e5f\u652f\u6301\u62fc\u5199\u68c0\u67e5\u3002\u8fd9\u4e9b\u5de5\u5177\u5404\u6709\u7279\u70b9\uff0c\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u53ef\u4ee5\u63d0\u9ad8\u6821\u5bf9\u6548\u7387\u3002<\/p>\n<p><strong>\u5982\u4f55\u63d0\u9ad8Python\u6821\u5bf9\u7684\u51c6\u786e\u6027\uff1f<\/strong><br \/>\u4e3a\u4e86\u63d0\u9ad8\u6821\u5bf9\u7684\u51c6\u786e\u6027\uff0c\u53ef\u4ee5\u8003\u8651\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u9996\u5148\uff0c\u4f7f\u7528\u591a\u4e2a\u6821\u5bf9\u5e93\u8fdb\u884c\u4ea4\u53c9\u68c0\u67e5\uff1b\u5176\u6b21\uff0c\u9488\u5bf9\u7279\u5b9a\u9886\u57df\u7684\u6587\u672c\uff0c\u8bad\u7ec3\u81ea\u5b9a\u4e49\u7684\u8bed\u8a00\u6a21\u578b\uff1b\u6700\u540e\uff0c\u5b9a\u671f\u66f4\u65b0\u8bcd\u5178\u548c\u8bed\u6cd5\u89c4\u5219\uff0c\u4ee5\u9002\u5e94\u4e0d\u65ad\u53d8\u5316\u7684\u8bed\u8a00\u4f7f\u7528\u4e60\u60ef\u3002\u8fd9\u6837\u53ef\u4ee5\u663e\u8457\u63d0\u5347\u6821\u5bf9\u7684\u6548\u679c\u548c\u51c6\u786e\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Python\u5b9e\u73b0\u6821\u5bf9\u53ef\u4ee5\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u3001\u62fc\u5199\u68c0\u67e5\u548c\u8bed\u6cd5\u68c0\u67e5\u7b49\u6280\u672f\u5b9e\u73b0\u3002\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528NLP [&hellip;]","protected":false},"author":3,"featured_media":1006516,"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\/1006508"}],"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=1006508"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1006508\/revisions"}],"predecessor-version":[{"id":1006519,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1006508\/revisions\/1006519"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1006516"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1006508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1006508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1006508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}