{"id":1000891,"date":"2024-12-27T09:54:14","date_gmt":"2024-12-27T01:54:14","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1000891.html"},"modified":"2024-12-27T09:54:20","modified_gmt":"2024-12-27T01:54:20","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e5%8d%95%e8%af%8d","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1000891.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u5224\u65ad\u5355\u8bcd"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25075317\/3bba75c5-e8ac-4b33-b5e0-e74653b776b0.webp\" alt=\"python\u4e2d\u5982\u4f55\u5224\u65ad\u5355\u8bcd\" \/><\/p>\n<p><p> \u5728Python\u4e2d\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u662f\u5355\u8bcd\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u4e3b\u8981\u5305\u62ec\uff1a<strong>\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5b57\u5178\u5e93\u9a8c\u8bc1<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u8f83\u4e3a\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u7075\u6d3b\u5730\u5b9a\u4e49\u5355\u8bcd\u7684\u89c4\u5219\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u5982\u4f55\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\u6765\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u5355\u8bcd\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>Python\u7684\u5b57\u7b26\u4e32\u65b9\u6cd5\u53ef\u4ee5\u7528\u4e8e\u7b80\u5355\u7684\u5355\u8bcd\u5224\u65ad\u3002\u8fd9\u4e9b\u65b9\u6cd5\u5305\u62ec<code>isalpha()<\/code>\u548c<code>isspace()<\/code>\u7b49\uff0c\u7528\u4e8e\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4ec5\u7531\u5b57\u6bcd\u6216\u7a7a\u767d\u7ec4\u6210\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528<code>isalpha()<\/code>\u65b9\u6cd5<\/h4>\n<\/p>\n<p><p><code>isalpha()<\/code>\u65b9\u6cd5\u7528\u4e8e\u68c0\u67e5\u5b57\u7b26\u4e32\u662f\u5426\u53ea\u5305\u542b\u5b57\u6bcd\u5b57\u7b26\u3002\u901a\u8fc7\u6b64\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5feb\u901f\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u5355\u8bcd\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_word_alpha(string):<\/p>\n<p>    return string.isalpha()<\/p>\n<p>word = &quot;hello&quot;<\/p>\n<p>print(is_word_alpha(word))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u5c40\u9650\u6027\u5728\u4e8e\uff0c\u5b83\u65e0\u6cd5\u5904\u7406\u5e26\u6709\u8fde\u5b57\u7b26\u6216\u6487\u53f7\u7684\u5355\u8bcd\uff0c\u5982\u201cmother-in-law\u201d\u6216\u201cit&#39;s\u201d\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528<code>split()<\/code>\u548c\u5176\u4ed6\u5b57\u7b26\u4e32\u65b9\u6cd5<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u7ed3\u5408<code>split()<\/code>\u548c<code>all()<\/code>\u65b9\u6cd5\u68c0\u67e5\u4e00\u7ec4\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5355\u8bcd\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def are_all_words_alpha(sentence):<\/p>\n<p>    words = sentence.split()<\/p>\n<p>    return all(word.isalpha() for word in words)<\/p>\n<p>sentence = &quot;This is a test&quot;<\/p>\n<p>print(are_all_words_alpha(sentence))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5904\u7406\u7b80\u5355\u7684\u53e5\u5b50\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u6587\u672c\u5904\u7406\u5de5\u5177\uff0c\u9002\u5408\u7528\u4e8e\u590d\u6742\u7684\u5355\u8bcd\u5224\u65ad\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u5355\u8bcd<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5f0f\uff0c\u6765\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u7b26\u5408\u5355\u8bcd\u7684\u89c4\u5219\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def is_word_regex(string):<\/p>\n<p>    pattern = r&quot;^[A-Za-z]+(-[A-Za-z]+)*$&quot;<\/p>\n<p>    return bool(re.match(pattern, string))<\/p>\n<p>word = &quot;mother-in-law&quot;<\/p>\n<p>print(is_word_regex(word))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5f0f\u53ef\u4ee5\u5339\u914d\u7b80\u5355\u5355\u8bcd\u548c\u5e26\u8fde\u5b57\u7b26\u7684\u590d\u5408\u8bcd\u3002<\/p>\n<\/p>\n<p><h4>2. \u6269\u5c55\u6b63\u5219\u8868\u8fbe\u5f0f\u529f\u80fd<\/h4>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u4e0d\u4ec5\u53ef\u4ee5\u7528\u4e8e\u5339\u914d\u5355\u8bcd\uff0c\u8fd8\u80fd\u7528\u4e8e\u66f4\u590d\u6742\u7684\u6587\u672c\u5904\u7406\uff0c\u6bd4\u5982\u8fc7\u6ee4\u6216\u66ff\u6362\u975e\u5355\u8bcd\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def filter_non_words(text):<\/p>\n<p>    pattern = r&quot;\\b[A-Za-z]+\\b&quot;<\/p>\n<p>    return re.findall(pattern, text)<\/p>\n<p>text = &quot;Hello, how&#39;s it going?&quot;<\/p>\n<p>filtered_words = filter_non_words(text)<\/p>\n<p>print(filtered_words)  # \u8f93\u51fa: [&#39;Hello&#39;, &#39;how&#39;, &#39;it&#39;, &#39;going&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u5b57\u5178\u5e93\u9a8c\u8bc1<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u5b57\u5178\u5e93\u8fdb\u884c\u5355\u8bcd\u9a8c\u8bc1\u53ef\u4ee5\u786e\u4fdd\u5355\u8bcd\u7684\u6b63\u786e\u6027\u3002Python\u4e2d\u53ef\u4ee5\u4f7f\u7528<code>nltk<\/code>\u5e93\u6765\u67e5\u9a8c\u5355\u8bcd\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u4f7f\u7528<code>nltk<\/code>\u5e93<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5<code>nltk<\/code>\u5e93\u5e76\u4e0b\u8f7d\u76f8\u5173\u7684\u6570\u636e\u96c6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install nltk<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><pre><code class=\"language-python\">import nltk<\/p>\n<p>from nltk.corpus import words<\/p>\n<p>nltk.download(&#39;words&#39;)<\/p>\n<p>def is_word_in_dictionary(word):<\/p>\n<p>    return word.lower() in words.words()<\/p>\n<p>word = &quot;hello&quot;<\/p>\n<p>print(is_word_in_dictionary(word))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u66f4\u5927\u7684\u8bcd\u5e93<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u6587\u672c\u5904\u7406\u9700\u6c42\uff0c\u53ef\u4ee5\u7ed3\u5408\u5176\u4ed6\u8bcd\u5e93\u6216\u901a\u8fc7\u81ea\u5b9a\u4e49\u8bcd\u5178\u6269\u5c55\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u8fdb\u884c\u5224\u65ad<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u63d0\u9ad8\u5224\u65ad\u7684\u51c6\u786e\u6027\u3002\u4f8b\u5982\uff0c\u5148\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fc7\u6ee4\uff0c\u518d\u7ed3\u5408\u5b57\u5178\u9a8c\u8bc1\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_valid_word(word):<\/p>\n<p>    if is_word_regex(word):<\/p>\n<p>        return is_word_in_dictionary(word)<\/p>\n<p>    return False<\/p>\n<p>word = &quot;hello&quot;<\/p>\n<p>print(is_valid_word(word))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u7ec4\u5408\u65b9\u6cd5\u65e2\u80fd\u786e\u4fdd\u5355\u8bcd\u7684\u5f62\u5f0f\u6b63\u786e\uff0c\u53c8\u80fd\u4fdd\u8bc1\u5355\u8bcd\u7684\u5b9e\u9645\u5b58\u5728\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5e94\u7528\u573a\u666f\u548c\u6848\u4f8b\u5206\u6790<\/h3>\n<\/p>\n<p><h4>1. \u6587\u672c\u7f16\u8f91\u5668\u4e2d\u7684\u62fc\u5199\u68c0\u67e5<\/h4>\n<\/p>\n<p><p>\u5728\u6587\u672c\u7f16\u8f91\u5668\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0a\u8ff0\u65b9\u6cd5\u5b9e\u73b0\u5b9e\u65f6\u7684\u62fc\u5199\u68c0\u67e5\u529f\u80fd\u3002\u901a\u8fc7\u626b\u63cf\u7528\u6237\u8f93\u5165\u7684\u6587\u672c\uff0c\u8bc6\u522b\u5e76\u6807\u8bb0\u62fc\u5199\u9519\u8bef\u7684\u5355\u8bcd\u3002<\/p>\n<\/p>\n<p><h4>2. \u6570\u636e\u6e05\u6d17\u4e2d\u7684\u6587\u672c\u89c4\u8303\u5316<\/h4>\n<\/p>\n<p><p>\u5728\u6570\u636e\u5904\u7406\u8fc7\u7a0b\u4e2d\uff0c\u901a\u5e38\u9700\u8981\u5c06\u6587\u672c\u6570\u636e\u89c4\u8303\u5316\u3002\u901a\u8fc7\u8bc6\u522b\u975e\u5355\u8bcd\u5b57\u7b26\uff0c\u53ef\u4ee5\u8fdb\u884c\u6570\u636e\u6e05\u6d17\uff0c\u786e\u4fdd\u6570\u636e\u7684\u4e00\u81f4\u6027\u548c\u51c6\u786e\u6027\u3002<\/p>\n<\/p>\n<p><h4>3. \u81ea\u7136\u8bed\u8a00\u5904\u7406\u4e2d\u7684\u5355\u8bcd\u8bc6\u522b<\/h4>\n<\/p>\n<p><p>\u81ea\u7136\u8bed\u8a00\u5904\u7406\u4efb\u52a1\u4e2d\uff0c\u5982\u4fe1\u606f\u63d0\u53d6\u3001\u6587\u672c\u5206\u7c7b\u7b49\uff0c\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u5355\u8bcd\u662f\u57fa\u7840\u6b65\u9aa4\u4e4b\u4e00\u3002\u7ed3\u5408\u8bcd\u5e93\u548c\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u6587\u672c\u5904\u7406\u7684\u8d28\u91cf\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u53ef\u80fd\u7684\u6269\u5c55\u548c\u4f18\u5316<\/h3>\n<\/p>\n<p><h4>1. \u589e\u5f3a\u6b63\u5219\u8868\u8fbe\u5f0f<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u589e\u5f3a\u6b63\u5219\u8868\u8fbe\u5f0f\u4ee5\u5339\u914d\u66f4\u591a\u5f62\u5f0f\u7684\u5355\u8bcd\uff0c\u6bd4\u5982\u5305\u542b\u6570\u5b57\u6216\u7279\u6b8a\u7b26\u53f7\u7684\u5355\u8bcd\uff08\u5982\u5bc6\u7801\u5f3a\u5ea6\u9a8c\u8bc1\uff09\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u66f4\u5148\u8fdb\u7684NLP\u6280\u672f<\/h4>\n<\/p>\n<p><p>\u5229\u7528<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u6a21\u578b\u6216\u6df1\u5ea6\u5b66\u4e60\u7f51\u7edc\uff0c\u63d0\u9ad8\u5355\u8bcd\u8bc6\u522b\u7684\u667a\u80fd\u6027\u548c\u9c81\u68d2\u6027\u3002<\/p>\n<\/p>\n<p><h4>3. \u63d0\u5347\u8fd0\u884c\u6548\u7387<\/h4>\n<\/p>\n<p><p>\u5728\u5927\u89c4\u6a21\u6587\u672c\u5904\u7406\u65f6\uff0c\u9700\u8981\u8003\u8651\u7b97\u6cd5\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u548c\u7a7a\u95f4\u590d\u6742\u5ea6\uff0c\u91c7\u7528\u4f18\u5316\u7b56\u7565\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0cPython\u4e2d\u5224\u65ad\u5355\u8bcd\u7684\u529f\u80fd\u53ef\u4ee5\u5e94\u7528\u4e8e\u591a\u79cd\u573a\u666f\uff0c\u6ee1\u8db3\u4e0d\u540c\u590d\u6742\u5ea6\u7684\u9700\u6c42\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u5c06\u6709\u52a9\u4e8e\u63d0\u9ad8\u6587\u672c\u5904\u7406\u7684\u6548\u7387\u548c\u51c6\u786e\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u67e5\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u662f\u5355\u8bcd\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u5b57\u7b26\u4e32\u7684 <code>isalpha()<\/code> \u65b9\u6cd5\u6765\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u5355\u8bcd\u3002\u8fd9\u4e2a\u65b9\u6cd5\u4f1a\u8fd4\u56de\u5e03\u5c14\u503c\uff0c\u8868\u793a\u5b57\u7b26\u4e32\u662f\u5426\u53ea\u5305\u542b\u5b57\u6bcd\u5b57\u7b26\u3002\u4f8b\u5982\uff1a  <\/p>\n<pre><code class=\"language-python\">word = &quot;hello&quot;\nis_word = word.isalpha()  # \u8fd4\u56de True\n<\/code><\/pre>\n<p>\u5982\u679c\u5b57\u7b26\u4e32\u5305\u542b\u7a7a\u683c\u6216\u5176\u4ed6\u975e\u5b57\u6bcd\u5b57\u7b26\uff0c\u5219\u8fd4\u56de False\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u68c0\u67e5\u5355\u8bcd\u7684\u957f\u5ea6\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684 <code>len()<\/code> \u51fd\u6570\u6765\u83b7\u53d6\u5b57\u7b26\u4e32\u7684\u957f\u5ea6\uff0c\u4ece\u800c\u5224\u65ad\u5355\u8bcd\u7684\u957f\u5ea6\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">word = &quot;hello&quot;\nword_length = len(word)  # \u8fd4\u56de 5\n<\/code><\/pre>\n<p>\u5982\u679c\u9700\u8981\u5224\u65ad\u5355\u8bcd\u957f\u5ea6\u662f\u5426\u5728\u67d0\u4e2a\u8303\u56f4\u5185\uff0c\u53ef\u4ee5\u7ed3\u5408\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u6709\u6548\u5355\u8bcd\uff1f<\/strong><br \/>\u8981\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u4e3a\u6709\u6548\u5355\u8bcd\uff0c\u901a\u5e38\u9700\u8981\u501f\u52a9\u5b57\u5178\u6216\u8bcd\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528 <code>nltk<\/code> \u5e93\u4e2d\u7684 <code>words<\/code> \u96c6\u5408\uff0c\u793a\u4f8b\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">import nltk\nnltk.download(&#39;words&#39;)\nfrom nltk.corpus import words\n\nword_list = set(words.words())\nis_valid_word = &quot;hello&quot; in word_list  # \u8fd4\u56de True\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u786e\u4fdd\u6240\u68c0\u67e5\u7684\u5355\u8bcd\u786e\u5b9e\u662f\u82f1\u8bed\u5355\u8bcd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u662f\u5355\u8bcd\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u4e3b\u8981\u5305\u62ec\uff1a\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u5b57\u5178\u5e93\u9a8c [&hellip;]","protected":false},"author":3,"featured_media":1000907,"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\/1000891"}],"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=1000891"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1000891\/revisions"}],"predecessor-version":[{"id":1000911,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1000891\/revisions\/1000911"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1000907"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1000891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1000891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1000891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}