Giter VIP home page Giter VIP logo

conndict's Introduction

conndict

conndict is short for connected dictionaries.

Background

This project attempts to answer this question:

Starting from one word in the dictionary, you may look up any word that occurs in that word's definition (and so on, recursively). What word should you begin with to learn the most words?

This is evidently a graph traversal problem where words are vertices and some word w being in the definition of another word m implies a connection m -> w. Then we can answer this question with any graph traversal algorithm.

What I currently have

I got an API key from Merriam-Webster for looking up definitions and figured out how to parse their results. I then wrote a simple web page where you can start with any word and click to expand words in its definition to explore the graph manually. This can get pretty big pretty quickly.

For running it:

  1. Get an API key here and put it in secrets.go
  2. go build
  3. ./conndict -serve
  4. Navigate to localhost:8000/view/[your starting word here]

This is a lot of fun and really cool to look at, but it doesn't really answer the original question.

What I want to do

I want to know what the answer to the original question is. This will probably entail dynamically building my own database of definitions (since Merriam-Webster is slow). There's a lot of storage commitment, then writing the code, and then letting that code run for however long it needs.

Since each query to Merriam-Webster takes about 1 second, and a baseline estimate for words in English is 171,000, running the program alone could take anywhere between two days and two weeks.

conndict's People

Contributors

spencer-p avatar

Watchers

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