intgr / topy

Python script to fix typos in text, based on the RegExTypoFix project from Wikipedia and AutoWikiBrowser
Other
35 stars 11 forks source link

Make the script take command line arguments #7

Closed theanalyst closed 10 years ago

theanalyst commented 10 years ago

This is somewhat related to #3, we can make the script run over entire directory or a specific file. Also the need for update.sh can be removed as it can be made just a function in the file

intgr commented 10 years ago

Commit d7a521ea73550f36f53d44f73ac501eaae81bc1c introduced command-line options, is that what you had in mind? Should I close this issue?

Eventually I hope this will be a generally useful tool; I think the retf.txt bundled version will be included with the software itself, but an --update switch will download a new copy to the user's personal ~/.cache/, to avoid permission and other issues.

I would keep the update.sh only for the purpose of updating the bundled version, unless you have a better suggestion.

theanalyst commented 10 years ago

Yeah that commit addresses the issue ... yes maybe we can add the --update switch antd use requests or something to update RETF.txt