{"author_name":"kagasu","height":"190","blog_url":"https://kagasu.hatenablog.com/","provider_url":"https://hatena.blog","title":"C#\u3067\u6587\u5b57\u5217\u306e\u985e\u4f3c\u5ea6\u3092\u6c42\u3081\u308b\u65b9\u6cd5","version":"1.0","author_url":"https://blog.hatena.ne.jp/kagasu/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2021%2F07%2F15%2F155717\" title=\"C#\u3067\u6587\u5b57\u5217\u306e\u985e\u4f3c\u5ea6\u3092\u6c42\u3081\u308b\u65b9\u6cd5 - \u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u2160. \u306f\u3058\u3081\u306b \u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u300cC#\u3067\u6587\u5b57\u5217\u306e\u985e\u4f3c\u5ea6\u3092\u6c42\u3081\u308b\u65b9\u6cd5\u300d\u3067\u3059\u3002 \u2161. \u3084\u308a\u65b9 1. \u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092NuGet\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b dotnet add package Fastenshtein --version 1.0.0.8 2. \u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f using Fastenshtein; static double GetStringDiffRate(string str1, string str2) { var levenshteinDistance = Levenshtein.Distance(str1, str2); var length = (str1.Len\u2026","image_url":null,"provider_name":"Hatena Blog","blog_title":"\u5099\u5fd8\u9332","published":"2021-07-15 15:57:17","categories":["C#"],"url":"https://kagasu.hatenablog.com/entry/2021/07/15/155717","type":"rich"}