{"id":2295,"date":"2019-09-21T10:54:57","date_gmt":"2019-09-21T01:54:57","guid":{"rendered":"https:\/\/tnishimaki.com\/?p=2295"},"modified":"2025-06-08T22:24:17","modified_gmt":"2025-06-08T13:24:17","slug":"python%e3%81%ab%e3%82%88%e3%82%8b%e3%83%af%e3%83%bc%e3%83%89%e3%82%af%e3%83%a9%e3%82%a6%e3%83%89%e3%81%ae%e4%bd%9c%e6%88%90%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/analysis-navi.com\/?p=2295","title":{"rendered":"Python\u306b\u3088\u308b\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u306e\u4f5c\u6210\u65b9\u6cd5"},"content":{"rendered":"\n<p>\u300c\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u300d\u3068\u306f\u3001\u6587\u7ae0\u4e2d\u306b\u73fe\u308c\u308b\u51fa\u73fe\u983b\u5ea6\u306e\u9ad8\u3044\u5358\u8a9e\u3092\u62bd\u51fa\u3057\u30011\u679a\u306e\u7d75\u306b\u3057\u305f\u3082\u306e\u3067\u3059\u3002<br><strong><span style=\"background-color: #87cefa;\">\u3042\u308b\u6587\u7ae0\u304c\u3069\u3093\u306a\u50be\u5411\u306a\u306e\u304b\u8996\u899a\u7684\u306b&#8221;\u30d1\u30c3\u3068\u898b&#8221;\u3067\u5206\u304b\u308b<\/span><\/strong>\u306e\u3067\u3001\u624b\u3063\u53d6\u308a\u65e9\u304f\u3001\u304b\u3064\u53d6\u3063\u3064\u304d\u3084\u3059\u3044\u65b9\u6cd5\u306e\u3072\u3068\u3064\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30aa\u30f3\u30e9\u30a4\u30f3\u3067\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u304c\u4f5c\u6210\u3067\u304d\u308b\u30da\u30fc\u30b8\u3082\u5e7e\u3064\u304b\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306fPython\u3092\u7528\u3044\u3066\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python\u306b\u3088\u308b\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u306e\u4f5c\u6210\u65b9\u6cd5<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u5bfe\u8c61\u3068\u306a\u308b\u6587\u7ae0\u306e\u8aad\u307f\u8fbc\u307f<\/h3>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u590f\u76ee\u6f31\u77f3<strong>\u300c\u3053\u3053\u308d\u300d<\/strong>\u306b\u767b\u5834\u3059\u308b\u5358\u8a9e\u3067\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<br>\u6539\u884c\u306a\u3069\u306f\u4f55\u3082\u8003\u3048\u305a\u3001\u5358\u7d14\u306b\u5168\u6587\u3092\u4e00\u6c17\u306b\u8aad\u307f\u8fbc\u3093\u3067\u3057\u307e\u3063\u3066\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<br>\u3053\u3053\u306f<a href=\"https:\/\/analysis-navi.com\/?p=2167\">\u983b\u51fa\u5358\u8a9e\u306e\u62bd\u51fa<\/a>\u3068\u4e00\u7dd2\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#\u590f\u76ee\u6f31\u77f3\u300c\u3053\u3053\u308d\u300d\u306e\u53d6\u308a\u8fbc\u307f\nf = open('kokoro.txt')\ntext = f.read()  # \u30d5\u30a1\u30a4\u30eb\u7d42\u7aef\u307e\u3067\u5168\u3066\u8aad\u3093\u3060\u30c7\u30fc\u30bf\u3092\u8fd4\u3059\nf.close()<\/pre>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/analysis-navi.com\/?p=2167\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u5358\u8a9e\u306e\u62bd\u51fa<\/h3>\n\n\n\n<p>\u304a\u6b21\u306f\u5f62\u614b\u7d20\u89e3\u6790(\u6587\u7ae0\u4e2d\u306e\u5358\u8a9e\u3092\u5206\u5272)\u3057\u307e\u3059\u3002\u4eca\u56de\u306f<strong>MeCab<\/strong>\u3092\u7528\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u3053\u3053\u3067<strong><span style=\"background-color: #87cefa;\">\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u306b\u8868\u793a\u3055\u305b\u305f\u3044\u5358\u8a9e\u3092\u9078\u3073\u307e\u3059\u3002<\/span><\/strong><br>\u4eca\u56de\u306f\u3001\u300c\u540d\u8a5e\u300d\u300c\u52d5\u8a5e\u300d\u300c\u5f62\u5bb9\u8a5e\u300d\u3060\u3051\u3092\u30d4\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/analysis-navi.com\/?p=2167\">\u983b\u51fa\u5358\u8a9e\u306e\u62bd\u51fa<\/a>\u3067\u306f\u30d4\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u5358\u8a9e\u3092\u30ea\u30b9\u30c8\u306b\u683c\u7d0d\u3057\u307e\u3057\u305f\u304c\u3001\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u4f5c\u6210\u306e\u5834\u5408\u306f\u305d\u306e\u4ed5\u69d8\u4e0a<strong><span style=\"background-color: #87cefa;\">\u300c\u5358\u8a9e\u306e\u9593\u306b\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u3092\u5165\u308c\u3066\u9023\u7d50\u300d\u3057\u307e\u3059<\/span><\/strong>\u306e\u3067\u3001\u3054\u6ce8\u610f\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#\u5358\u8a9e\u306e\u5206\u5272\nimport MeCab\nm = MeCab.Tagger ('-Ochasen')\n\nword=\"\"\nnode = m.parseToNode(text)\nwhile node:\n    hinshi = node.feature.split(\",\")[0]\n    if hinshi in [\"\u540d\u8a5e\",\"\u52d5\u8a5e\",\"\u5f62\u5bb9\u8a5e\"]:\n        origin = node.feature.split(\",\")[6]\n        word = word + \" \" + origin\n    node = node.next<\/pre>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3001\u5358\u8a9e\u306f\u305d\u306e\u307e\u307e\u3067\u306a\u304f\u539f\u578b\u3092\u53d6\u308a\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<br>\u305d\u308c\u306b\u3088\u308a\u300c\u98df\u3079\u305f\u300d\u300c\u98df\u3079\u3066\u300d\u30fb\u30fb\u30fb\u306a\u3069\u304c\u3059\u3079\u3066\u300c\u98df\u3079\u308b\u300d\u3068\u3044\u3046\u5358\u8a9e\u3068\u3057\u3066\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u6e96\u5099\u3059\u308c\u3070\u3001\u3042\u3068\u306f<strong>\u300cWordCloud\u300d<\/strong>\u3068\u3044\u3046\u305d\u306e\u307e\u307e\u306e\u540d\u79f0\u306e\u4fbf\u5229\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3053\u308c\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308c\u3070\u7c21\u5358\u306b\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u304c\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u306e\u4f5c\u6210\nfrom wordcloud import WordCloud\n\nfpath = \"\/Library\/Fonts\/\u30d2\u30e9\u30ad\u3099\u30ce\u89d2\u30b3\u3099\u30b7\u30c3\u30af W3.ttc\"\nwordcloud = WordCloud(background_color=\"white\",font_path=fpath,width=600,height=400,min_font_size=15)\nwordcloud.generate(word)\n\nwordcloud.to_file(\".\/wordcloud.png\")<\/pre>\n\n\n\n<p>\u30d5\u30a9\u30f3\u30c8\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3060\u3068\u65e5\u672c\u8a9e\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<br>\u306a\u306e\u3067\u3001\u3054\u81ea\u8eab\u306ePC\u306e\u4e2d\u306e\u304a\u597d\u304d\u306a\u30d5\u30a9\u30f3\u30c8\u3092\u6307\u5b9a\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4ee5\u4e0b\u306e\u300cwordcloud.png\u300d\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"600\" height=\"400\" src=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/wordcloud1.png\" alt=\"\" class=\"wp-image-2413\" srcset=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/wordcloud1.png 600w, https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/wordcloud1-300x200.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n\n\n\n\n<p>\u3053\u308c\u3067\u5b8c\u6210\u3067\u3059\u3002\u7c21\u5358\u3067\u3059\u306d\u3002<br>\u3053\u3053\u304b\u3089\u306f\u3082\u3046\u5c11\u3057\u898b\u6804\u3048\u3092\u6574\u3048\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u56f3\u306e\u5fae\u8abf\u6574<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u8868\u793a\u3055\u305b\u305f\u304f\u306a\u3044\u5358\u8a9e\u306e\u524a\u9664<\/h3>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u3092\u898b\u308b\u3068\u3001\u300c\u3059\u308b\u300d\u300c\u3044\u308b\u300d\u306e\u3088\u3046\u306a\u3001<strong>\u300c\u305d\u308a\u3083\u6ca2\u5c71\u4f7f\u308f\u308c\u308b\u3088\u306d\u300d<\/strong>\u3068\u3044\u3046\u5358\u8a9e\u304c\u30c7\u30ab\u30c7\u30ab\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u305d\u3046\u3044\u3063\u305f\u3001\u300c\u6d88\u3057\u305f\u3044\u5358\u8a9e\u300d\u306f\u3001\u5358\u8a9e\u3092\u9023\u7d50\u3059\u308b\u969b\u306b\u7701\u3044\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001<strong><span style=\"background-color: #87cefa;\">\u5358\u8a9e\u304c\u6307\u5b9a\u3057\u305f\u8a9e\u53e5\u4e00\u89a7\u306b\u542b\u307e\u308c\u3066\u3044\u305f\u3089\u6587\u5b57\u5217\u9023\u7d50\u3092\u3084\u3081\u308b\u51e6\u7406\u306b\u3059\u308c\u3070OK<\/span><\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#\u5358\u8a9e\u306e\u5206\u5272\nimport MeCab\nimport pandas as pd\nimport numpy as np\n\nm = MeCab.Tagger ('-Ochasen')\n\nword=\"\"\nnode = m.parseToNode(text)\nwhile node:\n    hinshi = node.feature.split(\",\")[0]\n    if hinshi in [\"\u540d\u8a5e\",\"\u52d5\u8a5e\",\"\u5f62\u5bb9\u8a5e\"]:\n        origin = node.feature.split(\",\")[6]\n        #word = word + \" \" + origin\n        if origin not in [\"\u3059\u308b\",\"\u3044\u308b\",\"\u3042\u308b\",\"\u306a\u308b\"]:\n            word = word + \" \" + origin\n    node = node.next<\/pre>\n\n\n\n<p>\u5148\u307b\u3069\u3068\u540c\u69d8\u306bWordCloud\u30e1\u30bd\u30c3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u3002\u3002\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"600\" height=\"400\" src=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/wordcloud2.png\" alt=\"\" class=\"wp-image-2414\" srcset=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/wordcloud2.png 600w, https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/wordcloud2-300x200.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n\n\n\n\n<p>\u983b\u51fa\u3057\u3066\u5f53\u7136\u306a\u5358\u8a9e\u306e\u6570\u304c\u6e1b\u308a\u3001\u6587\u7ae0\u306e\u50be\u5411\u304c\u3088\u308a\u5206\u304b\u308a\u3084\u3059\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f59\u767d\u306e\u8abf\u6574<\/h3>\n\n\n\n<p>\u898b\u6804\u3048\u3092\u3069\u3046\u601d\u3046\u304b\u306f\u4eba\u306b\u3088\u3063\u3066\u9055\u3044\u307e\u3059\u304c\u3001\u500b\u4eba\u7684\u306b\u306f<strong><span style=\"background-color: #87cefa;\">\u5c11\u3057\u5358\u8a9e\u304c\u5c11\u3057\u304e\u3085\u3046\u304e\u3085\u3046\u8a70\u3081\u304b\u306a\uff1f<\/span><\/strong>\u3068\u3044\u3046\u6c17\u304c\u3057\u307e\u3059\u3002<br>\u305d\u306e\u5834\u5408\u306f\u3001WordCloud\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u300cmin_font_size\u300d\u3092\u5927\u304d\u3081\u306b\u8a2d\u5b9a\u3059\u308c\u3070OK\u3067\u3059\u3002<br>\u4eca\u56de\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b15\u304f\u3089\u3044\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wordcloud = WordCloud(background_color=\"white\",font_path=fpath,width=600,height=400,min_font_size=15)<\/pre>\n\n\n\n<p>\u3059\u308b\u3068\u3002\u3002\u3002<br><img decoding=\"async\" src=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/wordcloud3.png\" alt=\"\" width=\"600\" height=\"400\" class=\"alignnone size-full wp-image-2415\" srcset=\"https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/wordcloud3.png 600w, https:\/\/analysis-navi.com\/wp-content\/uploads\/2019\/09\/wordcloud3-300x200.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n\n\n\n<p>\u4f59\u767d\u304c\u5897\u3048\u3001\u898b\u3084\u3059\u304f\u306a\u308a\u307e\u3057\u305f\u3002<br>\u307e\u3042\u3001\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u5358\u8a9e\u306e\u6570\u306f\u6e1b\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u4e00\u9577\u4e00\u77ed\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u30fb\u30fb\u30fb\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u500b\u4eba\u3084\u8cc7\u6599\u3092\u898b\u305b\u308b\u76f8\u624b\u306e\u597d\u307f\u306b\u5408\u308f\u305b\u3001\u898b\u6804\u3048\u3092\u8abf\u6574\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br>\u305f\u3060\u3057\u3001WordCloud\u30e1\u30bd\u30c3\u30c9\u306b\u306f\u5e7e\u3064\u304b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u304c\u3001<strong><span style=\"background-color: #87cefa;\">\u601d\u3044\u901a\u308a\u306e\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u304c\u4f5c\u308c\u308b\u307b\u3069\u306e\u3042\u307e\u308a\u7d30\u304b\u3044\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u5099\u3048\u3066\u3044\u307e\u305b\u3093\u3002<\/span><\/strong><br>\u3053\u306e\u5834\u5408\u306f\u3001WordCloud\u30e1\u30bd\u30c3\u30c9\u81ea\u8eab\u3092\u6539\u5909\u3059\u308b\u3001\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u81ea\u4f53\u3092\u81ea\u4f5c\u3059\u308b\u3001\u3082\u3057\u304f\u306f\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u4f5c\u6210\u30b5\u30fc\u30d3\u30b9\u3092\u6d3b\u7528\u3059\u308b\u306a\u3069\u3067\u5bfe\u5fdc\u3059\u308b\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300c\u30ef\u30fc\u30c9\u30af\u30e9\u30a6\u30c9\u300d\u3068\u306f\u3001\u6587\u7ae0\u4e2d\u306b\u73fe\u308c\u308b\u51fa\u73fe\u983b\u5ea6\u306e\u9ad8\u3044\u5358\u8a9e\u3092\u62bd\u51fa\u3057\u30011\u679a\u306e\u7d75\u306b\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u3042\u308b\u6587\u7ae0\u304c\u3069\u3093\u306a\u50be\u5411\u306a\u306e\u304b\u8996\u899a\u7684\u306b&#8221;\u30d1\u30c3\u3068\u898b&#8221;\u3067\u5206\u304b\u308b\u306e\u3067\u3001\u624b\u3063\u53d6\u308a\u65e9\u304f\u3001\u304b\u3064\u53d6\u3063\u3064\u304d\u3084\u3059\u3044\u65b9\u6cd5\u306e\u3072\u3068\u3064\u3067 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5042,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"swell_btn_cv_data":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[129],"tags":[100,134],"class_list":["post-2295","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-study","tag-nlp","tag-python"],"_links":{"self":[{"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/posts\/2295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2295"}],"version-history":[{"count":11,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/posts\/2295\/revisions"}],"predecessor-version":[{"id":5071,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/posts\/2295\/revisions\/5071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=\/wp\/v2\/media\/5042"}],"wp:attachment":[{"href":"https:\/\/analysis-navi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/analysis-navi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}