Skip to content

Commit 5ec3739

Browse files
committed
add tip on how to upload to IPFS
prepare new release
1 parent 2daa44d commit 5ec3739

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![CodeFactor](https://www.codefactor.io/repository/github/fsondej/autocorrect/badge)](https://www.codefactor.io/repository/github/fsondej/autocorrect)
66
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
77

8-
Spelling corrector in python. Currently supports English, Polish, Turkish, Russian, Ukrainian, Czech, Portuguese, Greek, Italian, Vietnamese and Spanish, but you can easily add new languages.
8+
Spelling corrector in python. Currently supports English, Polish, Turkish, Russian, Ukrainian, Czech, Portuguese, Greek, Italian, Vietnamese, French and Spanish, but you can easily add new languages.
99

1010
Based on: https://github.com/phatpiglet/autocorrect
1111

@@ -81,6 +81,6 @@ python test_all.py find_threshold ru
8181
```
8282
and see which threshold value has the least badly corrected words. After that, manually delete all the words with less occurences than the threshold value you found, from the file in hi.tar.gz (it's already sorted so it should be easy).
8383

84-
To distribute this language support to others, you will need to upload your tar.gz file to IPFS (for example with Pinata, which will pin this file so it doesn't disappear), and then add it's path to `ipfs_paths` in `constants.py`.
84+
To distribute this language support to others, you will need to upload your tar.gz file to IPFS (for example with Pinata, which will pin this file so it doesn't disappear), and then add it's path to `ipfs_paths` in `constants.py`. (tip: first put this file inside the folder, and upload the folder to IPFS, for the downloaded file to have the correct filename)
8585

8686
Good luck!

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="autocorrect",
5-
version="2.6.0",
5+
version="2.6.1",
66
python_requires=">=3.6",
77
packages=["autocorrect"],
88
package_data={"autocorrect": ["data/en.tar.gz"]},

0 commit comments

Comments
 (0)