Changeset 35247
- Timestamp:
- 2021-08-04T10:58:39+12:00 (20 months ago)
- Location:
- gs3-extensions/atea-nlp-tools/trunk/src/koreromaori-proxy
- Files:
-
- 3 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/atea-nlp-tools/trunk/src/koreromaori-proxy/build.xml
r35240 r35247 1 <?xml version="1.0" encoding="UTF-8"?> 2 1 3 <project name="gs3-koreromaori-ext" default="usage" basedir="."> 2 4 <loadproperties prefix="gs3." srcFile="${basedir}/../../../build.properties" /> … … 57 59 <echo message="Creating ${guild.home}/gs3-koreromaori.war" /> 58 60 59 <!-- <copy file="${basedir}/config.properties" todir="${build.classes}" /> 60 <echo message="Copied configuration file" /> --> 61 <copy file="${basedir}/log4j2.xml" todir="${build.classes}" /> 62 61 <!-- <copy file="${basedir}/log4j2.xml" todir="${build.classes}" /> --> 62 63 63 <war destfile="${build.home}/gs3-koreromaori.war" webxml="${web.dir}/WEB-INF/web.xml"> 64 64 <fileset dir="${web.dir}/webContent" includes="**" /> … … 70 70 71 71 <classes dir="${build.classes}" /> 72 73 <webinf dir="${web.dir}/WEB-INF" /> 72 74 </war> 73 75 </target> -
gs3-extensions/atea-nlp-tools/trunk/src/koreromaori-proxy/src/main/java/org/atea/nlptools/koreromaoriinterface/TranscriptionServlet.java
r35242 r35247 63 63 64 64 this.transcriptionService = new ReoTuhituhiApiService(jsonSerialiser, apiEndpoint, apiKey); 65 66 logger.info("Initialised!"); 65 67 } 66 68 -
gs3-extensions/atea-nlp-tools/trunk/src/koreromaori-proxy/src/main/webapp/WEB-INF/web.xml
r35239 r35247 1 <?xml version="1.0" encoding=" ISO-8859-1"?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 3 <!DOCTYPE web-app 4 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 5 "http://java.sun.com/dtd/web-app_2_3.dtd"> 3 <web-app xmlns="http://java.sun.com/xml/ns/javaee" 4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 5 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 6 http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" 7 version="3.0"> 6 8 7 <web-app>8 9 <!-- General description of your web application --> 9 10 <display-name>Korero Maori TTS ASR API Interface</display-name> 10 <display-name>Korero Maori TTS ASR API Proxy</display-name> 11 11 <description> 12 A servlet that hosts a web interface tothe speech-to-text ASR API of https://koreromaori.io/12 A servlet that hosts a proxy for the speech-to-text ASR API of https://koreromaori.io/ 13 13 </description> 14 14 … … 29 29 parameters, including zero. 30 30 --> 31 32 <context-param>33 <param-name>webmaster</param-name>34 <param-value>myaddress@mycompany.com</param-value>35 <description>36 The EMAIL address of the administrator to whom questions37 and comments about this application should be addressed.38 </description>39 </context-param>40 31 41 32 <!-- Servlet definitions for the servlets that make up … … 65 56 66 57 <servlet> 67 <servlet-name>transcribe</servlet-name> 68 <description> 69 This servlet provides a proxy for https://koreromaori.io 's reo Maori speech-to-text ASR API. 70 </description> 58 <servlet-name>koreroMaoriTranscribe</servlet-name> 71 59 <servlet-class>org.atea.nlptools.koreromaoriinterface.TranscriptionServlet</servlet-class> 72 60 <load-on-startup>0</load-on-startup> … … 92 80 93 81 <servlet-mapping> 94 <servlet-name> transcribe</servlet-name>82 <servlet-name>koreroMaoriTranscribe</servlet-name> 95 83 <url-pattern>/transcribe</url-pattern> 96 84 </servlet-mapping>
Note:
See TracChangeset
for help on using the changeset viewer.