Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> ruby >> ruby-levenshtein
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: ruby-levenshtein  ]

套件: ruby-levenshtein (0.2.2-2build9)

calculates the Levenshtein distance between two sequences

The Levenshtein distance is a metric for measuring the amount of difference between two sequences (i.e., the so called edit distance). The Levenshtein distance between two sequences is given by the minimum number of operations needed to transform one sequence into the other, where an operation is an insertion, deletion, or substitution of a single element.

This Ruby library can work on strings, arrays or any other objects provided the sequences respond to :each and the objects to :hash and :eql?.

其他與 ruby-levenshtein 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libc6 (>= 2.2.5) [amd64]
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
    dep: libc6 (>= 2.4) [armhf]
  • dep: libruby2.7 (>= 2.7.0-4) [amd64]
    Libraries necessary to run Ruby 2.7
    dep: libruby2.7 (>= 2.7.0~preview2) [armhf]
  • dep: ruby (<< 1:2.8~)
    Interpreter of object-oriented scripting language Ruby (default version)
    dep: ruby (>= 1:2.7~0)

下載 ruby-levenshtein

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 6.9 kB43 kB [文件列表]
armhf 6.6 kB35 kB [文件列表]