Hi Jobin, Thanks for your interest in contributing to OpenNLP!
You’re absolutely right—most existing Python wrappers are either outdated or unmaintained, so this is a valuable idea in general. That said, there has been some work in the sandbox to demonstrate OpenNLP as a gRPC service: https://github.com/apache/opennlp-sandbox/tree/main/opennlp-grpc With this approach, a Python client can be generated (and perhaps also put into pip) to communicate with an OpenNLP server. It might be worth exploring whether extending or improving this setup aligns with your goals. While a native Python wrapper is certainly an option, the gRPC approach in the sandbox is another viable path. I’d love to hear thoughts from others on this as well! WDYT? Gruß Richard > Am 08.03.2025 um 08:53 schrieb Jobin Sabu <85jobins...@gmail.com>: > > Dear OpenNLP Community, > > My name is Jobin Sabu, and I’m a student with a background in Python, > machine learning, and NLP. I’m excited about the opportunity to > participate in Google Summer of Code (GSoC) 2025 with Apache OpenNLP > and contribute to its development. > > I’d like to propose a project idea: developing a Python wrapper for > Apache OpenNLP. The goal is to make OpenNLP’s powerful Java-based NLP > features (e.g., tokenization, sentence detection, named entity > recognition) accessible to Python developers. This wrapper would > bridge Python and Java using libraries like JPype or Py4J, providing a > user-friendly interface and a pip-installable package. > > Here’s an outline of the project: > 1. Implement Python functions that map to OpenNLP’s core features. > 2. Ensure seamless interoperability between Python and Java. > 3. Develop detailed documentation, tutorials, and example scripts. > 4. Write unit tests for robustness and performance benchmarks. > > I believe this project will expand OpenNLP’s usability and attract > more developers from the Python community. I’d love to hear your > feedback on this idea. Does it align with the community’s goals? Are > there any specific areas I should focus on or challenges I should be > aware of? > > Thank you for your time and guidance. I look forward to contributing > to OpenNLP and learning from this amazing > > Best regards, > Jobin Sabu > > 85jobins...@gmail.com