Last change
on this file since 35239 was 35239, checked in by davidb, 3 years ago |
Adding proxy servlet for the Korero Maori Reo Tuhituhi API (initail commit)
|
File size:
640 bytes
|
Line | |
---|
1 | package org.atea.nlptools.koreromaoriinterface.models;
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * Defines the transcription object received from the Reo Tuhituhi API.
|
---|
5 | */
|
---|
6 | public final class TranscriptionResult {
|
---|
7 | private String log;
|
---|
8 | private TranscriptionResultMetadata[] metadata;
|
---|
9 | private String modelVersion;
|
---|
10 | private Boolean success;
|
---|
11 | private String transcription;
|
---|
12 |
|
---|
13 | public String getLog() {
|
---|
14 | return log;
|
---|
15 | }
|
---|
16 |
|
---|
17 | public TranscriptionResultMetadata[] getMetadata() {
|
---|
18 | return metadata;
|
---|
19 | }
|
---|
20 |
|
---|
21 | public String getModelVersion() {
|
---|
22 | return modelVersion;
|
---|
23 | }
|
---|
24 |
|
---|
25 | public Boolean getSuccess() {
|
---|
26 | return success;
|
---|
27 | }
|
---|
28 |
|
---|
29 | public String getTranscription() {
|
---|
30 | return transcription;
|
---|
31 | }
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.