Package synalp.generation.server

Examples of synalp.generation.server.GeneratorServer.start()


  public void testServer()
  {
    ResourceBundle bundle = ResourcesBundleType.MINIMAL_BUNDLE.getBundle();
    Generator generator = new JeniGenerator(bundle);
    GeneratorServer server = new GeneratorServer(generator, bundle, 2000);
    server.start();

    Gson gson = new Gson();
    JsonObject request = new JsonObject();
    request.addProperty("request", "generate_for_input");
    request.addProperty("sem", "sleep(e a) bill(a)");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.