Coder Social home page Coder Social logo

jquizzyva's Introduction

jQuizzyva

While this does not aim to have anywhere near the complete functionality of Zyzzyva, it does aim to provide a relatively simple interface to the Zyzzyva database, allowing for querying and so-on. It will not include cardbox and other such functionality, primarily because I do not use these, but also because that would obligate a layer of persistence and user log-ins.

Server

The interface "serving" the Zyzzyva database will be written in Python, and will be a CGI-based JSON service. Thus, while POST and GET access is available, all the results will be returned as plain JSON.

In future, this may be extended to serve as a JSON-RPC-based server instead, but for the time being this will hopefully suffice.

Interface

The initial interface will be written with jQuery and jQuery UI in mind; these will have access to the information in the database via AJAX, and this information will be presented in a (hopefully) clean manner to the user.

Initial to-do list consists on the following:

  1. "Search" option, using all of the options presented in the current Zyzzyva interface.
  2. "Adjudication" option, providing a similar interface to the current Zyzzyva "Word Judge" interface.
  3. A "Quiz" mode, identical to the current Zyzzyva "Quiz" interface.

The primary lexicon choice will be SOWPODS, via CSW; this data package will not be included in the software for licensing reasons. To generate this database, you will need to install a copy of Zyzzyva and select the lexicon desired; once it has generated, you will find a copy in ~/Zyzzyva, where the lexicon file is ACRONYM.db.

Currently, the software supports all of the lexicons that are generated by the Zyzzyva main executable.

Scripts

A series of 'maintenance' scripts are available within the directory of the same name:

  • 'compact' removes probability and playability columns, compressing the size of the database.
  • 'database' inserts new indexes on alphagrams and hook status; this increases the size of the database, but it does help to improve the speed of Anagram searches.
  • 'consogram' creates a new column for each word of the database, storing the 'consogram' of each word. Similar to alphagrams, these are an alphabetically ordered representation of a word, only grouping consonants together at the start, and vowels together at the end. The idea comes mainly from Barry Harridge's excellent Consograms book.

License

All of the code, where applicable, is licensed under the terms of the MIT License; furhter information on this subject can be found in the COPYING.rst file.

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.