ã¯ããã« ããã¾ãæ¤ç´¢ã¯ãã¨ãã°ãç·¨éè·é¢ãæ±ãããã¨ã«ãã£ã¦å®ç¾ãããã¨ãã§ãã¾ãã ã¬ã¼ãã³ã·ã¥ã¿ã¤ã³è·é¢ï¼ã¬ã¼ãã³ã·ã¥ã¿ã¤ã³ããããè±: Levenshtein distanceï¼ã¯ãäºã¤ã®æååãã©ã®ç¨åº¦ç°ãªã£ã¦ãããã示ãè·é¢ã®ä¸ç¨®ã§ãããç·¨éè·é¢ï¼ã¸ããã ãããããè±: edit distanceï¼ã¨ãå¼ã°ãããå ·ä½çã«ã¯ã1æåã®æ¿å ¥ã»åé¤ã»ç½®æã«ãã£ã¦ãä¸æ¹ã®æååãããä¸æ¹ã®æååã«å¤å½¢ããã®ã«å¿ è¦ãªæé ã®æå°åæ°ã¨ãã¦å®ç¾©ãããã ã¬ã¼ãã³ã·ã¥ã¿ã¤ã³è·é¢ - Wikipedia æããã¼ã·ãã¯ãªåçè¨ç»æ³ã«ãã£ã¦ç·¨éè·é¢ãæ±ããå ´åãè¨ç®éã¯O(nm)ã§ãããã¬ã³ã¼ãé¡ããç·¨éè·é¢ãè¿ããã®ã ããåæããå ´åãããã«ã¬ã³ã¼ãæ°åã®æ¯è¼ãå¿ è¦ã«ãªãè¨ç®éãã¨ã¦ã大ãããªã£ã¦ãã¾ãã¾ãã æååã®æ¯è¼èªä½ã¯ããããæ¼ç®ãç¨ãããã¨ã«ããããããé«éåã§ãã¾ãã*1ããã®å ´å
{{#tags}}- {{label}}
{{/tags}}