Skip to content

A prototype for a travel portal (named entity recognition).

Notifications You must be signed in to change notification settings

c-schmidt/Travel-NLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travel-NLP
##########

This project is a prototype for a travel portal.
The idea is to find a start, target and time information
in a given sentence of the german language. The project 
is also part of the course Human-Computer Interaction 
which is part of my study. 

I use named entity recognition which is supported by the
Apache OpenNLP library to make all this possible. 

This project contains also a small REST service 
which is implemented with the PlayMini framework.

Quickstart:

You need SBT 0.11.3.

Linux: 

$./sbt
>run

Windows:

C:\..\nlp>sbt.bat

Request:

* http://localhost:9000/transform?sentence=Zeige mir morgen einen Weg von Schmalkalden nach Nürnberg.

Response:

{
    "startPlaces": [
        "Schmalkalden"
    ],
    "endPlace": [
        "Nürnberg"
    ],
    "time": "morgen",
    "numberOfDays": 1
}

About

A prototype for a travel portal (named entity recognition).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages