Git Product home page Git Product logo

complete-me's People

Contributors

joshuajhun avatar kfarias avatar

Watchers

 avatar  avatar

complete-me's Issues

All Components Testes

Application is broken into components which are well tested in both isolation and integration using appropriate data

Should Suggest Words you More Commonly Use

The common gripe about autocomplete systems is that they give us suggestions that are technically valid but not at all what we wanted.

A solution to this problem is to “train” the completion dictionary over time based on the user’s actual selections. So, if a user consistently selects “pizza” in response to completions for “pizz”, it probably makes sense to recommend that as their first suggestion.

Your library should support a select method which takes a substring and the selected suggestion. You will need to record this selection in your trie and use it to influence future selections to make.

Here’s what that interaction model should look like:

Should Bring in Alphabet for Suggestions

Our Trie won’t be very useful without a good dataset to populate it. Our computers ship with a special file containing a list of standard dictionary words. It lives at /usr/share/dict/words

Using the unix utility wc (word count), we can see that the file contains 235886 words:

Front Facing App

See if you can implement a front facing application for your trie. The user should be able to submit a word and then receive the suggestions on the dom.

Single Responsibility

Application is expertly divided into logical components each with a clear, single responsibility

Javascript Style

Application demonstrates excellent knowledge of JavaScript syntax, style, and refactoring

Enumerable Methods

Application consistently makes use of the best-choice Enumerable methods

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.