Giter Club home page Giter Club logo

syntaxautofix's Introduction

SyntaxAlert

Automatically fix every typo that you will type to the right words!

It uses a database that can be extended.

Check the words folder for the languages available.

Installation

pip3 install keyboard
pip3 install syntaxautofix

For the UI is required PyQt5.

Doesn't create conflicts with Espanso.

Settings and assets files (dictionaries)

Automatically will create a folder inside '~/.config/SyntaxAutoFix` that will include the stats.json files.
Also will look for the dictionaries and settings also on this folder so this let you customize it without define commandline parameters.

Usage

How to use with Target Language(s)

  • For English only
syntaxautofix -words ./words/en.json
  • For Italian/English/Spanish (or without parameters is the same):
syntaxautofix -words ./words/en.json -words2 ./words/it.json
  • Otherwise with the configini parameter you can specify a settings file (sample in the package/repo):
syntaxautofix -configini /path/config.ini

Adding New Terms

This require the git repo or the right path to the pip package folder.

manageterms.py -wrong="wdiget" -right="widget" -lang=en

You can use also an ui for that: manageterms-gui.py

Adding New Terms using a CSV File

This require the git repo or the right path to the pip package folder.

Directly upload new terms using a CSV file with row format:

<correct-term>, <wrong-term>

For example: Let new_words.csv be

Africa,Afica
America,Ameria

Then use the command:

csvtoterms.py -file new_words.csv -lang en

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.