MyNixOS website logo
Description

Quenya verb conjugator.

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.

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 [email protected]

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 [email protected] if you have any queries or want to contribute. Alternatively, submit an issue or pull request.

Copyright Notice

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

Metadata

Version

0.0.1

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows