Proto commits in google-research/mozolm

These 39 commits are when the Protocol Buffers files have changed:

Commit:2a2694e
Author:MozoLM Developers
Committer:Copybara-Service

Make TropicalWeight constructor explicit PiperOrigin-RevId: 875203084

The documentation is generated from this commit.

Commit:db33457
Author:MozoLM Developers
Committer:Copybara-Service

No public description PiperOrigin-RevId: 782731804

Commit:bb4fd3e
Author:MozoLM Developers
Committer:Copybara-Service

No public description PiperOrigin-RevId: 613704551

Commit:5ce732d
Author:Alexander Gutkin
Committer:Copybara-Service

Remove pull request blocking action. PiperOrigin-RevId: 520936206

Commit:5e36a18
Author:Brian Roark
Committer:Copybara-Service

Adds Bayesian interpolation method for mixing multiple LMs. PiperOrigin-RevId: 424484631

Commit:3164b29
Author:Alexander Gutkin
Committer:Copybara-Service

Refreshing gRPC and gRPC Java. PiperOrigin-RevId: 424125786

Commit:9f4f800
Author:Alexander Gutkin
Committer:Copybara-Service

Making sure the states are representing uniformly as int64. PiperOrigin-RevId: 402268106

Commit:839f51b
Author:Alexander Gutkin
Committer:Copybara-Service

Placating Java protobuf compiler to avoid warnings like the following: [libprotobuf WARNING external/com_google_protobuf/src/google/protobuf/compiler/java/java_file.cc:232] mozolm/models/ngram_word_fst_options.proto: The file's outer class name, "NgramWordFstOptions", matches the name of one of the types declared inside it when case is ignored. This can cause compilation issues on Windows / MacOS. Please either rename the type or use the java_outer_classname option to specify a different outer class name for the .proto file to be safe. PiperOrigin-RevId: 375961801

Commit:f0ed03e
Author:Alexander Gutkin
Committer:Copybara-Service

Renaming all the SSL types, fields and variables to be TLS since SSL has been deprecated by TLS. Note: Internally, the gRPC APIs still use SSL naming everywhere, while some of the TLS-specific code is under experimental::. PiperOrigin-RevId: 375776698

Commit:71db34f
Author:Brian Roark
Committer:Copybara-Service

For word-based n-gram models serving character probabilities. PiperOrigin-RevId: 375533539

Commit:f292e65
Author:Alexander Gutkin
Committer:Copybara-Service

Authentication using SSL/TLS credentials. Part 3 of 3: Client-side. This introduces mutual authentication via central authority (CA) certificates. Also: a minor change reducing the tautologous `ssl_config` in Config for both client and server. Renamed to simply `ssl`. PiperOrigin-RevId: 375099059

Commit:bf8dd25
Author:Alexander Gutkin
Committer:Copybara-Service

Authentication using SSL/TLS credentials. Part 2 of 3: Client-side. Please note: This change implements the first (more permissive) of the two available SSL/TLS authentications (GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE): The channel is encrypted but the certificate presented by the client is not checked by the server at all. PiperOrigin-RevId: 374979027

Commit:e183352
Author:Alexander Gutkin
Committer:Copybara-Service

Minor cosmetic change: Removing reliance of the server impl code on absl::flags. Moving the asynchronous handler pool size flag to _main where it belongs. Also adding it to the configuration. PiperOrigin-RevId: 374790797

Commit:136e4ee
Author:Alexander Gutkin
Committer:Copybara-Service

Authentication using SSL/TLS credentials. Part 1: Server-side. Also: * Extending file utilities. * gRPC initialization errors are now acted upon. * The insecure credentials are now the default: This simplifies the examples. * Minor refactoring of server configuration. * Bumping Android NDK version to the latest stable `r22b`: version `22.1.7171670` PiperOrigin-RevId: 374744879

Commit:ccaf7b5
Author:Alexander Gutkin
Committer:Copybara-Service

Documented the use of Unix sockets. PiperOrigin-RevId: 374532482

Commit:2cb417e
Author:Alexander Gutkin
Committer:Copybara-Service

Rename the PPM options proto file to match the name of contained proto. PiperOrigin-RevId: 374321857

Commit:6dbe86c
Author:Alexander Gutkin
Committer:Copybara-Service

Explicitly specify the units for the timeout. For the corresponding command-line flag this is probably not necessary because the units are already specified by the help message. PiperOrigin-RevId: 373715092

Commit:9a5422a
Author:Alexander Gutkin
Committer:Copybara-Service

