Metadata-Version: 2.1
Name: similar.py
Version: 1.0
Summary: Find similar text easily
Home-page: https://www.github.com/toxicrecker/similar.py
Author: toxicrecker
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >= 3.6
Description-Content-Type: text/markdown

# similar
A dependency less python library made for finding similar text inspired from [similar](https://pypi.org/project/similar)

# Usage
```py
import similar

match = similar.best_match("apply", ["pickle", "apple", "orange"])
print(match)
> apple
```

# Extras
Also works with

file -

```py
import similar

match = similar.best_match("apply", open("words.txt", "r"))
print(match)
> apple
```

or generator object

```py
import similar

def genwords():
    for word in ["picke", "apple", "orange"]:
        yield word

match = similar.best_match("apply", genwords())
print(match)
> apple
```

