GithubHelp home page GithubHelp logo

seamusgould / flight Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 9.99 MB

A lightweight implementation of Dr. Fill

Python 40.78% HTML 59.22%
ai crosswords fasttext natural-language-processing xd extreme-text-classification machine-learning mixed-effects-models regex alpha-beta-pruning

flight's Introduction

FLIGHT

A lightweight implementation of Dr. Fill (Fill light).

✈️ Description

FLIGHT is a crossword puzzle solver that is loosely based on the record breaking algorithm Dr. Fill. To learn more about Dr. Fill, you can read the original paper here.

Implementation

To learn more about the implementation, look at the attached read this presentation or read the paper.

The statistics on crossword solvers can be found in the document titled Crosswords.html.

Setup

Requirements

In order to run the program, you must have the following installed:

  • time
  • tqdm
  • numpy
  • argparse
  • copy
  • fastText

Run the program

  • The data is in data/crossword in xd format.
  • One excellent source to gretrieve puzzles is from this library:xword-dl. To learn more about xd formats, visit the following repository Crossword Format which allows users to convert .puz files into .xd files.
  • In order to run the program, you must first add a fasttext model to the data/fasttext folder. To learn more about fasttext, visit FastText. Alternitavely, you can download our pretrained fasttext model, visit the following link: Download

Here is one example of the program running:

$ python3 CheckFoundPuzzle -m ../<model location> -xd ../<board_location> -a .1

Example

This is an example of the program running the United States Today crossword puzzle from January 1, 2017.

The puzzle will be solved with the correct accuracy being printed out grab-landing-page

flight's People

Contributors

seamusgould avatar

Stargazers

 avatar

Watchers

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