Change the name of the server configuration field from `port` to `address_uri` to better reflect its semantics. From gRPC [documentation](https://grpc.github.io/grpc/cpp/classgrpc_1_1_server_builder.html): > The address to try to bind to the server in URI form. If the scheme name is > omitted, "dns:///" is assumed. To bind to any address, please use IPv6 any, > i.e., [::]:<port>, which also accepts IPv4 connections. Valid values include > `dns:///localhost:1234`, `/ 192.168.1.1:31416`, `dns:///[::1]:27182`, etc.). PiperOrigin-RevId: 373602400

Commit:e2355d1
Author:Alexander Gutkin
Committer:Copybara-Service

Complete the loop for the `wait_for_clients` configuration setting. This was needed for implementing a simple unit test for the server initialization. Also, disabling the Windows cache (yet again): This time the cache gets generated and hit correctly, but its contents cannot be restored by actions because tar misbehaves refusing to create symbolic links. To be investigated later. PiperOrigin-RevId: 373580428

Commit:7036c68
Author:Alexander Gutkin
Committer:Copybara-Service

Splitting client_server configuration proto into two separate messages. This change introduces two separate configuration protos - one for the server and one for the client. The server configuration knows nothing about its clients, while the client config subsumes server configuration. Updated the examples accordingly. PiperOrigin-RevId: 373046437

Commit:b82fe13
Author:Alexander Gutkin
Committer:Copybara-Service

Renaming the service proto from "MozoLMServer" to "MozoLMService" because it generates the stubs for for the client as well. No functional changes. Jeremy (@jcope), can you please update your Redash feature branch https://github.com/dasher-project/redash/tree/mozolm-grpc-web. PiperOrigin-RevId: 372727050

Commit:5498a05
Author:Alexander Gutkin
Committer:Copybara-Service

Simple read-only char n-gram FST model. Initial revision. Also, added some helper methods to the language model base. PiperOrigin-RevId: 371785474

Commit:34594bf
Author:Alexander Gutkin
Committer:Copybara-Service

Adding simple Java client demonstrating the use of MozoLM service API. PiperOrigin-RevId: 371315734

Commit:d00b78b
Author:Alexander Gutkin
Committer:Copybara-Service

Renaming the OpenGrm NGram model to be simply ngram_char_fst. PiperOrigin-RevId: 370789458

Commit:d658d78
Author:Alexander Gutkin
Committer:Copybara-Service

Explicitly set Java outer class name to placate the protobuf compiler warning. PiperOrigin-RevId: 368724027

Commit:0e615c2
Author:Brian Roark
Committer:Copybara-Service

Creates language model hub for ensembling of models if required. PiperOrigin-RevId: 366112730

Commit:ac2b5de
Author:Brian Roark
Committer:Copybara-Service

Adds bit-per-character calculation to set of client result options in binary command-line utility. Also adds options to the ClientConfig proto, to simplify handling of flags. PiperOrigin-RevId: 363980866

Commit:22a395d
Author:Brian Roark
Committer:Copybara-Service

Internal change PiperOrigin-RevId: 363543178

Commit:4553e78
Author:Brian Roark
Committer:Copybara-Service

Internal change PiperOrigin-RevId: 361043582

Commit:fd7b47a
Author:Brian Roark
Committer:Copybara-Service

Internal change PiperOrigin-RevId: 360425904

Commit:1568cf6
Author:Alexander Gutkin
Committer:Copybara-Service

Cosmetic change. PiperOrigin-RevId: 350785190

Commit:26ce15a
Author:Alexander Gutkin
Committer:Copybara-Service

Decoupling the concrete LM implementations from the server code. PiperOrigin-RevId: 344900289

Commit:b33bd03
Author:Alexander Gutkin
Committer:Copybara-Service

Moving gRPC-related APIs under its own directory. PiperOrigin-RevId: 344451039

Commit:7ef2f3e
Author:Alexander Gutkin
Committer:Copybara-Service

Moving language modeling interface to its own directory and splitting the big proto into service and LM-specific parts. PiperOrigin-RevId: 344438112

Commit:bd88bba
Author:Alexander Gutkin
Committer:Alexander Gutkin

License header changes. PiperOrigin-RevId: 343526545

Commit:7b2f764
Author:Alexander Gutkin
Committer:Alexander Gutkin

Internal change PiperOrigin-RevId: 343109858

Commit:831ac27
Author:Brian Roark
Committer:Alexander Gutkin

Moving code and data into subdirectory for correct copybara processing. PiperOrigin-RevId: 340928262

Commit:85f48c8
Author:Brian Roark
Committer:Alexander Gutkin

Initial creation of mozolm library for client/server language modeling. Included bazel files from git-on-borg code, and converted to work with BUILD rather than BUILD.bazel. copy.bara.sky is a placeholder for now and README.md just a stub. PiperOrigin-RevId: 328376822

Commit:9a7b307
Author:Alexander Gutkin

Initial import.