Git Product home page Git Product logo

francesita / predictive_text_project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.74 MB

A predictive text dictionary. Contains code for prototype and different interations of Dictionary. The final form is a dictionary class that uses a tree structure which allows for partial signature matching so users can see part of the words that match as they type.

Java 100.00%
java predictive-dictionary

predictive_text_project's Introduction

Predictive_text_project

In this exercise, I designed and developed a predictive text system. For simplicity, I assumed that the user does not need punctuation or numerals. I also limited my solutions to producing only lower-case words. I first implement a prototype and design a simple dictionary. I then implement searching and storing. The method signatureToWords finds the possible words that could correspond to a given signature and returns them as a set. I read and store the dictionary in memory as a list of pairs. As the list will be sorted and in memory, a faster look-up technique can be used. I then further improve the system by using a Map data structure. I finally create another improved implementation of the Dictionary interface using my own tree data structure. This allows the words or parts of words that match partial signatures, so that the users will be able to see the parts of the words they want to use as they type.

predictive_text_project's People

Contributors

francesita 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.