|
SOLUTIONS
|
MATHEMATICA 組込みシンボル
EditDistance
EditDistance[u, v]
文字列間あるいはベクトル u と v の間の編集距離(レーベンシュタイン距離)を返す.
詳細とオプション詳細とオプション
- EditDistance[u, v]は u を v に変換するのに必要な1要素の削除,挿入,代入の数を返す.
- 文字列では,オプションIgnoreCase->Trueを設定することで,EditDistanceが大文字と小文字を同じものとして扱うようになる.
バージョン 6 の新機能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
