Giter Club home page Giter Club logo

ltltalk-backend's Introduction

SEMPRE INTERACTIVE - LTLTalk: Semantic Parsing with Execution, modified for usage in robotic world

(based on original interactive sempre repository https://github.com/sidaw/sempre-interactive)

The other two parts of LTLTalk are

Installation

Requirements

You must have the following already installed on your system.

  • Java 8 (not 7)
  • Ant 1.8.2
  • Ruby 1.8.7 or 1.9
  • wget

Other dependencies will be downloaded as you need them. SEMPRE has been tested on Ubuntu Linux 16.04, Debian 8, and MacOS X. Your mileage will vary depending on how similar your system is.

Easy setup

  1. Clone this GitHub repository:

     git clone https://github.com/mpi-sws-rse/sempre-interactive-flipper.git (https)
     git clone [email protected]:mpi-sws-rse/sempre-interactive-flipper.git (ssh)
    
  2. Download the minimal core dependencies (all dependencies will be placed in lib):

     ./pull-dependencies core
    
  3. Compile the source code (this produces libsempre/sempre-core.jar):

     ant interactive
    
  4. Run server (defaults to port 8410):

     ./interactive/run @mode=ltltalk
    

The command should execute, display some information about the grammar, and wait for input from the browser client (server can be stopped with Ctrl+D.

General Troubleshooting

Here are some general tips for troubleshooting:

  • If the browser client is acting weirdly
    • Pull the newest version for the repository (no need to restart yarn)
    • On the panel on the right side, press Clear
  • If the code does not compile or immediately fails at runtime
    • Pull newest version of the code
    • Run ant clean and then ant interactive
  • If the server throws an error during use with the browser client
    • Open an issue detailing the server-side error and the client-side input
  • If all previously learned rules have to be forgotten, one can clean the file sempre-interactive/int-output/grammar.log.json

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.