Levenshtein ความถี่: คู่มือเริ่มต้นอย่างรวดเร็ว
ทุกสิ่งที่คุณต้องใช้สำหรับการรันครั้งแรกที่สำเร็จ: วางอะไร ตัวเลือกใดสำคัญจริง และอ่านผลลัพธ์อย่างไร
วิธีใช้
- เปิดเครื่องมือแล้ววางข้อมูลในช่องซ้าย
- ปรับเฉพาะตัวเลือกที่งานของคุณต้องการจริง — ค่าเริ่มต้นถูกต้องสำหรับข้อมูลส่วนใหญ่
- อ่านผลลัพธ์ที่ช่องขวา ซึ่งอัปเดตขณะพิมพ์
- ใช้ คัดลอก เพื่อนำผลลัพธ์ไปใช้ หรือ ดาวน์โหลด เพื่อบันทึกเป็นไฟล์
ตัวอย่าง
Compare against "sitting" — the textbook example, three edits apart.
ข้อมูลเข้า
kitten
ข้อมูลออก — ผลลัพธ์
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.
รัน
คำอธิบาย
Edit distance and similarity between two strings, with Damerau and Hamming variants.
เครื่องมือที่เกี่ยวข้อง
ตัวแปลงตัวพิมพ์Switch text between uppercase, lowercase, title case, sentence case and more.ตัวแปลง camelCaseConvert any text or identifier into camelCase.ตัวแปลง snake_caseConvert text into snake_case identifiers.ตัวแปลง kebab-caseConvert text into kebab-case for URLs, CSS classes and CLIs.ตัวแปลง PascalCaseConvert text into PascalCase for class and type names.ตัวแปลง CONSTANT_CASEConvert text into CONSTANT_CASE for macros and enum members.