Dear Richard

I hope you are doing well.

I have been working on integrating and testing the OpenNLP gRPC service
with the Python client in the opennlp-sandbox-experiments repository. So
far, I have successfully:

   - Set up the OpenNLP gRPC server locally (port 7071)
   - Configured the sentence model (en-sent.bin)
   - Updated and regenerated the proto client files
   - Implemented the client-side sentence service testing
   - Verified server execution and model loading environment

My current repository with the integration work:

 https://github.com/JOBIN-SABU/opennlp-sandbox-experiments

At this stage, the server is running correctly and the client structure is
in place. I would appreciate your guidance on:

   1. Whether the config.properties placement and service configuration
   align with the intended project structure
   2. Any recommended testing endpoints or example requests for validation
   3. Preferred contribution direction for completing the remaining
   integration and documentation

Please let me know if you would like me to adapt the implementation to
match any internal conventions or upcoming changes in the gRPC service.

Thank you for maintaining this project and for your time.

Best regards,
Jobin Sabu

On Tue, 3 Feb, 2026, 10:48 pm Richard Zowalla, <[email protected]> wrote:

> Hi,
>
> You would need to generate the python client yourself from the
> opennlp.proto definition (ideally as part of the build process)
>
> Gruß
> Richard
>
> > Am 03.02.2026 um 10:25 schrieb Jobin Sabu <[email protected]>:
> >
> > Hi Richard,
> >
> > I’m working on the Python gRPC client for OpenNLP and I’m currently stuck
> > at the protobuf stage.
> >
> > Repo:
> > https://github.com/JOBIN-SABU/opennlp-sandbox-experiments
> >
> > Issue:
> > My Python client cannot import opennlp_pb2.
> >
> > Error:
> > ModuleNotFoundError: No module named 'opennlp_client.proto.opennlp_pb2'
> >
> > What I did:
> > • Installed grpcio and grpcio-tools
> > • Installed package in editable mode (pip install -e .)
> > • Added src to Python path
> > • Confirmed proto folder exists
> > • But opennlp_pb2.py is not getting generated correctly
> >
> > I suspect I am misunderstanding how the OpenNLP gRPC proto is meant to be
> > used in Python.
> >
> > Could you clarify:
> > → Should we generate the Python stubs ourselves from opennlp.proto?
> > → Or is there an expected Python client package we should use?
> >
> > Thanks,
> > Jobin
>
>

Reply via email to