# editdistance

- マニュアル
- 標準ライブラリ
- 索引

検索
分類:

This module implements an algorithm to compute the edit distance between two Unicode strings.

# インポート

unicode

# プロシージャ

    proc editDistance(a, b: string): int {...}{.noSideEffect, raises: [], tags: [].}

  Returns the unicode-rune edit distance between `a` and `b`.

  This uses the Levenshtein distance algorithm with only a linear memory overhead.

  ソース 編集

    proc editDistanceAscii(a, b: string): int {...}{.noSideEffect, raises: [], tags: [].}

  Returns the edit distance between `a` and `b`.

  This uses the Levenshtein distance algorithm with only a linear memory overhead.

  ソース 編集