Skip to content

jeopardy is a RESTful classification utility for automatic validation of free text answers in learning systems. It is build on the WEKA NaiveBayes algorithm implementation. The application also uses the Tartarus Snowball stemming algorithm for feature set reduction.

License

Notifications You must be signed in to change notification settings

matana/jeopardy

Repository files navigation

jeopardy

#####Description

jeopardy is a RESTful classification utility for automatic validation of free text answers in learning systems. It is build on the WEKA NaiveBayes algorithm implementation. The application also uses the Tartarus Snowball stemming algorithm for feature set reduction.

#####Prerequisites

#####Building and starting the application via Terminal

To build and run the application you need to excecute the following commands within the root directory of the project...

  • Build the service: mvn clean install -Dmaven.test.skip=true
  • Run the service: java src/main/java/de/uni_koeln/info/Application

#####REST-Interface

The MVC controller containing the two methods bellow is defined in de.uni_koeln.info.controller.RESTfulController

GET http://localhost:8080/validate?questionId=<QUESTION_ID>&text=<ANSWER>

POST http://localhost:8080/train
The training routin of the POST method is build on the following scheme. Here a short excerpt:

"question": {
            "id": 1455,
            "text": "Erläutern Sie, wie es zur Einstellung des chemischen Gleichgewichtes kommt.",
            ...
        },
        "card_data": {
            ...,
            "answer": { // THIS IS THE TOP ANSWER
                ...,
                "text": "Gemäß dem Massenwirkungsgesetz und in Abhängigkeit von der Temperatur ...",
                ...
            },
            "scored_answers": [ // ARRAY OF SCORED ANSWERS, SCORED FROM 1 -3
                {
                    ...,
                    "text": "Im chemischen Gleichgewicht ist die Geschwindigkeit von Hin- und Rückreaktion ...",
                    "score": 3
                },
                { 
                  ...
                }
            ]

#####UML

alt tag

About

jeopardy is a RESTful classification utility for automatic validation of free text answers in learning systems. It is build on the WEKA NaiveBayes algorithm implementation. The application also uses the Tartarus Snowball stemming algorithm for feature set reduction.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages