public class RemoteSynthesizer extends SynthesizeServerGrpc.SynthesizeServerImplBase
Constructor and Description |
---|
RemoteSynthesizer() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
protected List<String> |
synthesize(String languageCode,
AnalyzedTokenReadings atrs,
boolean postagRegexp,
String postagSelect,
String postagReplace,
String lemmaReplace) |
protected List<String> |
synthesize(String languageCode,
String lemma,
String postag,
boolean postagRegexp) |
void |
synthesize(Synthesizer.SynthesizeRequest request,
io.grpc.stub.StreamObserver<Synthesizer.SynthesizeResponse> responseObserver) |
bindService
protected List<String> synthesize(String languageCode, String lemma, String postag, boolean postagRegexp) throws IOException
IOException
protected List<String> synthesize(String languageCode, AnalyzedTokenReadings atrs, boolean postagRegexp, String postagSelect, String postagReplace, String lemmaReplace) throws IOException
IOException
public void synthesize(Synthesizer.SynthesizeRequest request, io.grpc.stub.StreamObserver<Synthesizer.SynthesizeResponse> responseObserver)
synthesize
in class SynthesizeServerGrpc.SynthesizeServerImplBase
public static void main(String[] args) throws IOException, InterruptedException
IOException
InterruptedException