Giter Site home page Giter Site logo

zamboni_python's Introduction

Zamboni

This tool is a terminal based autocorrect prototype. The goal is to test out different methods of setting up autocorrection, with the goal of typing faster and learning about spelling checking / correction.

The prototype runs on curses, and needs the windows-curses library on windows.

Structure

There are some exercises you can make in the mini_projects. The folder 1_no_auto_correct, contains a blank template to have basic terminal text editor functionality, you can use this to build spelling correct into. The folder 2_single_word has autocorrect based on the edit distance to a word in a dictionary. Lastly the folder 3_context_aware contains the setup to use a markov model to improve the autocorrection.

Spelling Correct

A good wordlist to use to check words against.

Markov Chain

The markov chain can be trained on any corpus, an example of a pre tokenized dataset is the 1 billion word corpus. If you want to use a different text, it can easily be tokenized with the NLTK Tokenizer package, this functionality is not build in, but can easily be added. Look into 3_context_aware/buffer/markov_model.py in the Markov class the .split() in the _load_corpus method can be replaced with NLTK word_tokenize.

zamboni_python's People

Contributors

wolframfriele avatar

Watchers

 avatar

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.