quenya-verb: Quenya verb conjugator

[ agpl, language, library, program ] [ Propose Tags ] [ Report a vulnerability ]

Web app that conjugates Quenya verbs. Uses Scotty to provide a RESTful API (but really it's just a single URL you POST to), and React.js for a sleek, web scale, flat, synergistic front end.

Install and run `quenya-verb-server --help` for some more information on running the program.

See http://github.com/kaashif/quenya-verb for more information on building the latest version from source, using the API and so on.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1
Dependencies aeson, base (>=4.6 && <4.8), bytestring, cmdargs, cond, containers, directory, iproute, MissingH, network, quenya-verb, safe, scotty, text, transformers, wai, wai-extra, wai-middleware-static, warp [details]
License AGPL-3.0-only
Copyright Copyright (c) 2015 Kaashif Hymabaccus
Author Kaashif Hymabaccus
Maintainer kaashif@kaashif.co.uk
Category Language
Source repo head: git clone git://github.com/kaashif/quenya-verb.git
Uploaded by kaashif at 2015-04-03T19:46:49Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables quenya-verb-server
Downloads 992 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-04-03 [all 1 reports]

Readme for quenya-verb-0.0.1

[back to package description]

Quenya Verb Conjugator

Build status Hackage I've seen lots of Quenya dictionaries on the internet (a great one is http://elfdict.com), but I haven't seen a Quenya verb conjugator, for people who are far too lazy to actually look up how to conjugate a verb and just want it done.

This program, when run, starts a Warp server, with a RESTful API for conjugating verbs (and adding verbs, in the future).

Still to come

  • More special cases for irregular verbs
  • Fixing some cases where "ë" appears where it should just be "e"

Building

$ git clone git://github.com/kaashif/quenya-verb.git
$ cd quenya-verb
$ cabal sandbox init
$ cabal install

Or, from Hackage:

$ cabal install quenya-verb

Running

$ quenya-verb-server --help
Quenya verb conjugator server v0.0.1

quenya-verb-server [OPTIONS]

Common flags:
  -a --address=ADDRESS  Address to bind to
  -p --port=PORT        Port to bind to
  -c --cwd=DIR          Directory to chdir to before starting server
  -l --logging          Enable logging
  -? --help             Display help message
  -V --version          Print version information
     --numeric-version  Print just the version number

Report bugs to kaashif@kaashif.co.uk

If run with no arguments, the server will chdir to the cabal data directory (where the default index.html is), and will run on http://localhost:8080.

API

It's very simple, just send a POST request to /api/verb with the following in the body:

{
	"stem":"ahya",
	"tense":"aorist",
	"subject":"me",
	"object":"you"
}

And you'll get a response like the following:

{
	"conjugated_verb":"ahyanyet"
}

Contact

Feel free to shoot me an email at kaashif@kaashif.co.uk if you have any queries or want to contribute. Alternatively, submit an issue or pull request.

Copyright (C) 2015 Kaashif Hymabaccus

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.