42 lines
1.3 KiB
Markdown
42 lines
1.3 KiB
Markdown
<p align="center">
|
|
<img width="256" alt="Levenshtein Transformations Icon" src="data/Icon.svg">
|
|
<h1 align="center">Levenshtein Transformations</h1>
|
|
</p>
|
|
|
|
<p align="center">
|
|
<a href="https://david-swift.github.io/LevenshteinTransformations">
|
|
Documentation
|
|
</a>
|
|
·
|
|
<a href="https://github.com/david-swift/LevenshteinTransformations">
|
|
GitHub
|
|
</a>
|
|
</p>
|
|
|
|
Transform an array into any other array of the same type, or a string into any other string, using only the three transformations `replace`, `delete` and `insert`.
|
|
|
|
## Table of Contents
|
|
|
|
- [Installation](#Installation)
|
|
- [Usage](#Usage)
|
|
- [Thanks](#Thanks)
|
|
|
|
## Installation
|
|
|
|
1. Open your Swift package in GNOME Builder, Xcode, or any other IDE.
|
|
2. Open the `Package.swift` file.
|
|
3. Into the `Package` initializer, under `dependencies`, paste:
|
|
```swift
|
|
.package(url: "https://github.com/david-swift/LevenshteinTransformations", from: "0.1.0")
|
|
```
|
|
|
|
## Usage
|
|
|
|
Read the [Getting Started](https://david-swift.github.io/LevenshteinTransformations/documentation/levenshteintransformations/gettingstarted/#Usage) article to learn how to use this package.
|
|
|
|
## Thanks
|
|
|
|
- [SwiftLint](https://github.com/realm/SwiftLint) for checking whether code style conventions are violated
|
|
- The programming language [Swift](https://github.com/apple/swift)
|
|
|