Giter VIP home page Giter VIP logo

wordhound's Introduction

License: MIT HitCount Known Vulnerabilities GitHub issues Website Build Status

WordHound

WordHound service is a supporting service for WordHunter project which provides custom dictionary caching with database support. More details on WordHunter project as follows.

Getting Started

To view the meaning of a specific word, enter the word at the provided endpoint. The WordCache DB is the store for all the words and definitions. WordHound learns new words everytime it is being used.

Eg. https://wordhound.niweera.gq/words/hello, will give you the dictionary definition of hello directly from the WordCache DB:

{
  "word": "hello",
  "definition": "used as a greeting or to begin a telephone conversation."
}

Eg. https://wordhound.niweera.gq/words/find/hello, will give you the dictionary definition of hello even if the word is not present in the WordCache DB:

{
  "word": "hello",
  "definition": "used as a greeting or to begin a telephone conversation."
}

Paths

Location Endpoint
Root path https://wordhound.niweera.gq/

HTTP request and query methods

Method Endpoint Query Description Examples
GET /words {word} Give JSON response with the definitions of the {word} directly from the WordCache DB. hello
GET /words/find {word} Use this endpoint if the previous endpoint does not provide any definition. When using this endpoint to get the definition, the WordCache DB learns new words. hello

Related Projects

WordHunter

WordHunter lets you to find the words for the letters you have when you are playing Scrabble.

The following is the basic architecture of the WordHunter application. (The web application will use the WordHunter-api to get the results according to the letters that the user has given.)

Example use case

User wants to find words which can be created from a, o, n, t

The WordHunter service will provide the following results.

  1. nato - North Atlantic Treaty Organization.

(The initial version would only give the words which contains all the letters. Later versions would provide all the letter combinations.)

Meta

Nipuna Weerasekara โ€“ @Niweera โ€“ [email protected]

Distributed under the MIT license. See LICENSE for more information.

The front-end for WordHunter application is in https://github.com/Niweera/wordhunter

The back-end for this application is in wordhunter-api repo.

https://github.com/Niweera/wordhound

This repo is a part of WordHunter project.

WordHunter uses GoogleDict Dictionary API service. Find its repo here.

Contributing

  1. Fork it (https://github.com/Niweera/wordhound/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

wordhound's People

Contributors

niweera avatar

Watchers

 avatar  avatar

Forkers

lgtm-migrator

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.