Package org.speakright.core

Examples of org.speakright.core.RawCGIParams


    return wrap1;   
  }

  SRResults createNBestResults(String input)
  {
    RawCGIParams params = new RawCGIParams();
    params.add("slot1", input);
   
    SRResults results = new SRResults(params);
    return results;
  }   
View Full Code Here


          finish(out, session);
      return false;
    }
       
       
        RawCGIParams rawParams = new RawCGIParams();
        Enumeration paramNames = m_request.getParameterNames();
        while (paramNames.hasMoreElements()) {
          String name = (String) paramNames.nextElement();
          String[] values = m_request.getParameterValues(name);
          for (int i = 0; i < values.length; i++) {
            //out.println("      " + values[i]);
            //I assume most of the time, each param only has one value!
            rawParams.add(name, values[i]);
          }
         }
      
        SRResults results = new SRResults(rawParams);
        run.proceed(results);
View Full Code Here

TOP

Related Classes of org.speakright.core.RawCGIParams

Copyright © 2018 www.massapicom. 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.