OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OpenTrep Documentation

Getting Started

OpenTrep at SourceForge

OpenTrep Development

External Libraries

Support OpenTrep

About OpenTrep

OpenTrep aims at providing a clean API, and the corresponding C++ implementation, for parsing travel-focused requests (e.g., "washington dc beijing monday a/r +aa -ua 1 week 2 adults 1 dog"). N

OpenTrep uses Xapian for the Information Retrieval part, on freely available travel-related data (e.g., country names and codes, city names and codes, airline names and codes, etc.).

OpenTrep exposes a simple, clean and object-oriented, API. For instance, the static Parse() method takes, as input, a string containing the travel request, and yields, as output, the list of the recognised terms as well as their corresponding types. As an example, the travel request "washington dc beijing monday a/r +aa -ua 1 week 2 adults 1 dog" would give the following list: Origin airport: Washington, DC, USA Destination airport: Beijing, China Date of travel: next Monday Date of return: 1 week after next Monday Preferred airline: American Airlines; non-preferred airline: United Airlines Number of travellers: 2 adults and a dog

The output can then be used by other systems, for instance to book the corresponding travel or to visualise it on a map and calendar and to share it with others.

OpenTrep makes an extensive use of existing open-source libraries for increased functionality, speed and accuracy. In particular the Boost (C++ Standard Extensions: library is used.

The OpenTrep library originates from the department of Operational Research and Innovation at Amadeus, Sophia Antipolis, France. OpenTrep is released under the terms of the GNU Lesser General Public License (LGPLv2.1) for you to enjoy.

OpenTrep should work on GNU/Linux, Sun Solaris, Microsoft Windows (with Cygwin, MinGW/MSYS, or Microsoft Visual C++ .NET) and Mac OS X operating systems.

(N) - The OpenTrep library is NOT intended, in any way, to be used for production systems. If you want to report issue, bug or feature request, or if you just want to give feedback, have a look on the right-hand side of this page for the preferred reporting methods. In any case, please do not contact Amadeus directly for any matter related to OpenTrep.