Levenshtein tần suất: hướng dẫn bắt đầu nhanh
Mọi thứ bạn cần cho lần dùng thành công đầu tiên: dán gì vào, tùy chọn nào thực sự quan trọng, và đọc kết quả ra sao.
Cách dùng
- Mở công cụ và dán dữ liệu vào khung bên trái.
- Chỉ chỉnh những tùy chọn mà tác vụ thực sự cần — giá trị mặc định đã đúng cho hầu hết trường hợp.
- Đọc kết quả ở khung bên phải; kết quả cập nhật khi bạn gõ.
- Dùng Sao chép để lấy kết quả, hoặc Tải xuống để lưu thành tệp.
Ví dụ
Compare against "sitting" — the textbook example, three edits apart.
Đầu vào
kitten
Đầu ra — Kết quả
A: "kitten" (6 chars) B: "kitten" (6 chars) Levenshtein distance : 0 Similarity : 100.00% (1 − distance / max length) Normalised dist : 0.0000 Length difference : 0 Meaning: at least 0 single-character edit(s) (insert, delete or substitute) are needed to turn A into B.
Chạy
Mô tả
Edit distance and similarity between two strings, with Damerau and Hamming variants.
Công cụ liên quan
Bộ chuyển đổi hoa thườngSwitch text between uppercase, lowercase, title case, sentence case and more.Bộ chuyển đổi camelCaseConvert any text or identifier into camelCase.Bộ chuyển đổi snake_caseConvert text into snake_case identifiers.Bộ chuyển đổi kebab-caseConvert text into kebab-case for URLs, CSS classes and CLIs.Bộ chuyển đổi PascalCaseConvert text into PascalCase for class and type names.Bộ chuyển đổi CONSTANT_CASEConvert text into CONSTANT_CASE for macros and enum members.