{"id":1139232,"date":"2025-01-08T22:08:08","date_gmt":"2025-01-08T14:08:08","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1139232.html"},"modified":"2025-01-08T22:08:10","modified_gmt":"2025-01-08T14:08:10","slug":"%e5%a6%82%e4%bd%95%e7%94%a8%e7%bc%96%e7%a8%8b%e6%8a%8a%e6%96%87%e5%ad%97%e8%bd%ac%e6%8d%a2%e6%88%90%e6%95%b0%e5%ad%97python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1139232.html","title":{"rendered":"\u5982\u4f55\u7528\u7f16\u7a0b\u628a\u6587\u5b57\u8f6c\u6362\u6210\u6570\u5b57python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25102611\/442c4c9b-6568-49b1-a61b-2046e583bb42.webp\" alt=\"\u5982\u4f55\u7528\u7f16\u7a0b\u628a\u6587\u5b57\u8f6c\u6362\u6210\u6570\u5b57python\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528Python\u5c06\u6587\u5b57\u8f6c\u6362\u6210\u6570\u5b57\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1aASCII\u7801\u8f6c\u6362\u3001\u54c8\u5e0c\u51fd\u6570\u3001\u5b57\u5178\u6620\u5c04\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u5b57\u5178\u6620\u5c04<\/strong>\u662f\u4e00\u79cd\u76f4\u89c2\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5\uff0c\u9002\u7528\u4e8e\u5927\u90e8\u5206\u7b80\u5355\u7684\u6587\u5b57\u8f6c\u6362\u9700\u6c42\u3002\u901a\u8fc7\u9884\u5b9a\u4e49\u4e00\u4e2a\u5b57\u5178\uff0c\u5c06\u6bcf\u4e2a\u5b57\u7b26\u6216\u5355\u8bcd\u6620\u5c04\u5230\u76f8\u5e94\u7684\u6570\u5b57\uff0c\u80fd\u591f\u5feb\u901f\u5b9e\u73b0\u6587\u5b57\u5230\u6570\u5b57\u7684\u8f6c\u6362\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u8fdb\u884c\u6587\u5b57\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001ASCII\u7801\u8f6c\u6362<\/h3>\n<\/p>\n<p><p>ASCII\u7801\u662f\u4e00\u79cd\u5c06\u5b57\u7b26\u6620\u5c04\u5230\u6570\u5b57\u7684\u6807\u51c6\u3002\u6bcf\u4e2a\u5b57\u7b26\u90fd\u6709\u4e00\u4e2a\u552f\u4e00\u7684ASCII\u503c\uff0c\u8fd9\u4f7f\u5f97\u5b83\u6210\u4e3a\u4e00\u79cd\u7b80\u5355\u7684\u6587\u5b57\u8f6c\u6362\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h4>1.1 \u57fa\u672c\u7528\u6cd5<\/h4>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u51fd\u6570<code>ord()<\/code>\u548c<code>chr()<\/code>\u6765\u8fdb\u884cASCII\u7801\u4e0e\u5b57\u7b26\u4e4b\u95f4\u7684\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5b57\u7b26\u8f6cASCII\u7801<\/p>\n<p>char = &#39;A&#39;<\/p>\n<p>ascii_value = ord(char)<\/p>\n<p>print(f&quot;\u5b57\u7b26 &#39;{char}&#39; \u7684ASCII\u7801\u662f {ascii_value}&quot;)<\/p>\n<h2><strong>ASCII\u7801\u8f6c\u5b57\u7b26<\/strong><\/h2>\n<p>ascii_value = 65<\/p>\n<p>char = chr(ascii_value)<\/p>\n<p>print(f&quot;ASCII\u7801 {ascii_value} \u5bf9\u5e94\u7684\u5b57\u7b26\u662f &#39;{char}&#39;&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>1.2 \u6279\u91cf\u8f6c\u6362<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u5c06\u4e00\u6bb5\u6587\u5b57\u8f6c\u6362\u6210ASCII\u7801\u5e8f\u5217\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;Hello&quot;<\/p>\n<p>ascii_values = [ord(char) for char in text]<\/p>\n<p>print(f&quot;\u6587\u672c &#39;{text}&#39; \u7684ASCII\u7801\u5e8f\u5217\u662f {ascii_values}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u54c8\u5e0c\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u54c8\u5e0c\u51fd\u6570\u662f\u4e00\u79cd\u5c06\u4efb\u610f\u5927\u5c0f\u7684\u6570\u636e\u6620\u5c04\u5230\u56fa\u5b9a\u5927\u5c0f\u7684\u6570\u636e\u7684\u65b9\u6cd5\u3002\u867d\u7136\u54c8\u5e0c\u51fd\u6570\u4e0d\u80fd\u4fdd\u8bc1\u552f\u4e00\u6027\uff0c\u4f46\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u5b83\u4eec\u975e\u5e38\u9ad8\u6548\u3002<\/p>\n<\/p>\n<p><h4>2.1 \u4f7f\u7528hash()\u51fd\u6570<\/h4>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u5185\u7f6e\u7684<code>hash()<\/code>\u51fd\u6570\uff0c\u53ef\u4ee5\u5feb\u901f\u751f\u6210\u54c8\u5e0c\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;Hello&quot;<\/p>\n<p>hash_value = hash(text)<\/p>\n<p>print(f&quot;\u6587\u672c &#39;{text}&#39; \u7684\u54c8\u5e0c\u503c\u662f {hash_value}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2.2 \u4f7f\u7528 hashlib \u6a21\u5757<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u54c8\u5e0c\u9700\u6c42\uff0c\u53ef\u4ee5\u4f7f\u7528<code>hashlib<\/code>\u6a21\u5757\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import hashlib<\/p>\n<p>text = &quot;Hello&quot;<\/p>\n<p>hash_object = hashlib.md5(text.encode())<\/p>\n<p>hash_value = hash_object.hexdigest()<\/p>\n<p>print(f&quot;\u6587\u672c &#39;{text}&#39; \u7684MD5\u54c8\u5e0c\u503c\u662f {hash_value}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u5b57\u5178\u6620\u5c04<\/h3>\n<\/p>\n<p><p>\u5b57\u5178\u6620\u5c04\u662f\u4e00\u79cd\u5c06\u5b57\u7b26\u6216\u5355\u8bcd\u6620\u5c04\u5230\u6570\u5b57\u7684\u76f4\u89c2\u65b9\u6cd5\uff0c\u975e\u5e38\u9002\u5408\u5904\u7406\u7b80\u5355\u7684\u6587\u5b57\u8f6c\u6362\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h4>3.1 \u57fa\u672c\u7528\u6cd5<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u5b9a\u4e49\u4e00\u4e2a\u5b57\u5178\u6765\u5b58\u50a8\u5b57\u7b26\u5230\u6570\u5b57\u7684\u6620\u5c04\u5173\u7cfb\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">char_to_num = {<\/p>\n<p>    &#39;A&#39;: 1,<\/p>\n<p>    &#39;B&#39;: 2,<\/p>\n<p>    &#39;C&#39;: 3,<\/p>\n<p>    &#39;D&#39;: 4,<\/p>\n<p>    &#39;E&#39;: 5<\/p>\n<p>}<\/p>\n<p>text = &quot;ABCDE&quot;<\/p>\n<p>num_values = [char_to_num[char] for char in text]<\/p>\n<p>print(f&quot;\u6587\u672c &#39;{text}&#39; \u7684\u6570\u5b57\u5e8f\u5217\u662f {num_values}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3.2 \u5904\u7406\u66f4\u590d\u6742\u7684\u6620\u5c04<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u5904\u7406\u66f4\u590d\u6742\u7684\u6620\u5c04\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u5c42\u5b57\u5178\u6216\u5d4c\u5957\u5b57\u5178\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">word_to_num = {<\/p>\n<p>    &#39;one&#39;: 1,<\/p>\n<p>    &#39;two&#39;: 2,<\/p>\n<p>    &#39;three&#39;: 3,<\/p>\n<p>    &#39;four&#39;: 4,<\/p>\n<p>    &#39;five&#39;: 5<\/p>\n<p>}<\/p>\n<p>text = &quot;one two three&quot;<\/p>\n<p>num_values = [word_to_num[word] for word in text.split()]<\/p>\n<p>print(f&quot;\u6587\u672c &#39;{text}&#39; \u7684\u6570\u5b57\u5e8f\u5217\u662f {num_values}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u6587\u672c\u5904\u7406\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u5339\u914d\u548c\u63d0\u53d6\u7279\u5b9a\u6a21\u5f0f\u7684\u6587\u672c\uff0c\u7136\u540e\u5c06\u5176\u8f6c\u6362\u6210\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h4>4.1 \u57fa\u672c\u7528\u6cd5<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u7279\u5b9a\u7684\u6587\u672c\u6a21\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>text = &quot;The price is 100 dollars&quot;<\/p>\n<p>pattern = r&#39;\\d+&#39;<\/p>\n<p>matches = re.findall(pattern, text)<\/p>\n<p>num_values = [int(match) for match in matches]<\/p>\n<p>print(f&quot;\u6587\u672c &#39;{text}&#39; \u4e2d\u7684\u6570\u5b57\u662f {num_values}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4.2 \u5904\u7406\u66f4\u590d\u6742\u7684\u5339\u914d<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u6587\u672c\u6a21\u5f0f\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u540d\u7ec4\u6216\u66f4\u590d\u6742\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;Order number: 12345, Price: $678&quot;<\/p>\n<p>pattern = r&#39;Order number: (\\d+), Price: \\$\\d+&#39;<\/p>\n<p>match = re.search(pattern, text)<\/p>\n<p>if match:<\/p>\n<p>    order_number = int(match.group(1))<\/p>\n<p>    print(f&quot;\u8ba2\u5355\u53f7\u662f {order_number}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u7efc\u5408\u5b9e\u4f8b<\/h3>\n<\/p>\n<p><p>\u7ed3\u5408\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7efc\u5408\u5b9e\u4f8b\uff0c\u5c06\u6587\u5b57\u8f6c\u6362\u6210\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import hashlib<\/p>\n<p>import re<\/p>\n<h2><strong>ASCII\u7801\u8f6c\u6362<\/strong><\/h2>\n<p>def text_to_ascii(text):<\/p>\n<p>    return [ord(char) for char in text]<\/p>\n<h2><strong>\u54c8\u5e0c\u8f6c\u6362<\/strong><\/h2>\n<p>def text_to_hash(text, method=&#39;md5&#39;):<\/p>\n<p>    hash_object = getattr(hashlib, method)(text.encode())<\/p>\n<p>    return hash_object.hexdigest()<\/p>\n<h2><strong>\u5b57\u5178\u6620\u5c04<\/strong><\/h2>\n<p>def text_to_num(text, mapping):<\/p>\n<p>    return [mapping[char] for char in text if char in mapping]<\/p>\n<h2><strong>\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d<\/strong><\/h2>\n<p>def extract_numbers(text):<\/p>\n<p>    pattern = r&#39;\\d+&#39;<\/p>\n<p>    matches = re.findall(pattern, text)<\/p>\n<p>    return [int(match) for match in matches]<\/p>\n<h2><strong>\u7efc\u5408\u8f6c\u6362\u51fd\u6570<\/strong><\/h2>\n<p>def convert_text(text):<\/p>\n<p>    ascii_values = text_to_ascii(text)<\/p>\n<p>    hash_value = text_to_hash(text)<\/p>\n<p>    char_to_num_mapping = {&#39;A&#39;: 1, &#39;B&#39;: 2, &#39;C&#39;: 3, &#39;D&#39;: 4, &#39;E&#39;: 5}<\/p>\n<p>    num_values = text_to_num(text, char_to_num_mapping)<\/p>\n<p>    extracted_numbers = extract_numbers(text)<\/p>\n<p>    return {<\/p>\n<p>        &#39;ascii_values&#39;: ascii_values,<\/p>\n<p>        &#39;hash_value&#39;: hash_value,<\/p>\n<p>        &#39;num_values&#39;: num_values,<\/p>\n<p>        &#39;extracted_numbers&#39;: extracted_numbers<\/p>\n<p>    }<\/p>\n<p>text = &quot;ABCDE 123&quot;<\/p>\n<p>result = convert_text(text)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4ee5\u4e0a\u662f\u4e00\u4e2a\u7efc\u5408\u5b9e\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u5c06\u6587\u5b57\u8f6c\u6362\u6210\u6570\u5b57\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u6700\u9002\u5408\u7684\u65b9\u6cd5\u3002\u901a\u8fc7\u7075\u6d3b\u8fd0\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u51b3\u5404\u79cd\u6587\u5b57\u8f6c\u6362\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u6587\u5b57\u5230\u6570\u5b57\u7684\u8f6c\u6362\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684\u5b57\u5178\u6216\u81ea\u5b9a\u4e49\u51fd\u6570\u5c06\u6587\u5b57\u8f6c\u6362\u4e3a\u6570\u5b57\u3002\u5bf9\u4e8e\u7b80\u5355\u7684\u6587\u672c\u8f6c\u6362\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u6620\u5c04\uff0c\u5982\u5c06\u201c\u96f6\u201d\u5230\u201c\u4e5d\u201d\u6620\u5c04\u5230\u76f8\u5e94\u7684\u6570\u5b57\u3002\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u8f6c\u6362\uff0c\u6bd4\u5982\u5c06\u201c\u4e8c\u5341\u4e94\u201d\u8f6c\u6362\u4e3a25\uff0c\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5e93\uff0c\u5982<code>nltk<\/code>\u6216<code>num2words<\/code>\uff0c\u8fd9\u4e9b\u5e93\u80fd\u591f\u5904\u7406\u66f4\u590d\u6742\u7684\u6570\u5b57\u8868\u8fbe\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5904\u7406\u5927\u6570\u6216\u590d\u6742\u6570\u5b57\u65f6\uff0c\u6709\u4ec0\u4e48\u63a8\u8350\u7684\u5e93\uff1f<\/strong><br \/>\u5bf9\u4e8e\u5904\u7406\u5927\u6570\u6216\u590d\u6742\u6570\u5b57\uff0c\u63a8\u8350\u4f7f\u7528<code>inflect<\/code>\u5e93\u6216<code>word2number<\/code>\u5e93\u3002\u8fd9\u4e9b\u5e93\u63d0\u4f9b\u4e86\u65b9\u4fbf\u7684\u65b9\u6cd5\u6765\u5c06\u6587\u5b57\u5f62\u5f0f\u7684\u6570\u5b57\u8f6c\u6362\u4e3a\u6574\u6570\u6216\u6d6e\u70b9\u6570\uff0c\u540c\u65f6\u652f\u6301\u66f4\u590d\u6742\u7684\u8868\u8fbe\u5f62\u5f0f\uff0c\u6bd4\u5982\u201c\u5343\u201d\u3001\u201c\u4e07\u201d\u7b49\u3002<\/p>\n<p><strong>\u5982\u679c\u8f93\u5165\u7684\u6587\u5b57\u5305\u542b\u65e0\u6548\u5b57\u7b26\uff0cPython\u5982\u4f55\u5904\u7406\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5f02\u5e38\u5904\u7406\u673a\u5236\u6765\u6355\u83b7\u65e0\u6548\u5b57\u7b26\u5bfc\u81f4\u7684\u9519\u8bef\u3002\u5728\u6267\u884c\u8f6c\u6362\u4e4b\u524d\uff0c\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6216\u5b57\u7b26\u4e32\u65b9\u6cd5\u6e05\u7406\u8f93\u5165\uff0c\u786e\u4fdd\u53ea\u5305\u542b\u6709\u6548\u7684\u6570\u5b57\u5b57\u7b26\u3002\u8fd9\u6837\u53ef\u4ee5\u6709\u6548\u907f\u514d\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684\u9519\u8bef\uff0c\u63d0\u5347\u7a0b\u5e8f\u7684\u5065\u58ee\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Python\u5c06\u6587\u5b57\u8f6c\u6362\u6210\u6570\u5b57\u7684\u51e0\u79cd\u65b9\u6cd5\u5305\u62ec\uff1aASCII\u7801\u8f6c\u6362\u3001\u54c8\u5e0c\u51fd\u6570\u3001\u5b57\u5178\u6620\u5c04\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u3002\u5176\u4e2d\uff0c\u5b57 [&hellip;]","protected":false},"author":3,"featured_media":1139242,"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\/1139232"}],"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=1139232"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1139232\/revisions"}],"predecessor-version":[{"id":1139244,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1139232\/revisions\/1139244"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1139242"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1139232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1139232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1139232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}