{"id":993205,"date":"2024-12-27T08:44:08","date_gmt":"2024-12-27T00:44:08","guid":{"rendered":""},"modified":"2024-12-27T08:44:10","modified_gmt":"2024-12-27T00:44:10","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e8%af%86%e5%88%ab%e4%b8%ad%e6%96%87","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/993205.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u8bc6\u522b\u4e2d\u6587"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25070705\/5caa8e5a-93e2-4bb1-8f04-5102eab5ddad.webp\" alt=\"python\u4e2d\u5982\u4f55\u8bc6\u522b\u4e2d\u6587\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8bc6\u522b\u4e2d\u6587\u53ef\u4ee5\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5b57\u7b26\u7f16\u7801\u68c0\u6d4b\u3001\u4ee5\u53ca\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\u7b49\u65b9\u6cd5\u3002<\/strong>\u5176\u4e2d\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u80fd\u591f\u5feb\u901f\u8bc6\u522b\u548c\u5339\u914d\u4e2d\u6587\u5b57\u7b26\u3002\u5b57\u7b26\u7f16\u7801\u68c0\u6d4b\u5219\u53ef\u4ee5\u7528\u4e8e\u5224\u65ad\u6587\u672c\u7684\u8bed\u8a00\u7c7b\u522b\uff0c\u800c\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\u5219\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u6587\u672c\u5206\u6790\u529f\u80fd\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u8ba8\u8bba\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5982\u4f55\u5728\u4e0d\u540c\u573a\u666f\u4e2d\u5e94\u7528\u5b83\u4eec\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u8bc6\u522b\u4e2d\u6587<\/p>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u4e8e\u6587\u672c\u7684\u6a21\u5f0f\u5339\u914d\u3002\u5728Python\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u8bc6\u522b\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u4e2d\u6587\u5b57\u7b26<\/li>\n<\/ol>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u5339\u914d\u6a21\u5f0f\u6765\u8bc6\u522b\u4e2d\u6587\u5b57\u7b26\u3002\u901a\u5e38\uff0c\u4e2d\u6587\u5b57\u7b26\u7684Unicode\u7f16\u7801\u8303\u56f4\u4e3a<code>[\\u4e00-\\u9fff]<\/code>\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>re<\/code>\u6a21\u5757\u7ed3\u5408\u8fd9\u4e2a\u8303\u56f4\u6765\u5339\u914d\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def find_chinese(text):<\/p>\n<p>    pattern = re.compile(r&#39;[\\u4e00-\\u9fff]+&#39;)<\/p>\n<p>    matches = pattern.findall(text)<\/p>\n<p>    return matches<\/p>\n<p>text = &quot;\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u3002This is a test.&quot;<\/p>\n<p>chinese_characters = find_chinese(text)<\/p>\n<p>print(chinese_characters)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u8ff0\u4ee3\u7801\u5c06\u8bc6\u522b\u51fa\u6587\u672c\u4e2d\u7684\u4e2d\u6587\u5b57\u7b26\uff0c\u5e76\u5c06\u5b83\u4eec\u4f5c\u4e3a\u5217\u8868\u8fd4\u56de\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u4f18\u5316\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d<\/li>\n<\/ol>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u66f4\u7cbe\u7ec6\u5730\u63a7\u5236\u5339\u914d\u7684\u8303\u56f4\uff0c\u6bd4\u5982\u53ea\u5339\u914d\u7279\u5b9a\u957f\u5ea6\u7684\u4e2d\u6587\u8bcd\u8bed\uff0c\u6216\u8005\u6392\u9664\u67d0\u4e9b\u5b57\u7b26\u3002\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5f0f\u6765\u5b9e\u73b0\u8fd9\u4e9b\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def find_specific_chinese(text, min_length=1):<\/p>\n<p>    pattern = re.compile(r&#39;[\\u4e00-\\u9fff]{%d,}&#39; % min_length)<\/p>\n<p>    matches = pattern.findall(text)<\/p>\n<p>    return matches<\/p>\n<p>text = &quot;\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u3002This is a test.&quot;<\/p>\n<p>long_chinese_words = find_specific_chinese(text, 2)<\/p>\n<p>print(long_chinese_words)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e8c\u3001\u5b57\u7b26\u7f16\u7801\u68c0\u6d4b<\/p>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u6211\u4eec\u9700\u8981\u5bf9\u6587\u672c\u7684\u6574\u4f53\u8fdb\u884c\u8bed\u8a00\u5224\u65ad\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u8bc6\u522b\u5176\u4e2d\u7684\u4e2d\u6587\u5b57\u7b26\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u7f16\u7801\u68c0\u6d4b\u5de5\u5177\u6765\u8f85\u52a9\u5224\u65ad\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528chardet\u5e93\u68c0\u6d4b\u7f16\u7801<\/li>\n<\/ol>\n<p><p><code>chardet<\/code>\u662f\u4e00\u4e2a\u6d41\u884c\u7684Python\u5e93\uff0c\u53ef\u4ee5\u7528\u4e8e\u68c0\u6d4b\u6587\u672c\u7684\u5b57\u7b26\u7f16\u7801\u3002\u901a\u8fc7\u68c0\u6d4b\u6587\u672c\u7f16\u7801\uff0c\u6211\u4eec\u53ef\u4ee5\u63a8\u65ad\u51fa\u6587\u672c\u7684\u8bed\u8a00\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import chardet<\/p>\n<p>def detect_encoding(text_bytes):<\/p>\n<p>    result = chardet.detect(text_bytes)<\/p>\n<p>    return result[&#39;encoding&#39;]<\/p>\n<p>text = &quot;\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u3002&quot;.encode(&#39;utf-8&#39;)<\/p>\n<p>encoding = detect_encoding(text)<\/p>\n<p>print(encoding)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u68c0\u6d4b\u6587\u672c\u7684\u7f16\u7801\uff0c\u6211\u4eec\u53ef\u4ee5\u8fdb\u4e00\u6b65\u5206\u6790\u6587\u672c\u662f\u5426\u5305\u542b\u4e2d\u6587\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u5224\u65ad\u6587\u672c\u8bed\u8a00<\/li>\n<\/ol>\n<p><p>\u7ed3\u5408\u7f16\u7801\u68c0\u6d4b\u7ed3\u679c\uff0c\u6211\u4eec\u53ef\u4ee5\u7f16\u5199\u51fd\u6570\u6765\u5224\u65ad\u6587\u672c\u662f\u5426\u4e3b\u8981\u4e3a\u4e2d\u6587\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_chinese_text(text_bytes):<\/p>\n<p>    encoding = detect_encoding(text_bytes)<\/p>\n<p>    if encoding.lower() in [&#39;gbk&#39;, &#39;gb2312&#39;, &#39;gb18030&#39;, &#39;utf-8&#39;]:<\/p>\n<p>        return True<\/p>\n<p>    return False<\/p>\n<p>text = &quot;\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u3002&quot;.encode(&#39;utf-8&#39;)<\/p>\n<p>is_chinese = is_chinese_text(text)<\/p>\n<p>print(is_chinese)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93<\/p>\n<\/p>\n<p><p>\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u5e93\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u529f\u80fd\uff0c\u53ef\u4ee5\u7528\u4e8e\u6587\u672c\u5206\u6790\u3001\u5206\u8bcd\u548c\u8bed\u8a00\u8bc6\u522b\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528jieba\u5e93\u8fdb\u884c\u5206\u8bcd<\/li>\n<\/ol>\n<p><p><code>jieba<\/code>\u662f\u4e00\u4e2a\u6d41\u884c\u7684\u4e2d\u6587\u5206\u8bcd\u5de5\u5177\uff0c\u80fd\u591f\u5e2e\u52a9\u6211\u4eec\u8bc6\u522b\u548c\u5904\u7406\u4e2d\u6587\u6587\u672c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import jieba<\/p>\n<p>def segment_chinese(text):<\/p>\n<p>    words = jieba.lcut(text)<\/p>\n<p>    return words<\/p>\n<p>text = &quot;\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u3002&quot;<\/p>\n<p>words = segment_chinese(text)<\/p>\n<p>print(words)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u5206\u8bcd\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u597d\u5730\u7406\u89e3\u6587\u672c\u7ed3\u6784\uff0c\u5e76\u8bc6\u522b\u51fa\u5176\u4e2d\u7684\u4e2d\u6587\u8bcd\u8bed\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u7ed3\u5408NLP\u8fdb\u884c\u8bed\u8a00\u8bc6\u522b<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u7ed3\u5408NLP\u5e93\u4e2d\u7684\u8bed\u8a00\u6a21\u578b\u6765\u5224\u65ad\u6587\u672c\u7684\u4e3b\u8981\u8bed\u8a00\u3002\u6bd4\u5982\uff0c\u4f7f\u7528<code>langid<\/code>\u5e93\u6765\u8bc6\u522b\u8bed\u8a00\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import langid<\/p>\n<p>def detect_language(text):<\/p>\n<p>    lang, confidence = langid.classify(text)<\/p>\n<p>    return lang, confidence<\/p>\n<p>text = &quot;\u8fd9\u662f\u4e00\u4e2a\u6d4b\u8bd5\u3002&quot;<\/p>\n<p>language, confidence = detect_language(text)<\/p>\n<p>print(language, confidence)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u7ed3\u5408\u8bed\u8a00\u8bc6\u522b\u5de5\u5177\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u52a0\u51c6\u786e\u5730\u5224\u65ad\u6587\u672c\u7684\u8bed\u8a00\u5c5e\u6027\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u5e94\u7528\u573a\u666f<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8bc6\u522b\u4e2d\u6587\u7684\u65b9\u6cd5\u53ef\u4ee5\u7528\u4e8e\u591a\u79cd\u573a\u666f\uff0c\u5305\u62ec\u6587\u672c\u5206\u7c7b\u3001\u5185\u5bb9\u8fc7\u6ee4\u3001\u7528\u6237\u8f93\u5165\u9a8c\u8bc1\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\u6587\u672c\u5206\u7c7b<\/li>\n<\/ol>\n<p><p>\u5728\u6587\u672c\u5206\u7c7b\u4efb\u52a1\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u8bc6\u522b\u4e2d\u6587\u7684\u65b9\u6cd5\u6765\u533a\u5206\u4e0d\u540c\u8bed\u8a00\u7684\u6587\u672c\uff0c\u4ece\u800c\u63d0\u9ad8\u5206\u7c7b\u51c6\u786e\u6027\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u5185\u5bb9\u8fc7\u6ee4<\/li>\n<\/ol>\n<p><p>\u5bf9\u4e8e\u9700\u8981\u8fc7\u6ee4\u7279\u5b9a\u8bed\u8a00\u5185\u5bb9\u7684\u5e94\u7528\uff0c\u53ef\u4ee5\u5229\u7528\u8bc6\u522b\u4e2d\u6587\u7684\u65b9\u6cd5\u6765\u68c0\u6d4b\u5e76\u8fc7\u6ee4\u6389\u975e\u4e2d\u6587\u5185\u5bb9\u3002<\/p>\n<\/p>\n<ol start=\"3\">\n<li>\u7528\u6237\u8f93\u5165\u9a8c\u8bc1<\/li>\n<\/ol>\n<p><p>\u5728\u4e00\u4e9b\u9700\u8981\u9a8c\u8bc1\u7528\u6237\u8f93\u5165\u8bed\u8a00\u7684\u573a\u666f\uff0c\u6bd4\u5982\u591a\u8bed\u8a00\u8868\u5355\uff0c\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u6765\u786e\u4fdd\u8f93\u5165\u7684\u8bed\u8a00\u7b26\u5408\u8981\u6c42\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u8bc6\u522b\u4e2d\u6587\u5728Python\u4e2d\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ec\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5b57\u7b26\u7f16\u7801\u68c0\u6d4b\u3001\u4ee5\u53ca\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\u7b49\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u7f3a\u70b9\u548c\u9002\u7528\u573a\u666f\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u9002\u5408\u5feb\u901f\u5339\u914d\u548c\u8bc6\u522b\u4e2d\u6587\u5b57\u7b26\uff0c\u5b57\u7b26\u7f16\u7801\u68c0\u6d4b\u53ef\u4ee5\u7528\u4e8e\u6574\u4f53\u8bed\u8a00\u5224\u65ad\uff0c\u800c\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u6587\u672c\u5206\u6790\u529f\u80fd\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u6765\u8bc6\u522b\u548c\u5904\u7406\u4e2d\u6587\u6587\u672c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5224\u65ad\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u542b\u6709\u4e2d\u6587\u5b57\u7b26\u3002\u901a\u8fc7<code>re<\/code>\u6a21\u5757\uff0c\u4f7f\u7528Unicode\u8303\u56f4\u6765\u5339\u914d\u4e2d\u6587\u3002\u4f8b\u5982\uff0c<code>re.search(r&#39;[\\u4e00-\\u9fa5]&#39;, your_string)<\/code>\u53ef\u4ee5\u6709\u6548\u68c0\u6d4b\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u5b58\u5728\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5904\u7406\u4e2d\u6587\u5b57\u7b26\u65f6\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u7f16\u7801\u95ee\u9898\uff1f<\/strong><br \/>\u5904\u7406\u4e2d\u6587\u5b57\u7b26\u65f6\uff0c\u786e\u4fdd\u4f7f\u7528\u6b63\u786e\u7684\u7f16\u7801\u683c\u5f0f\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002\u901a\u5e38\uff0cUTF-8\u662f\u4e00\u79cd\u63a8\u8350\u7684\u7f16\u7801\u65b9\u5f0f\u3002\u5728\u8bfb\u53d6\u6216\u5199\u5165\u6587\u4ef6\u65f6\uff0c\u53ef\u4ee5\u6307\u5b9a\u7f16\u7801\u683c\u5f0f\uff0c\u5982<code>open(&#39;file.txt&#39;, &#39;r&#39;, encoding=&#39;utf-8&#39;)<\/code>\uff0c\u4ee5\u786e\u4fdd\u4e2d\u6587\u5b57\u7b26\u88ab\u6b63\u786e\u5904\u7406\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u4e2d\u6587\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u62fc\u97f3\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>pypinyin<\/code>\u5e93\u6765\u5c06\u4e2d\u6587\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u62fc\u97f3\u3002\u5b89\u88c5\u8be5\u5e93\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7<code>pypinyin.lazy_pinyin(your_string)<\/code>\u51fd\u6570\u83b7\u53d6\u4e2d\u6587\u5b57\u7b26\u4e32\u7684\u62fc\u97f3\u5217\u8868\u3002\u8fd9\u6837\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u5904\u7406\u4e2d\u6587\u8f93\u5165\u6216\u8fdb\u884c\u641c\u7d22\u4f18\u5316\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8bc6\u522b\u4e2d\u6587\u53ef\u4ee5\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5b57\u7b26\u7f16\u7801\u68c0\u6d4b\u3001\u4ee5\u53ca\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\u7b49\u65b9\u6cd5\u3002\u5176\u4e2d\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u6700\u5e38\u7528\u7684 [&hellip;]","protected":false},"author":3,"featured_media":993215,"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\/993205"}],"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=993205"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/993205\/revisions"}],"predecessor-version":[{"id":993216,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/993205\/revisions\/993216"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/993215"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=993205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=993205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=993205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}