-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtts_frontend_service.proto
39 lines (29 loc) · 1.47 KB
/
tts_frontend_service.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright Grammatek ehf.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
import "messages/tts_frontend_message.proto";
import "google/protobuf/empty.proto";
package com.grammatek.tts_frontend;
// Service for text preprocessing for TTS
service TTSFrontend {
// Normalize text for TTS, returns normalized text prepared for g2p
rpc Normalize(NormalizeRequest) returns (NormalizeResponse) {}
// Normalize text for TTS, returns normalized text prepared for g2p as a map of original tokens and normalized tokens
rpc NormalizeTokenwise(NormalizeRequest) returns (TokenBasedNormalizedResponse) {}
// Preprocess text for TTS, including conversion to phonetic representation (g2p)
rpc TTSPreprocess(PreprocessRequest) returns (PreprocessedResponse) {}
// Default values for the phoneme description
rpc GetDefaultPhonemeDescription(google.protobuf.Empty) returns (PhonemeDescription) {}
rpc GetVersion(google.protobuf.Empty) returns (AbiVersionResponse) {}
}