{"id":1678,"date":"2016-12-07T01:20:22","date_gmt":"2016-12-06T16:20:22","guid":{"rendered":"http:\/\/kazu.tv\/blog\/?p=1678"},"modified":"2016-12-07T01:24:13","modified_gmt":"2016-12-06T16:24:13","slug":"language-detection-in-java-or-scala","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2016\/12\/07\/language-detection-in-java-or-scala\/","title":{"rendered":"Java (Scala) \u3067\u8a00\u8a9e\u5224\u5b9a"},"content":{"rendered":"<h2>\u3084\u308a\u305f\u3044\u4e8b<\/h2>\n<ul>\n<li>Java (Scala) \u3067\u3001\u3042\u308b\u6587\u5b57\u5217\u304c\u4f55\u8a9e\uff08\u65e5\u672c\u8a9e\u3001\u82f1\u8a9e\u3001\u306a\u3069\uff09\u306a\u306e\u304b\u3092\u5224\u5225\u3059\u308b<\/li>\n<li>\u5165\u529b\u6587\u5b57\u5217\u306f\u4ee5\u4e0b\u306e2\u901a\u308a\n<ul>\n<li>\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u5165\u529b\u3055\u308c\u305f\u691c\u7d22\u6587\u5b57\u5217\uff081\u5358\u8a9e\u3001\u6570\u6587\u5b57\u301c\u6570\u5358\u8a9e\u3001\u6570\u5341\u6587\u5b57\uff09<\/li>\n<li>\u691c\u7d22\u5bfe\u8c61\u3068\u306a\u308b\u6587\u7ae0\uff08\u6570\u5341\u5358\u8a9e\u301c\u6570\u5341\u30da\u30fc\u30b8\u7a0b\u5ea6\uff09<\/li>\n<\/ul>\n<\/li>\n<li>\u5bfe\u5fdc\u3059\u308b\u8a00\u8a9e\n<ul>\n<li>\u5f53\u521d\u306f\u65e5\u672c\u8a9e\u3068\u82f1\u8a9e<\/li>\n<li>\u4eca\u5f8c\u306f5\u8a00\u8a9e\u7a0b\u5ea6<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u306a\u305c\u3053\u308c\u3092\u3084\u308a\u305f\u3044\u304b\u306f\u3001\u4ee5\u4e0b\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u53c2\u7167\u3002<\/p>\n<p><a href=\"http:\/\/kazu.tv\/blog\/2016\/12\/03\/i18n-elasticsearch-part-2\/\">Elasticsearch\u591a\u8a00\u8a9e\u5316\u305d\u306e2 \u2013 K blog<\/a><\/p>\n<p><!--more--><\/p>\n<h2>\u82f1\u8a9e\u304b\u65e5\u672c\u8a9e\u304b\u3092\u5224\u5225<\/h2>\n<p>\u3053\u308c\u306f\u3001\u5358\u7d14\u306b\u3072\u3089\u304c\u306a\u30fb\u30ab\u30bf\u30ab\u30ca\u30fb\u6f22\u5b57\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3067\u5224\u5225\u53ef\u80fd\u3002\u3061\u3087\u3063\u3068\u691c\u7d22\u3057\u305f\u9650\u308a\u3067\u306f\u3044\u304f\u3064\u304b\u65b9\u6cd5\u304c\u3042\u3063\u305f\u304c\u3001\u4ee5\u4e0b\u306e2\u3064\u304c\u7d20\u76f4\u306a\u65b9\u6cd5\u3002<\/p>\n<ul>\n<li>Java \u306e UnicodeBlock \u3092\u4f7f\u3046: \u53c2\u8003\u30b5\u30a4\u30c8 \u2192 <a href=\"http:\/\/www.mwsoft.jp\/programming\/munou\/unicode_block_java.html\" target=\"_blank\">Unicode\u306e\u6587\u5b57\u306e\u30d6\u30ed\u30c3\u30af\u306b\u89e6\u308c\u3066\u307f\u308b | mwSoft<\/a><\/li>\n<li>\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u3046: \u53c2\u8003\u30b5\u30a4\u30c8 \u2192 <a href=\"http:\/\/daipresents.com\/2008\/java_regex\/\" target=\"_blank\">Java\u3067\u5165\u529b\u30c1\u30a7\u30c3\u30af\u306b\u4f7f\u3048\u308b\u6b63\u898f\u8868\u73fe\u307e\u3068\u3081<\/a><\/li>\n<\/ul>\n<h2>\u540c\u3058\u6587\u5b57\u7a2e\u3092\u4f7f\u3046\u8907\u6570\u306e\u8a00\u8a9e\u304b\u3089\u5224\u5225<\/h2>\n<h3>\u6587\u5b57\u7a2e\u306b\u3088\u308b\u5224\u5b9a\u306f\u56f0\u96e3\u306a\u306e\u3067\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528<\/h3>\n<p>\u540c\u3058\u3088\u3046\u306a\u6f22\u5b57\u3092\u4f7f\u3046\u65e5\u672c\u8a9e\u3068\u7e41\u4f53\u4e2d\u56fd\u8a9e\u3084\u3001\u540c\u3058\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3092\u4f7f\u3046\u82f1\u8a9e\u3068\u30aa\u30e9\u30f3\u30c0\u8a9e\u306e\u5834\u5408\u3001\u5358\u7d14\u306a\u6587\u5b57\u7a2e\u306b\u3088\u308b\u5224\u5225\u306f\u56f0\u96e3\u3001\u3042\u308b\u3044\u306f precision \u304c\u4f4e\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002\u5f93\u3063\u3066\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h3>\u30e9\u30a4\u30d6\u30e9\u30ea\u9078\u5b9a\uff1a\u30b5\u30a4\u30dc\u30a6\u30ba\u306e\u65b9\u304c\u4f5c\u3063\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d5\u30a9\u30fc\u30af<\/h3>\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u30b5\u30a4\u30dc\u30a6\u30ba\u306e\u65b9\u304c\u4f5c\u3063\u305f\u4ee5\u4e0b\u306e\u3082\u306e\u304c\u3042\u308b\u304c\u3001\u3057\u3070\u3089\u304f\u66f4\u65b0\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001<\/p>\n<p><a href=\"https:\/\/code.google.com\/archive\/p\/language-detection\/\" target=\"_blank\">Google Code Archive &#8211; Long-term storage for Google Code Project Hosting.<\/a><\/p>\n<p>\u4eca\u56de\u306f\u3001\u3053\u308c\u306e\u30d5\u30a9\u30fc\u30af\u306e\u3055\u3089\u306b\u30d5\u30a9\u30fc\u30af\u3067\u3042\u308b\u4ee5\u4e0b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/optimaize\/language-detector\" target=\"_blank\">optimaize\/language-detector: Language Detection Library for Java<\/a><\/p>\n<h2>Language Detection Library<\/h2>\n<h3>\u5185\u90e8\u7684\u306a\u4ed5\u7d44\u307f<\/h3>\n<p>\u540c\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u5185\u90e8\u7684\u306a\u4ed5\u7d44\u307f\u306f\u5143\u306e\u30b5\u30a4\u30dc\u30a6\u30ba\u306e\u65b9\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u57fa\u76e4\u3068\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u30b9\u30e9\u30a4\u30c9\u304c\u53c2\u8003\u306b\u306a\u3063\u305f\u3002<\/p>\n<p><a href=\"http:\/\/www.slideshare.net\/shuyo\/language-detection-library-for-java\">Language Detection Library for Java<\/a><\/p>\n<p>\u5927\u96d1\u628a\u306b\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<ul>\n<li>Wikipedia \u306e\u6587\u7ae0\u3067\u5b66\u7fd2\u3057\u305f\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u5143\u306b\u5224\u5225\n<ul>\n<li>n-gram<\/li>\n<li>\u30ca\u30a4\u30fc\u30d6\u30d9\u30a4\u30ba<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u4f7f\u3044\u65b9<\/h3>\n<p>Scala \u30b3\u30fc\u30c9\u3060\u304c\u3001Java \u306a\u4eba\u305f\u3061\u3082\u307e\u3041\u5206\u304b\u308b\u304b\u3068\u601d\u3046\u3002<\/p>\n<pre>val languageProfiles = new LanguageProfileReader().readAllBuiltIn()\r\nval languageDetector = LanguageDetectorBuilder.create(NgramExtractors.standard())\r\n .withProfiles(languageProfiles)\r\n .build()\r\n\/\/ \u77ed\u3044\u30c6\u30ad\u30b9\u30c8\u7528\u3002\u9577\u3044\u30c6\u30ad\u30b9\u30c8\u7528\u306e forDetectingOnLargeText \u30e1\u30bd\u30c3\u30c9\u306a\u3069\u3082\u3042\u308b\u3002\r\nval textObjectFactory = CommonTextObjectFactories.forDetectingShortCleanText()\r\nval textObject = textObjectFactory.forText(\"\u3053\u3093\u306b\u3061\u306f\")\r\n\/\/ Optional[LdLocale] \u3092\u8fd4\u3059\u3002\u95be\u5024\u304c\u9ad8\u3081\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u308b\u306e\u3067\u3001\r\n\/\/ \u7a7a\u306e\u5024\uff08\uff1d\u5224\u5225\u51fa\u6765\u306a\u304b\u3063\u305f\uff09\u304c\u8fd4\u308b\u3053\u3068\u304c\u591a\u3044\u3002\r\nlanguageDetector.detect(textObject)<\/pre>\n<p>\u30b3\u30e1\u30f3\u30c8\u306b\u8a18\u8f09\u3057\u305f\u901a\u308a\u3001\u4e0a\u306e\u30b3\u30fc\u30c9\u3060\u3068\u77ed\u3044\u5165\u529b\u6587\u5b57\u5217\u3060\u3068\u5224\u5b9a\u3055\u308c\u305a\u306b\u7a7a\u306e\u5024\u304c\u8fd4\u3063\u3066\u304f\u308b\u3053\u3068\u304c\u591a\u3044\u3002\u9069\u5f53\u306b\u6587\u5b57\u5217\u3092\u5165\u308c\u3066\u307f\u305f\u304c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7d50\u679c\u306b\u306a\u3063\u305f\u3002<\/p>\n<ul>\n<li>slack \u2192 \u5224\u5225\u4e0d\u80fd<\/li>\n<li>\u9023\u643a \u2192 \u5224\u5225\u4e0d\u80fd<\/li>\n<\/ul>\n<h3>detect -&gt; getProbabilities<\/h3>\n<p>detect \u30e1\u30bd\u30c3\u30c9\u306e\u30b3\u30e1\u30f3\u30c8\u306b\u306f\u3001<\/p>\n<blockquote><p>Note: you may want to use getProbabilities() instead. This here is very strict, and sometimes returns absent even though the first choice in getProbabilities() is correct.<\/p><\/blockquote>\n<p>\u3068\u3044\u3046\u4e8b\u304c\u66f8\u304b\u308c\u3066\u3044\u305f\u3002detect \u3060\u3068\u3001\u300c\u5165\u529b\u6587\u5b57\u5217\u304c\u3042\u308b\u8a00\u8a9e\u3067\u3042\u308b\u78ba\u7387\u300d\u304c\u6c7a\u3081\u3089\u308c\u305f\u95be\u5024\u4ee5\u4e0a\u306e\u3082\u306e\u306e\u3046\u3061\u6700\u5927\u306e\u3082\u306e\u304c\u8fd4\u3055\u308c\u308b\u3088\u3046\u3060\u304c\u3001\u95be\u5024\u3092\u8d85\u3048\u305f\u3082\u306e\u304c\u306a\u3051\u308c\u3070\u7a7a\u304c\u8fd4\u308b\u3002\u305d\u308c\u306b\u5bfe\u3057\u3066\u3001getProbabilities \u3092\u4f7f\u3046\u3068\u3001\u5019\u88dc\u306e\u8a00\u8a9e\u3068\u78ba\u7387\u304c\u8fd4\u3055\u308c\u308b\u3002<\/p>\n<p>getProbabilities \u3092\u4f7f\u3046\u3088\u3046\u306b\u3057\u3066\u3001\u4e0a\u8ff0\u306e\u30b3\u30fc\u30c9\u306e\u6700\u7d42\u884c\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u3066\u307f\u305f\u3002<\/p>\n<pre>import scala.collection.JavaConversions._\r\nlanguageDetector.getProbabilities(textObject).headOption.map(_.getLocale)<\/pre>\n<p>\u305d\u3046\u3059\u308b\u3068\u3001\u540c\u3058\u5165\u529b\u5024\u3067\u3082\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u51fa\u529b\u304c\u5909\u308f\u3063\u305f\u3002<\/p>\n<ul>\n<li>slack \u2192 \u30b9\u30a6\u30a7\u30fc\u30c7\u30f3\u8a9e<\/li>\n<li>\u9023\u643a \u2192 \u97d3\u56fd\u8a9e<\/li>\n<\/ul>\n<p>\u3044\u305a\u308c\u306b\u3057\u3066\u3082\u77ed\u3044\u5165\u529b\u6587\u5b57\u5217\u3060\u3068\u7d50\u679c\u306f\u826f\u304f\u306a\u3044\u3002slack \u304c\u30b9\u30a6\u30a7\u30fc\u30c7\u30f3\u8a9e\u3068\u306a\u308b\u306e\u306f\u7406\u89e3\u3067\u304d\u306a\u304f\u3082\u306a\u3044\u304c\u3001\u97d3\u56fd\u8a9e\u3067\u306f\u57fa\u672c\u7684\u306b\u306f\u6f22\u5b57\u3092\u4f7f\u308f\u306a\u3044\u306f\u305a\u306a\u306e\u306b\u6f22\u5b57\u3068\u5224\u5b9a\u3055\u308c\u308b\u306e\u306f\u3061\u3087\u3063\u3068\u826f\u304f\u308f\u304b\u3089\u306a\u3044\u3002\u3069\u3046\u3044\u3046\u30c6\u30ad\u30b9\u30c8\u3092\u4f7f\u3063\u3066\u5b66\u7fd2\u3057\u3066\u308b\u306e\u3060\u308d\u3046\u304b\u3002<\/p>\n<h3>\u5bfe\u8c61\u8a00\u8a9e\u3092\u7d5e\u308b<\/h3>\n<p>\u540c\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u6570\u5341\u8a00\u8a9e\u306e\u4e2d\u304b\u3089\u5224\u5b9a\u3055\u305b\u308b\u3068\u3001\u4e0a\u306e\u3088\u3046\u306a\u6563\u3005\u306a\u7d50\u679c\u306b\u306a\u3063\u305f\u305f\u3081\u3001\u5bfe\u8c61\u306e\u8a00\u8a9e\u3092\u7d5e\u308c\u306a\u3044\u304b\u3061\u3087\u3063\u3068\u8abf\u3079\u3066\u307f\u305f\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30bd\u30fc\u30b9\u3092\u898b\u305f\u3068\u3053\u308d\u3001\u5143\u306e\u30b3\u30fc\u30c9\u306e\u5148\u982d\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3059\u308c\u3070\u826f\u3044\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002<\/p>\n<pre>import scala.collection.JavaConversions._\r\n\/\/ \u4f7f\u3046\u8a00\u8a9e\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u3092\u8aad\u307f\u8fbc\u3080\r\nval languages = List(\"ja\", \"en\", \"br\", \"fr\", \"de\", \"es\", \"th\")\r\nval languageProfiles = new LanguageProfileReader().readBuiltIn(languages)<\/pre>\n<p>\u3053\u308c\u3067\u8a66\u3057\u305f\u6240<\/p>\n<ul>\n<li>slack \u2192 \u82f1\u8a9e<\/li>\n<li>\u9023\u643a \u2192 \u65e5\u672c\u8a9e<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u3088\u3046\u306b\u5224\u5b9a\u3055\u308c\u305f\u3002\u3082\u3046\u5c11\u3057\u8272\u3093\u306a\u6587\u5b57\u5217\u3067\u8a66\u3057\u3066\u307f\u308b\u304c\u3001\u524d\u3088\u308a\u306f\u4f7f\u3048\u308b\u72b6\u614b\u306b\u306a\u3063\u305f\u3063\u307d\u3044\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u6587\u5b57\u5217\u306e\u8a00\u8a9e\u5224\u5b9a\u306b\u95a2\u3057\u3066\u306f\u3001\u4e00\u822c\u7684\u306b\u306f\u4ee5\u4e0b\u306e\u3053\u3068\u304c\u8a00\u3048\u305d\u3046\u3002<\/p>\n<ul>\n<li>\u65e5\u82f1\u7a0b\u5ea6\u3067\u3042\u308c\u3070\u3001\u4f7f\u3063\u3066\u3044\u308b\u6587\u5b57\u7a2e\u3067\u5224\u5225\u3059\u308b\u306e\u304c\u4e00\u756a\u7c21\u5358\u305d\u3046<\/li>\n<li>\u8907\u6570\u8a00\u8a9e\u304b\u3089\u306e\u5224\u5b9a\u306e\u5834\u5408\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\n<ul>\n<li>\u77ed\u3044\u5165\u529b\u6587\u5b57\u5217\u306e\u5834\u5408\u306f\u7cbe\u5ea6\u304c\u4f4e\u304f\u306a\u308a\u304c\u3061<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u4eca\u56de\u4f7f\u3063\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u95a2\u3057\u3066\u308f\u304b\u3063\u305f\u3053\u3068\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<ul>\n<li>\u5165\u529b\u6587\u5b57\u5217\u304c\u77ed\u3044\u6642\u7528\u3001\u9577\u3044\u6642\u7528\u3067\u3001\u7570\u306a\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b<\/li>\n<li>\u4f7f\u3046\u8a00\u8a9e\u3092\u7d5e\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u5165\u529b\u6587\u5b57\u5217\u304c\u77ed\u304f\u3066\u3082\u3042\u308b\u7a0b\u5ea6\u306f\u7cbe\u5ea6\u304c\u3042\u3052\u3089\u308c\u308b<\/li>\n<li>\uff08\u672c\u6587\u4e2d\u306b\u306f\u66f8\u3044\u3066\u306a\u3044\u304c\u3001\uff09com.google.common.base.Optional \u3063\u3066\u30af\u30e9\u30b9\u3092\u4f7f\u3063\u3066\u3044\u308b\u304c\u3001Java 8 \u306e Optional \u306b\u3057\u3066\u307b\u3057\u3044<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u3084\u308a\u305f\u3044\u4e8b Java (Scala) \u3067\u3001\u3042\u308b\u6587\u5b57\u5217\u304c\u4f55\u8a9e\uff08\u65e5\u672c\u8a9e\u3001\u82f1\u8a9e\u3001\u306a\u3069\uff09\u306a\u306e\u304b\u3092\u5224\u5225\u3059\u308b \u5165\u529b\u6587\u5b57\u5217\u306f\u4ee5\u4e0b\u306e2\u901a\u308a \u30e6\u30fc\u30b6\u30fc\u304b\u3089\u5165\u529b\u3055\u308c\u305f\u691c\u7d22\u6587\u5b57\u5217\uff081\u5358\u8a9e\u3001\u6570\u6587\u5b57\u301c\u6570\u5358\u8a9e\u3001\u6570\u5341\u6587\u5b57\uff09 \u691c\u7d22\u5bfe\u8c61\u3068\u306a\u308b\u6587\u7ae0\uff08\u6570\u5341\u5358&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[20],"tags":[704,953,959,947],"class_list":["post-1678","post","type-post","status-publish","format-standard","hentry","category-scala","tag-i18n","tag-java","tag-nlp","tag-scala"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/1678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=1678"}],"version-history":[{"count":2,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/1678\/revisions"}],"predecessor-version":[{"id":1680,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/1678\/revisions\/1680"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=1678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=1678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=1678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}