JOBIN-SABU opened a new pull request, #465:
URL: https://github.com/apache/opennlp-sandbox/pull/465

   This PR updates the Python sentence detection example for the OpenNLP gRPC 
examples module.
   Changes made
   Fixed example client execution flow
   Improved model discovery handling in the example
   Added clearer output messages for connection/model availability states
   Improved readability and consistency with other example clients
   Ensured example works cleanly with running OpenNLP gRPC server on default 
local configuration
   Why
   The previous example could fail silently or provide unclear feedback when:
   no models were available on the server
   the server was unreachable
   model selection/discovery failed
   This update makes the example easier to run and debug for contributors and 
users testing the Python gRPC integration.
   Validation
   Tested locally with:
   Java 21
   Python gRPC client
   OpenNLP gRPC server running on port 7071
   Verified:
   successful connection to server
   model discovery
   sentence detection request execution
   readable output for failure/success cases


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to